@ozdao/prometheus-framework 0.2.197 → 0.2.199

Sign up to get free protection for your applications and to get access to all the features.
Files changed (417) hide show
  1. package/dist/builder.js +3 -10
  2. package/dist/builder.mjs +3 -10
  3. package/dist/events.server.js +1 -1
  4. package/dist/events.server.mjs +1 -1
  5. package/dist/node_modules/@googlemaps/js-api-loader/dist/index.cjs +1 -1
  6. package/dist/node_modules/@googlemaps/js-api-loader/dist/index.js +21 -20
  7. package/dist/node_modules/@vuepic/vue-datepicker/dist/vue-datepicker.cjs +1 -0
  8. package/dist/node_modules/@vuepic/vue-datepicker/dist/vue-datepicker.js +5042 -0
  9. package/dist/node_modules/date-fns/_lib/addLeadingZeros.cjs +1 -0
  10. package/dist/node_modules/date-fns/_lib/addLeadingZeros.js +7 -0
  11. package/dist/node_modules/date-fns/_lib/defaultOptions.cjs +1 -0
  12. package/dist/node_modules/date-fns/_lib/defaultOptions.js +7 -0
  13. package/dist/node_modules/date-fns/_lib/format/formatters.cjs +1 -0
  14. package/dist/node_modules/date-fns/_lib/format/formatters.js +518 -0
  15. package/dist/node_modules/date-fns/_lib/format/lightFormatters.cjs +1 -0
  16. package/dist/node_modules/date-fns/_lib/format/lightFormatters.js +59 -0
  17. package/dist/node_modules/date-fns/_lib/format/longFormatters.cjs +1 -0
  18. package/dist/node_modules/date-fns/_lib/format/longFormatters.js +52 -0
  19. package/dist/node_modules/date-fns/_lib/getTimezoneOffsetInMilliseconds.cjs +1 -0
  20. package/dist/node_modules/date-fns/_lib/getTimezoneOffsetInMilliseconds.js +18 -0
  21. package/dist/node_modules/date-fns/_lib/protectedTokens.cjs +1 -0
  22. package/dist/node_modules/date-fns/_lib/protectedTokens.js +20 -0
  23. package/dist/node_modules/date-fns/add.cjs +1 -0
  24. package/dist/node_modules/date-fns/add.js +20 -0
  25. package/dist/node_modules/date-fns/addDays.cjs +1 -0
  26. package/dist/node_modules/date-fns/addDays.js +10 -0
  27. package/dist/node_modules/date-fns/addHours.cjs +1 -0
  28. package/dist/node_modules/date-fns/addHours.js +9 -0
  29. package/dist/node_modules/date-fns/addMilliseconds.cjs +1 -0
  30. package/dist/node_modules/date-fns/addMilliseconds.js +10 -0
  31. package/dist/node_modules/date-fns/addMonths.cjs +1 -0
  32. package/dist/node_modules/date-fns/addMonths.js +20 -0
  33. package/dist/node_modules/date-fns/addQuarters.cjs +1 -0
  34. package/dist/node_modules/date-fns/addQuarters.js +9 -0
  35. package/dist/node_modules/date-fns/addYears.cjs +1 -0
  36. package/dist/node_modules/date-fns/addYears.js +8 -0
  37. package/dist/node_modules/date-fns/compareAsc.cjs +1 -0
  38. package/dist/node_modules/date-fns/compareAsc.js +9 -0
  39. package/dist/node_modules/date-fns/constants.cjs +1 -0
  40. package/dist/node_modules/date-fns/constants.js +8 -0
  41. package/dist/node_modules/date-fns/constructFrom.cjs +1 -0
  42. package/dist/node_modules/date-fns/constructFrom.js +7 -0
  43. package/dist/node_modules/date-fns/differenceInCalendarDays.cjs +1 -0
  44. package/dist/node_modules/date-fns/differenceInCalendarDays.js +11 -0
  45. package/dist/node_modules/date-fns/differenceInCalendarYears.cjs +1 -0
  46. package/dist/node_modules/date-fns/differenceInCalendarYears.js +9 -0
  47. package/dist/node_modules/date-fns/differenceInYears.cjs +1 -0
  48. package/dist/node_modules/date-fns/differenceInYears.js +13 -0
  49. package/dist/node_modules/date-fns/eachDayOfInterval.cjs +1 -0
  50. package/dist/node_modules/date-fns/eachDayOfInterval.js +16 -0
  51. package/dist/node_modules/date-fns/eachQuarterOfInterval.cjs +1 -0
  52. package/dist/node_modules/date-fns/eachQuarterOfInterval.js +17 -0
  53. package/dist/node_modules/date-fns/endOfQuarter.cjs +1 -0
  54. package/dist/node_modules/date-fns/endOfQuarter.js +9 -0
  55. package/dist/node_modules/date-fns/endOfWeek.cjs +1 -0
  56. package/dist/node_modules/date-fns/endOfWeek.js +11 -0
  57. package/dist/node_modules/date-fns/endOfYear.cjs +1 -0
  58. package/dist/node_modules/date-fns/endOfYear.js +9 -0
  59. package/dist/node_modules/date-fns/format.cjs +1 -0
  60. package/dist/node_modules/date-fns/format.js +59 -0
  61. package/dist/node_modules/date-fns/getDay.cjs +1 -0
  62. package/dist/node_modules/date-fns/getDay.js +8 -0
  63. package/dist/node_modules/date-fns/getDayOfYear.cjs +1 -0
  64. package/dist/node_modules/date-fns/getDayOfYear.js +11 -0
  65. package/dist/node_modules/date-fns/getDaysInMonth.cjs +1 -0
  66. package/dist/node_modules/date-fns/getDaysInMonth.js +10 -0
  67. package/dist/node_modules/date-fns/getDefaultOptions.cjs +1 -0
  68. package/dist/node_modules/date-fns/getDefaultOptions.js +8 -0
  69. package/dist/node_modules/date-fns/getHours.cjs +1 -0
  70. package/dist/node_modules/date-fns/getHours.js +8 -0
  71. package/dist/node_modules/date-fns/getISODay.cjs +1 -0
  72. package/dist/node_modules/date-fns/getISODay.js +9 -0
  73. package/dist/node_modules/date-fns/getISOWeek.cjs +1 -0
  74. package/dist/node_modules/date-fns/getISOWeek.js +12 -0
  75. package/dist/node_modules/date-fns/getISOWeekYear.cjs +1 -0
  76. package/dist/node_modules/date-fns/getISOWeekYear.js +15 -0
  77. package/dist/node_modules/date-fns/getMinutes.cjs +1 -0
  78. package/dist/node_modules/date-fns/getMinutes.js +8 -0
  79. package/dist/node_modules/date-fns/getMonth.cjs +1 -0
  80. package/dist/node_modules/date-fns/getMonth.js +8 -0
  81. package/dist/node_modules/date-fns/getQuarter.cjs +1 -0
  82. package/dist/node_modules/date-fns/getQuarter.js +9 -0
  83. package/dist/node_modules/date-fns/getSeconds.cjs +1 -0
  84. package/dist/node_modules/date-fns/getSeconds.js +8 -0
  85. package/dist/node_modules/date-fns/getWeek.cjs +1 -0
  86. package/dist/node_modules/date-fns/getWeek.js +12 -0
  87. package/dist/node_modules/date-fns/getWeekYear.cjs +1 -0
  88. package/dist/node_modules/date-fns/getWeekYear.js +17 -0
  89. package/dist/node_modules/date-fns/getYear.cjs +1 -0
  90. package/dist/node_modules/date-fns/getYear.js +8 -0
  91. package/dist/node_modules/date-fns/isAfter.cjs +1 -0
  92. package/dist/node_modules/date-fns/isAfter.js +9 -0
  93. package/dist/node_modules/date-fns/isBefore.cjs +1 -0
  94. package/dist/node_modules/date-fns/isBefore.js +9 -0
  95. package/dist/node_modules/date-fns/isDate.cjs +1 -0
  96. package/dist/node_modules/date-fns/isDate.js +7 -0
  97. package/dist/node_modules/date-fns/isEqual.cjs +1 -0
  98. package/dist/node_modules/date-fns/isEqual.js +9 -0
  99. package/dist/node_modules/date-fns/isSameQuarter.cjs +1 -0
  100. package/dist/node_modules/date-fns/isSameQuarter.js +9 -0
  101. package/dist/node_modules/date-fns/isValid.cjs +1 -0
  102. package/dist/node_modules/date-fns/isValid.js +12 -0
  103. package/dist/node_modules/date-fns/locale/_lib/buildFormatLongFn.cjs +1 -0
  104. package/dist/node_modules/date-fns/locale/_lib/buildFormatLongFn.js +9 -0
  105. package/dist/node_modules/date-fns/locale/_lib/buildLocalizeFn.cjs +1 -0
  106. package/dist/node_modules/date-fns/locale/_lib/buildLocalizeFn.js +18 -0
  107. package/dist/node_modules/date-fns/locale/_lib/buildMatchFn.cjs +1 -0
  108. package/dist/node_modules/date-fns/locale/_lib/buildMatchFn.js +31 -0
  109. package/dist/node_modules/date-fns/locale/_lib/buildMatchPatternFn.cjs +1 -0
  110. package/dist/node_modules/date-fns/locale/_lib/buildMatchPatternFn.js +15 -0
  111. package/dist/node_modules/date-fns/locale/en-US/_lib/formatDistance.cjs +1 -0
  112. package/dist/node_modules/date-fns/locale/en-US/_lib/formatDistance.js +70 -0
  113. package/dist/node_modules/date-fns/locale/en-US/_lib/formatLong.cjs +1 -0
  114. package/dist/node_modules/date-fns/locale/en-US/_lib/formatLong.js +33 -0
  115. package/dist/node_modules/date-fns/locale/en-US/_lib/formatRelative.cjs +1 -0
  116. package/dist/node_modules/date-fns/locale/en-US/_lib/formatRelative.js +11 -0
  117. package/dist/node_modules/date-fns/locale/en-US/_lib/localize.cjs +1 -0
  118. package/dist/node_modules/date-fns/locale/en-US/_lib/localize.js +155 -0
  119. package/dist/node_modules/date-fns/locale/en-US/_lib/match.cjs +1 -0
  120. package/dist/node_modules/date-fns/locale/en-US/_lib/match.js +110 -0
  121. package/dist/node_modules/date-fns/locale/en-US.cjs +1 -0
  122. package/dist/node_modules/date-fns/locale/en-US.js +21 -0
  123. package/dist/node_modules/date-fns/parse/_lib/Parser.cjs +1 -0
  124. package/dist/node_modules/date-fns/parse/_lib/Parser.js +22 -0
  125. package/dist/node_modules/date-fns/parse/_lib/Setter.cjs +1 -0
  126. package/dist/node_modules/date-fns/parse/_lib/Setter.js +40 -0
  127. package/dist/node_modules/date-fns/parse/_lib/constants.cjs +1 -0
  128. package/dist/node_modules/date-fns/parse/_lib/constants.js +49 -0
  129. package/dist/node_modules/date-fns/parse/_lib/parsers/AMPMMidnightParser.cjs +1 -0
  130. package/dist/node_modules/date-fns/parse/_lib/parsers/AMPMMidnightParser.js +49 -0
  131. package/dist/node_modules/date-fns/parse/_lib/parsers/AMPMParser.cjs +1 -0
  132. package/dist/node_modules/date-fns/parse/_lib/parsers/AMPMParser.js +49 -0
  133. package/dist/node_modules/date-fns/parse/_lib/parsers/DateParser.cjs +1 -0
  134. package/dist/node_modules/date-fns/parse/_lib/parsers/DateParser.js +61 -0
  135. package/dist/node_modules/date-fns/parse/_lib/parsers/DayOfYearParser.cjs +1 -0
  136. package/dist/node_modules/date-fns/parse/_lib/parsers/DayOfYearParser.js +51 -0
  137. package/dist/node_modules/date-fns/parse/_lib/parsers/DayParser.cjs +1 -0
  138. package/dist/node_modules/date-fns/parse/_lib/parsers/DayParser.js +45 -0
  139. package/dist/node_modules/date-fns/parse/_lib/parsers/DayPeriodParser.cjs +1 -0
  140. package/dist/node_modules/date-fns/parse/_lib/parsers/DayPeriodParser.js +49 -0
  141. package/dist/node_modules/date-fns/parse/_lib/parsers/EraParser.cjs +1 -0
  142. package/dist/node_modules/date-fns/parse/_lib/parsers/EraParser.js +30 -0
  143. package/dist/node_modules/date-fns/parse/_lib/parsers/ExtendedYearParser.cjs +1 -0
  144. package/dist/node_modules/date-fns/parse/_lib/parsers/ExtendedYearParser.js +21 -0
  145. package/dist/node_modules/date-fns/parse/_lib/parsers/FractionOfSecondParser.cjs +1 -0
  146. package/dist/node_modules/date-fns/parse/_lib/parsers/FractionOfSecondParser.js +22 -0
  147. package/dist/node_modules/date-fns/parse/_lib/parsers/Hour0To11Parser.cjs +1 -0
  148. package/dist/node_modules/date-fns/parse/_lib/parsers/Hour0To11Parser.js +32 -0
  149. package/dist/node_modules/date-fns/parse/_lib/parsers/Hour0to23Parser.cjs +1 -0
  150. package/dist/node_modules/date-fns/parse/_lib/parsers/Hour0to23Parser.js +32 -0
  151. package/dist/node_modules/date-fns/parse/_lib/parsers/Hour1To24Parser.cjs +1 -0
  152. package/dist/node_modules/date-fns/parse/_lib/parsers/Hour1To24Parser.js +33 -0
  153. package/dist/node_modules/date-fns/parse/_lib/parsers/Hour1to12Parser.cjs +1 -0
  154. package/dist/node_modules/date-fns/parse/_lib/parsers/Hour1to12Parser.js +33 -0
  155. package/dist/node_modules/date-fns/parse/_lib/parsers/ISODayParser.cjs +1 -0
  156. package/dist/node_modules/date-fns/parse/_lib/parsers/ISODayParser.js +99 -0
  157. package/dist/node_modules/date-fns/parse/_lib/parsers/ISOTimezoneParser.cjs +1 -0
  158. package/dist/node_modules/date-fns/parse/_lib/parsers/ISOTimezoneParser.js +48 -0
  159. package/dist/node_modules/date-fns/parse/_lib/parsers/ISOTimezoneWithZParser.cjs +1 -0
  160. package/dist/node_modules/date-fns/parse/_lib/parsers/ISOTimezoneWithZParser.js +48 -0
  161. package/dist/node_modules/date-fns/parse/_lib/parsers/ISOWeekParser.cjs +1 -0
  162. package/dist/node_modules/date-fns/parse/_lib/parsers/ISOWeekParser.js +49 -0
  163. package/dist/node_modules/date-fns/parse/_lib/parsers/ISOWeekYearParser.cjs +1 -0
  164. package/dist/node_modules/date-fns/parse/_lib/parsers/ISOWeekYearParser.js +40 -0
  165. package/dist/node_modules/date-fns/parse/_lib/parsers/LocalDayParser.cjs +1 -0
  166. package/dist/node_modules/date-fns/parse/_lib/parsers/LocalDayParser.js +74 -0
  167. package/dist/node_modules/date-fns/parse/_lib/parsers/LocalWeekParser.cjs +1 -0
  168. package/dist/node_modules/date-fns/parse/_lib/parsers/LocalWeekParser.js +48 -0
  169. package/dist/node_modules/date-fns/parse/_lib/parsers/LocalWeekYearParser.cjs +1 -0
  170. package/dist/node_modules/date-fns/parse/_lib/parsers/LocalWeekYearParser.js +69 -0
  171. package/dist/node_modules/date-fns/parse/_lib/parsers/MinuteParser.cjs +1 -0
  172. package/dist/node_modules/date-fns/parse/_lib/parsers/MinuteParser.js +32 -0
  173. package/dist/node_modules/date-fns/parse/_lib/parsers/MonthParser.cjs +1 -0
  174. package/dist/node_modules/date-fns/parse/_lib/parsers/MonthParser.js +71 -0
  175. package/dist/node_modules/date-fns/parse/_lib/parsers/QuarterParser.cjs +1 -0
  176. package/dist/node_modules/date-fns/parse/_lib/parsers/QuarterParser.js +70 -0
  177. package/dist/node_modules/date-fns/parse/_lib/parsers/SecondParser.cjs +1 -0
  178. package/dist/node_modules/date-fns/parse/_lib/parsers/SecondParser.js +32 -0
  179. package/dist/node_modules/date-fns/parse/_lib/parsers/StandAloneLocalDayParser.cjs +1 -0
  180. package/dist/node_modules/date-fns/parse/_lib/parsers/StandAloneLocalDayParser.js +74 -0
  181. package/dist/node_modules/date-fns/parse/_lib/parsers/StandAloneMonthParser.cjs +1 -0
  182. package/dist/node_modules/date-fns/parse/_lib/parsers/StandAloneMonthParser.js +71 -0
  183. package/dist/node_modules/date-fns/parse/_lib/parsers/StandAloneQuarterParser.cjs +1 -0
  184. package/dist/node_modules/date-fns/parse/_lib/parsers/StandAloneQuarterParser.js +70 -0
  185. package/dist/node_modules/date-fns/parse/_lib/parsers/TimestampMillisecondsParser.cjs +1 -0
  186. package/dist/node_modules/date-fns/parse/_lib/parsers/TimestampMillisecondsParser.js +22 -0
  187. package/dist/node_modules/date-fns/parse/_lib/parsers/TimestampSecondsParser.cjs +1 -0
  188. package/dist/node_modules/date-fns/parse/_lib/parsers/TimestampSecondsParser.js +22 -0
  189. package/dist/node_modules/date-fns/parse/_lib/parsers/YearParser.cjs +1 -0
  190. package/dist/node_modules/date-fns/parse/_lib/parsers/YearParser.js +49 -0
  191. package/dist/node_modules/date-fns/parse/_lib/parsers.cjs +1 -0
  192. package/dist/node_modules/date-fns/parse/_lib/parsers.js +67 -0
  193. package/dist/node_modules/date-fns/parse/_lib/utils.cjs +1 -0
  194. package/dist/node_modules/date-fns/parse/_lib/utils.js +103 -0
  195. package/dist/node_modules/date-fns/parse.cjs +1 -0
  196. package/dist/node_modules/date-fns/parse.js +90 -0
  197. package/dist/node_modules/date-fns/set.cjs +1 -0
  198. package/dist/node_modules/date-fns/set.js +11 -0
  199. package/dist/node_modules/date-fns/setDay.cjs +1 -0
  200. package/dist/node_modules/date-fns/setDay.js +12 -0
  201. package/dist/node_modules/date-fns/setHours.cjs +1 -0
  202. package/dist/node_modules/date-fns/setHours.js +9 -0
  203. package/dist/node_modules/date-fns/setISODay.cjs +1 -0
  204. package/dist/node_modules/date-fns/setISODay.js +11 -0
  205. package/dist/node_modules/date-fns/setISOWeek.cjs +1 -0
  206. package/dist/node_modules/date-fns/setISOWeek.js +10 -0
  207. package/dist/node_modules/date-fns/setMilliseconds.cjs +1 -0
  208. package/dist/node_modules/date-fns/setMilliseconds.js +9 -0
  209. package/dist/node_modules/date-fns/setMinutes.cjs +1 -0
  210. package/dist/node_modules/date-fns/setMinutes.js +9 -0
  211. package/dist/node_modules/date-fns/setMonth.cjs +1 -0
  212. package/dist/node_modules/date-fns/setMonth.js +13 -0
  213. package/dist/node_modules/date-fns/setSeconds.cjs +1 -0
  214. package/dist/node_modules/date-fns/setSeconds.js +9 -0
  215. package/dist/node_modules/date-fns/setWeek.cjs +1 -0
  216. package/dist/node_modules/date-fns/setWeek.js +10 -0
  217. package/dist/node_modules/date-fns/setYear.cjs +1 -0
  218. package/dist/node_modules/date-fns/setYear.js +10 -0
  219. package/dist/node_modules/date-fns/startOfDay.cjs +1 -0
  220. package/dist/node_modules/date-fns/startOfDay.js +9 -0
  221. package/dist/node_modules/date-fns/startOfISOWeek.cjs +1 -0
  222. package/dist/node_modules/date-fns/startOfISOWeek.js +8 -0
  223. package/dist/node_modules/date-fns/startOfISOWeekYear.cjs +1 -0
  224. package/dist/node_modules/date-fns/startOfISOWeekYear.js +11 -0
  225. package/dist/node_modules/date-fns/startOfMonth.cjs +1 -0
  226. package/dist/node_modules/date-fns/startOfMonth.js +9 -0
  227. package/dist/node_modules/date-fns/startOfQuarter.cjs +1 -0
  228. package/dist/node_modules/date-fns/startOfQuarter.js +9 -0
  229. package/dist/node_modules/date-fns/startOfWeek.cjs +1 -0
  230. package/dist/node_modules/date-fns/startOfWeek.js +11 -0
  231. package/dist/node_modules/date-fns/startOfWeekYear.cjs +1 -0
  232. package/dist/node_modules/date-fns/startOfWeekYear.js +13 -0
  233. package/dist/node_modules/date-fns/startOfYear.cjs +1 -0
  234. package/dist/node_modules/date-fns/startOfYear.js +10 -0
  235. package/dist/node_modules/date-fns/sub.cjs +1 -0
  236. package/dist/node_modules/date-fns/sub.js +19 -0
  237. package/dist/node_modules/date-fns/subDays.cjs +1 -0
  238. package/dist/node_modules/date-fns/subDays.js +8 -0
  239. package/dist/node_modules/date-fns/subMonths.cjs +1 -0
  240. package/dist/node_modules/date-fns/subMonths.js +8 -0
  241. package/dist/node_modules/date-fns/subYears.cjs +1 -0
  242. package/dist/node_modules/date-fns/subYears.js +8 -0
  243. package/dist/node_modules/date-fns/toDate.cjs +1 -0
  244. package/dist/node_modules/date-fns/toDate.js +8 -0
  245. package/dist/node_modules/date-fns/transpose.cjs +1 -0
  246. package/dist/node_modules/date-fns/transpose.js +18 -0
  247. package/dist/node_modules/embla-carousel/esm/embla-carousel.esm.cjs +1 -1
  248. package/dist/node_modules/embla-carousel/esm/embla-carousel.esm.js +629 -622
  249. package/dist/node_modules/embla-carousel-vue/esm/embla-carousel-vue.esm.cjs +1 -1
  250. package/dist/node_modules/embla-carousel-vue/esm/embla-carousel-vue.esm.js +19 -17
  251. package/dist/node_modules/qrcode/lib/core/byte-data.cjs +1 -1
  252. package/dist/node_modules/qrcode/lib/core/byte-data.js +6 -7
  253. package/dist/node_modules/vue-qrcode-reader/dist/vue-qrcode-reader.cjs +1 -1
  254. package/dist/node_modules/vue-qrcode-reader/dist/vue-qrcode-reader.js +3 -3
  255. package/dist/prometheus-framework/node_modules/@vuepic/vue-datepicker/dist/vue-datepicker.cjs +1 -1
  256. package/dist/prometheus-framework/node_modules/@vuepic/vue-datepicker/dist/vue-datepicker.js +3356 -3363
  257. package/dist/prometheus-framework/node_modules/libphonenumber-js/metadata.min.json.cjs +1 -1
  258. package/dist/prometheus-framework/node_modules/libphonenumber-js/metadata.min.json.js +1 -1
  259. package/dist/prometheus-framework/src/components/EditImages/EditImages.vue.cjs +1 -1
  260. package/dist/prometheus-framework/src/components/EditImages/EditImages.vue.js +16 -15
  261. package/dist/prometheus-framework/src/components/PhotoViewer/PhotoViewer.vue.cjs +1 -1
  262. package/dist/prometheus-framework/src/components/PhotoViewer/PhotoViewer.vue.js +13 -12
  263. package/dist/prometheus-framework/src/components/UploadImage/UploadImage.vue.cjs +1 -1
  264. package/dist/prometheus-framework/src/components/UploadImage/UploadImage.vue.js +12 -11
  265. package/dist/prometheus-framework/src/modules/auth/views/components/pages/SignIn.vue.cjs +1 -1
  266. package/dist/prometheus-framework/src/modules/auth/views/components/pages/SignIn.vue.js +6 -5
  267. package/dist/prometheus-framework/src/modules/community/components/blocks/CardBlogpost.vue.cjs +1 -1
  268. package/dist/prometheus-framework/src/modules/community/components/blocks/CardBlogpost.vue.js +10 -9
  269. package/dist/prometheus-framework/src/modules/constructor/components/elements/Image.vue.cjs +1 -1
  270. package/dist/prometheus-framework/src/modules/constructor/components/elements/Image.vue.js +11 -9
  271. package/dist/prometheus-framework/src/modules/constructor/components/elements/ImageUpload.vue.cjs +1 -1
  272. package/dist/prometheus-framework/src/modules/constructor/components/elements/ImageUpload.vue.js +8 -7
  273. package/dist/prometheus-framework/src/modules/constructor/components/elements/Textarea.vue2.cjs +1 -1
  274. package/dist/prometheus-framework/src/modules/constructor/components/elements/Textarea.vue2.js +17 -17
  275. package/dist/prometheus-framework/src/modules/events/components/blocks/CardEvent.vue.cjs +1 -1
  276. package/dist/prometheus-framework/src/modules/events/components/blocks/CardEvent.vue.js +5 -3
  277. package/dist/prometheus-framework/src/modules/events/components/pages/EditEvent.vue.cjs +1 -1
  278. package/dist/prometheus-framework/src/modules/events/components/pages/EditEvent.vue.js +17 -16
  279. package/dist/prometheus-framework/src/modules/events/components/pages/EditEventTickets.vue.cjs +1 -1
  280. package/dist/prometheus-framework/src/modules/events/components/pages/EditEventTickets.vue.js +15 -14
  281. package/dist/prometheus-framework/src/modules/events/components/sections/HeroEvent.vue.cjs +1 -1
  282. package/dist/prometheus-framework/src/modules/events/components/sections/HeroEvent.vue.js +11 -8
  283. package/dist/prometheus-framework/src/modules/events/components/sections/SectionPreviousEvents.vue.cjs +1 -1
  284. package/dist/prometheus-framework/src/modules/events/components/sections/SectionPreviousEvents.vue.js +7 -6
  285. package/dist/prometheus-framework/src/modules/events/components/sections/SectionSpecialGuests.vue.cjs +1 -1
  286. package/dist/prometheus-framework/src/modules/events/components/sections/SectionSpecialGuests.vue.js +9 -8
  287. package/dist/prometheus-framework/src/modules/gallery/components/pages/Gallery.vue.cjs +1 -1
  288. package/dist/prometheus-framework/src/modules/gallery/components/pages/Gallery.vue.js +5 -4
  289. package/dist/prometheus-framework/src/modules/gallery/components/sections/BackofficeGallery.vue.cjs +1 -1
  290. package/dist/prometheus-framework/src/modules/gallery/components/sections/BackofficeGallery.vue.js +25 -23
  291. package/dist/prometheus-framework/src/modules/globals/views/components/blocks/CardHeader.vue.cjs +1 -1
  292. package/dist/prometheus-framework/src/modules/globals/views/components/blocks/CardHeader.vue.js +22 -20
  293. package/dist/prometheus-framework/src/modules/globals/views/components/layouts/App.vue.cjs +1 -1
  294. package/dist/prometheus-framework/src/modules/globals/views/components/layouts/App.vue.js +87 -93
  295. package/dist/prometheus-framework/src/modules/globals/views/components/layouts/Client.vue.cjs +1 -1
  296. package/dist/prometheus-framework/src/modules/globals/views/components/layouts/Client.vue.js +142 -73
  297. package/dist/prometheus-framework/src/modules/globals/views/components/partials/NavigationBar.vue.cjs +1 -0
  298. package/dist/prometheus-framework/src/modules/globals/views/components/partials/NavigationBar.vue.js +110 -0
  299. package/dist/prometheus-framework/src/modules/landing/components/sections/MobileApp.vue.cjs +1 -1
  300. package/dist/prometheus-framework/src/modules/landing/components/sections/MobileApp.vue.js +8 -7
  301. package/dist/prometheus-framework/src/modules/orders/components/blocks/CardOrder.vue.cjs +1 -1
  302. package/dist/prometheus-framework/src/modules/orders/components/blocks/CardOrder.vue.js +2 -2
  303. package/dist/prometheus-framework/src/modules/orders/components/blocks/CardOrderItem.vue.cjs +1 -1
  304. package/dist/prometheus-framework/src/modules/orders/components/blocks/CardOrderItem.vue.js +19 -18
  305. package/dist/prometheus-framework/src/modules/orders/components/pages/OrderBackoffice.vue.cjs +1 -1
  306. package/dist/prometheus-framework/src/modules/orders/components/pages/OrderBackoffice.vue.js +127 -135
  307. package/dist/prometheus-framework/src/modules/orders/components/pages/Orders.vue.cjs +1 -1
  308. package/dist/prometheus-framework/src/modules/orders/components/pages/Orders.vue.js +2 -4
  309. package/dist/prometheus-framework/src/modules/organizations/components/blocks/CardOrganization.vue.cjs +1 -1
  310. package/dist/prometheus-framework/src/modules/organizations/components/blocks/CardOrganization.vue.js +1 -0
  311. package/dist/prometheus-framework/src/modules/organizations/components/blocks/DepartmentSub.vue.cjs +1 -1
  312. package/dist/prometheus-framework/src/modules/organizations/components/blocks/DepartmentSub.vue.js +5 -5
  313. package/dist/prometheus-framework/src/modules/organizations/components/pages/Organization.vue.cjs +1 -1
  314. package/dist/prometheus-framework/src/modules/organizations/components/pages/Organization.vue.js +75 -69
  315. package/dist/prometheus-framework/src/modules/organizations/components/sections/DetailsTab.vue.cjs +1 -1
  316. package/dist/prometheus-framework/src/modules/organizations/components/sections/DetailsTab.vue.js +1 -0
  317. package/dist/prometheus-framework/src/modules/products/components/blocks/CardLeftover.vue.cjs +1 -1
  318. package/dist/prometheus-framework/src/modules/products/components/blocks/CardLeftover.vue.js +9 -9
  319. package/dist/prometheus-framework/src/modules/products/components/blocks/CardProduct.vue.cjs +1 -1
  320. package/dist/prometheus-framework/src/modules/products/components/blocks/CardProduct.vue.js +1 -0
  321. package/dist/prometheus-framework/src/modules/products/components/blocks/Images360.vue.cjs +1 -1
  322. package/dist/prometheus-framework/src/modules/products/components/blocks/Images360.vue.js +28 -27
  323. package/dist/prometheus-framework/src/modules/products/components/blocks/ImagesThumbnails.vue.cjs +1 -1
  324. package/dist/prometheus-framework/src/modules/products/components/blocks/ImagesThumbnails.vue.js +13 -12
  325. package/dist/prometheus-framework/src/modules/products/components/sections/HeroRecommendation.vue.cjs +1 -1
  326. package/dist/prometheus-framework/src/modules/products/components/sections/HeroRecommendation.vue.js +3 -2
  327. package/dist/prometheus-framework/src/modules/products/components/sections/SectionProduct.vue.cjs +1 -1
  328. package/dist/prometheus-framework/src/modules/products/components/sections/SectionProduct.vue.js +1 -0
  329. package/dist/prometheus-framework/src/modules/spots/components/blocks/SpotSub.vue.cjs +1 -1
  330. package/dist/prometheus-framework/src/modules/spots/components/blocks/SpotSub.vue.js +1 -1
  331. package/dist/prometheus-framework/src/modules/users/components/blocks/CardUser.vue.cjs +1 -1
  332. package/dist/prometheus-framework/src/modules/users/components/blocks/CardUser.vue.js +3 -2
  333. package/dist/prometheus-framework/src/modules/users/components/pages/Profile.vue.cjs +1 -1
  334. package/dist/prometheus-framework/src/modules/users/components/pages/Profile.vue.js +7 -6
  335. package/dist/prometheus-framework/src/modules/wallet/views/components/elements/ConnectMetamask.vue.cjs +1 -1
  336. package/dist/prometheus-framework/src/modules/wallet/views/components/elements/ConnectMetamask.vue.js +12 -9
  337. package/dist/prometheus-framework.cjs.js +27 -27
  338. package/dist/prometheus-framework.es.js +3819 -3782
  339. package/dist/style.css +1 -1
  340. package/dist/tickets.controller-CB549rZT.mjs +402 -0
  341. package/dist/tickets.controller-yqXXLR62.js +401 -0
  342. package/dist/wallet.server.js +1 -1
  343. package/dist/wallet.server.mjs +1 -1
  344. package/package.json +24 -25
  345. package/src/builder/webpack/webpack.config.base.js +2 -2
  346. package/src/builder/webpack/webpack.config.client.js +1 -1
  347. package/src/builder/webpack/webpack.config.spa.js +0 -6
  348. package/src/components/AskToLogin/AskToLogin.vue +1 -1
  349. package/src/components/EditImages/EditImages.vue +1 -1
  350. package/src/components/Error/Error.vue +1 -1
  351. package/src/components/PhotoViewer/PhotoViewer.vue +1 -1
  352. package/src/components/UploadImage/UploadImage.vue +1 -1
  353. package/src/modules/auth/views/components/pages/EnterCode.vue +1 -1
  354. package/src/modules/auth/views/components/pages/EnterPassword.vue +1 -1
  355. package/src/modules/auth/views/components/pages/ResetPassword.vue +1 -1
  356. package/src/modules/auth/views/components/pages/SignIn.vue +1 -1
  357. package/src/modules/auth/views/components/pages/SignUp.vue +1 -1
  358. package/src/modules/backoffice/components/admin/FastOrders.vue +1 -1
  359. package/src/modules/chats/components/blocks/ChatMessage.vue +1 -1
  360. package/src/modules/community/components/blocks/CardBlogpost.vue +1 -1
  361. package/src/modules/constructor/components/elements/Image.vue +2 -2
  362. package/src/modules/constructor/components/elements/ImageUpload.vue +1 -1
  363. package/src/modules/events/components/blocks/CardEvent.vue +2 -2
  364. package/src/modules/events/components/pages/EditEvent.vue +12 -1
  365. package/src/modules/events/components/pages/EditEventTickets.vue +1 -1
  366. package/src/modules/events/components/pages/Event.vue +1 -1
  367. package/src/modules/events/components/sections/HeroEvent.vue +4 -4
  368. package/src/modules/events/components/sections/SectionPreviousEvents.vue +1 -1
  369. package/src/modules/events/components/sections/SectionSpecialGuests.vue +1 -1
  370. package/src/modules/events/controllers/utils/templateEmail.js +1 -1
  371. package/src/modules/events/controllers/utils/templateTicket.js +1 -1
  372. package/src/modules/gallery/components/pages/Gallery.vue +1 -1
  373. package/src/modules/gallery/components/sections/BackofficeGallery.vue +2 -2
  374. package/src/modules/globals/views/components/blocks/CardHeader.vue +2 -2
  375. package/src/modules/globals/views/components/layouts/App.vue +15 -39
  376. package/src/modules/globals/views/components/layouts/Client.vue +89 -45
  377. package/src/modules/globals/views/components/partials/Footer.vue +7 -7
  378. package/src/modules/globals/views/components/partials/NavigationBar.vue +39 -16
  379. package/src/modules/globals/views/components/sections/Walkthrough.vue +2 -2
  380. package/src/modules/landing/components/sections/Examples.vue +1 -1
  381. package/src/modules/landing/components/sections/HowItWorksSection.vue +3 -3
  382. package/src/modules/landing/components/sections/HowToBuyWDR.vue +1 -1
  383. package/src/modules/landing/components/sections/InstagramSection.vue +2 -2
  384. package/src/modules/landing/components/sections/MobileApp.vue +1 -1
  385. package/src/modules/landing/components/sections/SectionEarn.vue +2 -2
  386. package/src/modules/landing/components/sections/SectionFeature.vue +1 -1
  387. package/src/modules/landing/components/sections/SectionFeaturesImages.vue +1 -1
  388. package/src/modules/landing/components/sections/SectionHeroToken.vue +1 -1
  389. package/src/modules/landing/components/sections/SectionsSection.vue +4 -4
  390. package/src/modules/landing/components/sections/WhatIsWDRSection.vue +3 -3
  391. package/src/modules/landing/router/landing.js +1 -1
  392. package/src/modules/orders/components/blocks/CardOrder.vue +7 -7
  393. package/src/modules/orders/components/blocks/CardOrderItem.vue +1 -1
  394. package/src/modules/orders/components/blocks/CardOrderVar1.vue +1 -1
  395. package/src/modules/orders/components/pages/OrderBackoffice.vue +3 -4
  396. package/src/modules/orders/components/pages/Orders.vue +0 -3
  397. package/src/modules/orders/components/pages/Orders_refact.vue +7 -7
  398. package/src/modules/orders/components/sections/AskToLogin.vue +1 -1
  399. package/src/modules/organizations/components/blocks/CardOrganization.vue +2 -2
  400. package/src/modules/organizations/components/blocks/Contacts.vue +4 -4
  401. package/src/modules/organizations/components/blocks/DepartmentSub.vue +1 -1
  402. package/src/modules/organizations/components/pages/Organization.vue +3 -3
  403. package/src/modules/organizations/components/sections/DetailsTab.vue +1 -1
  404. package/src/modules/products/components/blocks/CardLeftover.vue +1 -1
  405. package/src/modules/products/components/blocks/CardProduct.vue +1 -1
  406. package/src/modules/products/components/blocks/EditFilters.vue +1 -1
  407. package/src/modules/products/components/blocks/Images360.vue +1 -1
  408. package/src/modules/products/components/blocks/ImagesThumbnails.vue +1 -1
  409. package/src/modules/products/components/sections/HeroRecommendation.vue +1 -1
  410. package/src/modules/products/components/sections/MenuSection.vue +1 -1
  411. package/src/modules/products/components/sections/ProductInformationSection.vue +5 -5
  412. package/src/modules/products/components/sections/SectionProduct.vue +1 -1
  413. package/src/modules/spots/components/blocks/SpotSub.vue +1 -1
  414. package/src/modules/users/components/blocks/CardUser.vue +1 -1
  415. package/src/modules/users/components/pages/Profile.vue +1 -1
  416. package/src/modules/wallet/views/components/elements/ConnectMetamask.vue +3 -3
  417. package/src/modules/wallet/views/components/pages/Wallet.vue +4 -4
@@ -1,9 +1,9 @@
1
- import { ref as n, openBlock as s, createElementBlock as t, createElementVNode as m, Fragment as d, renderList as _, createVNode as i, withCtx as f } from "vue";
1
+ import { ref as n, openBlock as s, createElementBlock as t, createElementVNode as m, Fragment as d, renderList as _, createVNode as a, withCtx as f } from "vue";
2
2
  import h from "../../../../components/Popup/Popup.vue2.js";
3
3
  import g from "../../../../components/PhotoViewer/PhotoViewer.vue.js";
4
4
  /* empty css */
5
5
  import v from "../../../../../../_virtual/_plugin-vue_export-helper.js";
6
- const E = { class: "o-scroll product-images" }, b = { class: "no-responsive flex flex-nowrap gap-thin" }, x = ["src", "onClick"], I = {
6
+ const E = { class: "o-scroll product-images" }, x = { class: "no-responsive flex flex-nowrap gap-thin" }, I = ["src", "onClick"], P = {
7
7
  __name: "ImagesThumbnails",
8
8
  props: {
9
9
  images: {
@@ -11,28 +11,29 @@ const E = { class: "o-scroll product-images" }, b = { class: "no-responsive flex
11
11
  required: !0
12
12
  }
13
13
  },
14
- setup(a) {
14
+ setup(i) {
15
15
  const o = n(!1), l = n(null), c = (e) => {
16
16
  l.value = e, o.value = !0;
17
17
  }, p = () => {
18
18
  o.value = !1;
19
19
  };
20
- return (e, P) => (s(), t("div", E, [
21
- m("div", b, [
22
- (s(!0), t(d, null, _(a.images, (r, u) => (s(), t("img", {
20
+ return (e, R) => (s(), t("div", E, [
21
+ m("div", x, [
22
+ (s(!0), t(d, null, _(i.images, (r, u) => (s(), t("img", {
23
+ loading: "lazy",
23
24
  key: u,
24
25
  src: (e.FILE_SERVER_URL || "") + r,
25
- onClick: (R) => c(r),
26
+ onClick: (b) => c(r),
26
27
  class: "flex-child flex-child-grow-1 aspect-1x1 radius-semi bg-white o-hidden thumbnail"
27
- }, null, 8, x))), 128))
28
+ }, null, 8, I))), 128))
28
29
  ]),
29
- i(h, {
30
+ a(h, {
30
31
  onClosePopup: p,
31
32
  isPopupOpen: o.value,
32
33
  class: "radius-medium o-hidden"
33
34
  }, {
34
35
  default: f(() => [
35
- i(g, {
36
+ a(g, {
36
37
  photoUrl: (e.FILE_SERVER_URL || "") + l.value
37
38
  }, null, 8, ["photoUrl"])
38
39
  ]),
@@ -40,7 +41,7 @@ const E = { class: "o-scroll product-images" }, b = { class: "no-responsive flex
40
41
  }, 8, ["isPopupOpen"])
41
42
  ]));
42
43
  }
43
- }, U = /* @__PURE__ */ v(I, [["__scopeId", "data-v-103087bb"]]);
44
+ }, C = /* @__PURE__ */ v(P, [["__scopeId", "data-v-48231055"]]);
44
45
  export {
45
- U as default
46
+ C as default
46
47
  };
@@ -1 +1 @@
1
- "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vue"),c=require("../../../../components/FieldBig/FieldBig.vue.cjs");;/* empty css */const u=require("vue-router"),d=require("vue-i18n");require("../../store/products.cjs");;/* empty css */const p={class:"pd-big bg-black t-white pos-relative o-hidden"},m={class:"flex-column flex-center flex t-center pos-relative z-index-1"},b=["innerHTML"],h=["innerHTML"],g=["innerHTML"],f={style:{"max-width":"50rem"},class:"w-100 h-max gap-thin cols-6"},_=["onClick"],y=["src"],v={class:"t-white"},w={__name:"HeroRecommendation",setup(x){const o=u.useRouter(),s={messages:{en:{title:"Increase Your High <br><b class='t-main'>Boosted by AI Budtender</b>",description:"Just tell us what you're want, and Weeder will find your ideal match.",placeholderTexts:["Lowest THC, please!","Something with banana flavors?","I'm in the mood for trippy vibes."],subdescription:"AI Curated Recommendations for Your Mood:",presets:{sleep:"sleep",creative:"creative",giggly:"giggly",libido:"libido",trippy:"trippy",euphoric:"euphoric"},placeholder:"Tell us what you're after...",action:"Transmit"},ru:{title:"Персональный Накур,<br><b class='t-main'>Напрямую от AI</b>",description:"AI на страже твоего релакса, бро. Мы подбираем самые космические товары с учетом твоего желаемого настроения:",placeholderTexts:["Я хочу самый низкий THC","Я хочу чего-нибудь бананового","Я хочу курнуть хейза"],presets:{sleep:"сон",creative:"креатив",giggly:"смех",libido:"либидо",trippy:"трип",euphoric:"кайф"},subdescription:"Или выберите тег, и наш AI направит тебя к самым крутым вариантам:",placeholder:"Опиши свой желаемый хай, bro...",action:"Передать"}}},{t:n,rt:T}=d.useI18n(s);let r=e.ref("");const l=["sleep","creative","giggly","libido","trippy","euphoric"];return(a,i)=>(e.openBlock(),e.createElementBlock("div",p,[e.createElementVNode("div",m,[e.createElementVNode("h1",{class:"mn-b-semi",innerHTML:e.unref(n)("title")},null,8,b),e.createElementVNode("p",{class:"mn-b-big p-big t-transp",innerHTML:e.unref(n)("description")},null,8,h),e.createVNode(c.default,{input:e.unref(r),typingSpeed:100,loopTyping:!0,enableTyping:!0,placeholder:e.unref(n)("placeholder"),action:e.unref(n)("action"),"onUpdate:input":i[0]||(i[0]=t=>e.isRef(r)?r.value=t:r=t),onAction:i[1]||(i[1]=t=>e.unref(o).push({name:"Product Recommmendation",query:{mood:e.unref(r)}})),class:"mn-b-big pd-big bg-dark-transp-50 bg-blur-thin w-100 w-max-40r"},null,8,["input","placeholder","action"]),e.createElementVNode("p",{class:"w-m-60r t-transp mn-b-semi p-medium",innerHTML:e.unref(n)("subdescription")},null,8,g),e.createElementVNode("div",f,[(e.openBlock(),e.createElementBlock(e.Fragment,null,e.renderList(l,(t,E)=>e.createElementVNode("button",{key:t,onClick:e.withModifiers(I=>e.unref(o).push({name:"Product Recommmendation",query:{mood:t}}),["stop"]),class:"uppercase pd-thin t-medium flex-center flex-column flex-nowrap flex bg-dark-transp-50 bg-blur-thin radius-semi cursor-pointer transition-elastic hover-easeInOut-1"},[e.createElementVNode("img",{src:(a.FILE_SERVER_URL||"")+"/icons/moods/"+t+".svg",class:"w-100"},null,8,y),e.createElementVNode("span",v,e.toDisplayString(e.unref(n)("presets."+t)),1)],8,_)),64))])])]))}};exports.default=w;
1
+ "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vue"),c=require("../../../../components/FieldBig/FieldBig.vue.cjs");;/* empty css */const u=require("vue-router"),d=require("vue-i18n");require("../../store/products.cjs");;/* empty css */const p={class:"pd-big bg-black t-white pos-relative o-hidden"},m={class:"flex-column flex-center flex t-center pos-relative z-index-1"},b=["innerHTML"],h=["innerHTML"],g=["innerHTML"],f={style:{"max-width":"50rem"},class:"w-100 h-max gap-thin cols-6"},_=["onClick"],y=["src"],v={class:"t-white"},w={__name:"HeroRecommendation",setup(x){const o=u.useRouter(),s={messages:{en:{title:"Increase Your High <br><b class='t-main'>Boosted by AI Budtender</b>",description:"Just tell us what you're want, and Weeder will find your ideal match.",placeholderTexts:["Lowest THC, please!","Something with banana flavors?","I'm in the mood for trippy vibes."],subdescription:"AI Curated Recommendations for Your Mood:",presets:{sleep:"sleep",creative:"creative",giggly:"giggly",libido:"libido",trippy:"trippy",euphoric:"euphoric"},placeholder:"Tell us what you're after...",action:"Transmit"},ru:{title:"Персональный Накур,<br><b class='t-main'>Напрямую от AI</b>",description:"AI на страже твоего релакса, бро. Мы подбираем самые космические товары с учетом твоего желаемого настроения:",placeholderTexts:["Я хочу самый низкий THC","Я хочу чего-нибудь бананового","Я хочу курнуть хейза"],presets:{sleep:"сон",creative:"креатив",giggly:"смех",libido:"либидо",trippy:"трип",euphoric:"кайф"},subdescription:"Или выберите тег, и наш AI направит тебя к самым крутым вариантам:",placeholder:"Опиши свой желаемый хай, bro...",action:"Передать"}}},{t:n,rt:T}=d.useI18n(s);let r=e.ref("");const l=["sleep","creative","giggly","libido","trippy","euphoric"];return(a,i)=>(e.openBlock(),e.createElementBlock("div",p,[e.createElementVNode("div",m,[e.createElementVNode("h1",{class:"mn-b-semi",innerHTML:e.unref(n)("title")},null,8,b),e.createElementVNode("p",{class:"mn-b-big p-big t-transp",innerHTML:e.unref(n)("description")},null,8,h),e.createVNode(c.default,{input:e.unref(r),typingSpeed:100,loopTyping:!0,enableTyping:!0,placeholder:e.unref(n)("placeholder"),action:e.unref(n)("action"),"onUpdate:input":i[0]||(i[0]=t=>e.isRef(r)?r.value=t:r=t),onAction:i[1]||(i[1]=t=>e.unref(o).push({name:"Product Recommmendation",query:{mood:e.unref(r)}})),class:"mn-b-big pd-big bg-dark-transp-50 bg-blur-thin w-100 w-max-40r"},null,8,["input","placeholder","action"]),e.createElementVNode("p",{class:"w-m-60r t-transp mn-b-semi p-medium",innerHTML:e.unref(n)("subdescription")},null,8,g),e.createElementVNode("div",f,[(e.openBlock(),e.createElementBlock(e.Fragment,null,e.renderList(l,(t,E)=>e.createElementVNode("button",{key:t,onClick:e.withModifiers(I=>e.unref(o).push({name:"Product Recommmendation",query:{mood:t}}),["stop"]),class:"uppercase pd-thin t-medium flex-center flex-column flex-nowrap flex bg-dark-transp-50 bg-blur-thin radius-semi cursor-pointer transition-elastic hover-easeInOut-1"},[e.createElementVNode("img",{loading:"lazy",src:(a.FILE_SERVER_URL||"")+"/icons/moods/"+t+".svg",class:"w-100"},null,8,y),e.createElementVNode("span",v,e.toDisplayString(e.unref(n)("presets."+t)),1)],8,_)),64))])])]))}};exports.default=w;
@@ -8,7 +8,7 @@ import "../../store/products.js";
8
8
  const v = { class: "pd-big bg-black t-white pos-relative o-hidden" }, T = { class: "flex-column flex-center flex t-center pos-relative z-index-1" }, H = ["innerHTML"], I = ["innerHTML"], L = ["innerHTML"], R = {
9
9
  style: { "max-width": "50rem" },
10
10
  class: "w-100 h-max gap-thin cols-6"
11
- }, k = ["onClick"], M = ["src"], A = { class: "t-white" }, $ = {
11
+ }, k = ["onClick"], M = ["src"], A = { class: "t-white" }, Y = {
12
12
  __name: "HeroRecommendation",
13
13
  setup(C) {
14
14
  const r = w(), c = {
@@ -89,6 +89,7 @@ const v = { class: "pd-big bg-black t-white pos-relative o-hidden" }, T = { clas
89
89
  class: "uppercase pd-thin t-medium flex-center flex-column flex-nowrap flex bg-dark-transp-50 bg-blur-thin radius-semi cursor-pointer transition-elastic hover-easeInOut-1"
90
90
  }, [
91
91
  i("img", {
92
+ loading: "lazy",
92
93
  src: (d.FILE_SERVER_URL || "") + "/icons/moods/" + t + ".svg",
93
94
  class: "w-100"
94
95
  }, null, 8, M),
@@ -100,5 +101,5 @@ const v = { class: "pd-big bg-black t-white pos-relative o-hidden" }, T = { clas
100
101
  }
101
102
  };
102
103
  export {
103
- $ as default
104
+ Y as default
104
105
  };
@@ -1 +1 @@
1
- "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vue"),m=require("../../../../components/Button/Button.vue2.cjs"),u=require("../../../icons/placeholders/PlaceholderImage.vue.cjs"),g=require("../blocks/Images360.vue.cjs"),h=require("../blocks/ImagesThumbnails.vue.cjs");;/* empty css */const k=require("../elements/Price.vue.cjs"),p=require("vue-i18n"),n=require("../../../orders/store/shopcart.cjs"),f={class:"cols-2-1_2 w-100 gap-thin"},b={class:"pd-small bg-light radius-big flex-nowrap flex-column flex pos-relative"},y={class:"w-100 bg-light radius-semi o-hidden"},B=["src"],v={class:"pd-big bg-light radius-big pos-relative w-100 h-100 flex-column flex-justify flex col"},V={key:0,class:"t-main t-semi p-big"},N={class:"w-100 h1-product mn-b-thin"},E={key:1,class:"mn-b-semi"},w={key:2,class:"w-100 mn-b-medium t-transp"},C={key:3,class:"w-100 mn-b-medium t-transp"},S={class:"cols-2 w-100 gap-small mn-b-semi"},q={class:"w-100 pd-small radius-small bg-grey-transp-10 product-information"},x={class:"t-demi"},z={class:"max-w-33rem mobile-w-100 t-white gap-small cols-2"},D={__name:"SectionProduct",props:{product:{type:Object,required:!0},user:{type:String},recommendation:{type:String}},setup(t){const i=t,a=e.computed(()=>i.product.images),s={messages:{en:{airecommend:"AI Recommends You",description:"",addtoorder:"Add to order",fastorder:"Fast Order"},ru:{airecommend:"AI Рекомендует вам",description:"",addtoorder:"Добавить в корзину",fastorder:"Быстрый заказ"}}},{t:c}=p.useI18n(s);function l(o){return!(o.quantity>0)}function d(o){n.state.organization!==o.organization&&(n.state.positions=[],n.state.organization=o.organization),n.actions.addProductToCart(o,o.organization)}return(o,I)=>(e.openBlock(),e.createElementBlock("div",f,[e.createElementVNode("div",b,[e.createElementVNode("div",y,[t.product&&t.product.image3d?(e.openBlock(),e.createBlock(g.default,{key:0,class:"h-100 w-100",imagePath:`/assets/images/products/${t.product.image3d}`,imageCount:36},null,8,["imagePath"])):e.createCommentVNode("",!0),a.value[0]&&!t.product.image3d?(e.openBlock(),e.createElementBlock("img",{key:1,class:"h-auto bg-light w-100",style:{"object-fit":"contain"},src:(o.FILE_SERVER_URL||"")+a.value[0]},null,8,B)):e.createCommentVNode("",!0),!a.value[0]&&!t.product.image3d?(e.openBlock(),e.createBlock(u.default,{key:2,class:"h-100 w-100",style:{"object-fit":"cover"}})):e.createCommentVNode("",!0)]),a.value.length>1?(e.openBlock(),e.createBlock(h.default,{key:0,images:a.value,class:"mn-t-thin"},null,8,["images"])):e.createCommentVNode("",!0)]),e.createElementVNode("div",v,[t.recommendation?(e.openBlock(),e.createElementBlock("h2",V,e.toDisplayString(e.unref(c)("airecommend")),1)):e.createCommentVNode("",!0),e.createElementVNode("h1",N,e.toDisplayString(t.product.name),1),e.createVNode(k.default,{product:t.product,size:"big",class:"mn-b-semi"},null,8,["product"]),t.recommendation?(e.openBlock(),e.createElementBlock("h3",E,e.toDisplayString(t.recommendation),1)):e.createCommentVNode("",!0),t.product.description&&!t.product.localization<1&&!t.recommendation?(e.openBlock(),e.createElementBlock("p",w,e.toDisplayString(t.product.description),1)):e.createCommentVNode("",!0),t.product.localization&&t.product.localization.length>1&&!t.recommendation?(e.openBlock(),e.createElementBlock("p",C,e.toDisplayString(e.unref(c)("description")),1)):e.createCommentVNode("",!0),e.createElementVNode("div",S,[t.product.information.length>0?(e.openBlock(!0),e.createElementBlock(e.Fragment,{key:0},e.renderList(t.product.information,r=>(e.openBlock(),e.createElementBlock("div",q,[e.createElementVNode("p",x,e.toDisplayString(r.name),1),e.createElementVNode("p",null,e.toDisplayString(r.value),1)]))),256)):e.createCommentVNode("",!0)]),e.createElementVNode("div",z,[e.createVNode(m.default,{submit:r=>d(t.product),disabled:l(t.product),text:{success:" ✔ Added",error:"error"},class:"h-3r w-100 mn-r-small bg-main button"},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(e.unref(c)("addtoorder")),1)]),_:1},8,["submit","disabled"])])])]))}};exports.default=D;
1
+ "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vue"),m=require("../../../../components/Button/Button.vue2.cjs"),u=require("../../../icons/placeholders/PlaceholderImage.vue.cjs"),g=require("../blocks/Images360.vue.cjs"),h=require("../blocks/ImagesThumbnails.vue.cjs");;/* empty css */const k=require("../elements/Price.vue.cjs"),p=require("vue-i18n"),n=require("../../../orders/store/shopcart.cjs"),f={class:"cols-2-1_2 w-100 gap-thin"},b={class:"pd-small bg-light radius-big flex-nowrap flex-column flex pos-relative"},y={class:"w-100 bg-light radius-semi o-hidden"},B=["src"],v={class:"pd-big bg-light radius-big pos-relative w-100 h-100 flex-column flex-justify flex col"},V={key:0,class:"t-main t-semi p-big"},N={class:"w-100 h1-product mn-b-thin"},E={key:1,class:"mn-b-semi"},w={key:2,class:"w-100 mn-b-medium t-transp"},C={key:3,class:"w-100 mn-b-medium t-transp"},S={class:"cols-2 w-100 gap-small mn-b-semi"},q={class:"w-100 pd-small radius-small bg-grey-transp-10 product-information"},x={class:"t-demi"},z={class:"max-w-33rem mobile-w-100 t-white gap-small cols-2"},D={__name:"SectionProduct",props:{product:{type:Object,required:!0},user:{type:String},recommendation:{type:String}},setup(t){const i=t,a=e.computed(()=>i.product.images),s={messages:{en:{airecommend:"AI Recommends You",description:"",addtoorder:"Add to order",fastorder:"Fast Order"},ru:{airecommend:"AI Рекомендует вам",description:"",addtoorder:"Добавить в корзину",fastorder:"Быстрый заказ"}}},{t:c}=p.useI18n(s);function l(o){return!(o.quantity>0)}function d(o){n.state.organization!==o.organization&&(n.state.positions=[],n.state.organization=o.organization),n.actions.addProductToCart(o,o.organization)}return(o,I)=>(e.openBlock(),e.createElementBlock("div",f,[e.createElementVNode("div",b,[e.createElementVNode("div",y,[t.product&&t.product.image3d?(e.openBlock(),e.createBlock(g.default,{key:0,class:"h-100 w-100",imagePath:`/assets/images/products/${t.product.image3d}`,imageCount:36},null,8,["imagePath"])):e.createCommentVNode("",!0),a.value[0]&&!t.product.image3d?(e.openBlock(),e.createElementBlock("img",{key:1,loading:"lazy",class:"h-auto bg-light w-100",style:{"object-fit":"contain"},src:(o.FILE_SERVER_URL||"")+a.value[0]},null,8,B)):e.createCommentVNode("",!0),!a.value[0]&&!t.product.image3d?(e.openBlock(),e.createBlock(u.default,{key:2,class:"h-100 w-100",style:{"object-fit":"cover"}})):e.createCommentVNode("",!0)]),a.value.length>1?(e.openBlock(),e.createBlock(h.default,{key:0,images:a.value,class:"mn-t-thin"},null,8,["images"])):e.createCommentVNode("",!0)]),e.createElementVNode("div",v,[t.recommendation?(e.openBlock(),e.createElementBlock("h2",V,e.toDisplayString(e.unref(c)("airecommend")),1)):e.createCommentVNode("",!0),e.createElementVNode("h1",N,e.toDisplayString(t.product.name),1),e.createVNode(k.default,{product:t.product,size:"big",class:"mn-b-semi"},null,8,["product"]),t.recommendation?(e.openBlock(),e.createElementBlock("h3",E,e.toDisplayString(t.recommendation),1)):e.createCommentVNode("",!0),t.product.description&&!t.product.localization<1&&!t.recommendation?(e.openBlock(),e.createElementBlock("p",w,e.toDisplayString(t.product.description),1)):e.createCommentVNode("",!0),t.product.localization&&t.product.localization.length>1&&!t.recommendation?(e.openBlock(),e.createElementBlock("p",C,e.toDisplayString(e.unref(c)("description")),1)):e.createCommentVNode("",!0),e.createElementVNode("div",S,[t.product.information.length>0?(e.openBlock(!0),e.createElementBlock(e.Fragment,{key:0},e.renderList(t.product.information,r=>(e.openBlock(),e.createElementBlock("div",q,[e.createElementVNode("p",x,e.toDisplayString(r.name),1),e.createElementVNode("p",null,e.toDisplayString(r.value),1)]))),256)):e.createCommentVNode("",!0)]),e.createElementVNode("div",z,[e.createVNode(m.default,{submit:r=>d(t.product),disabled:l(t.product),text:{success:" ✔ Added",error:"error"},class:"h-3r w-100 mn-r-small bg-main button"},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(e.unref(c)("addtoorder")),1)]),_:1},8,["submit","disabled"])])])]))}};exports.default=D;
@@ -67,6 +67,7 @@ const V = { class: "cols-2-1_2 w-100 gap-thin" }, j = { class: "pd-small bg-ligh
67
67
  }, null, 8, ["imagePath"])) : o("", !0),
68
68
  n.value[0] && !t.product.image3d ? (e(), a("img", {
69
69
  key: 1,
70
+ loading: "lazy",
70
71
  class: "h-auto bg-light w-100",
71
72
  style: { "object-fit": "contain" },
72
73
  src: (i.FILE_SERVER_URL || "") + n.value[0]
@@ -1 +1 @@
1
- "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vue");;/* empty css */const r=require("../../../../../../_virtual/_plugin-vue_export-helper.cjs"),a={class:"pd-small flex-nowrap flex"},n={class:"user-card__info"},s={class:"user-card__name"},o={class:"user-card__position"},c={__name:"SpotSub",props:{department:{type:Object,required:!0}},setup(t){return(l,u)=>(e.openBlock(),e.createElementBlock("div",a,[e.createElementVNode("div",n,[e.createElementVNode("p",s,e.toDisplayString(t.department.name?t.department.name:"Безымянный"),1),e.createElementVNode("p",o,e.toDisplayString(t.department.members?t.department.members.length:"0")+" человек",1)])]))}},d=r.default(c,[["__scopeId","data-v-58a64d57"]]);exports.default=d;
1
+ "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vue");;/* empty css */const r=require("../../../../../../_virtual/_plugin-vue_export-helper.cjs"),n={class:"pd-small flex-nowrap flex"},s={class:"user-card__info"},a={class:"user-card__name"},o={class:"user-card__position"},c={__name:"SpotSub",props:{department:{type:Object,required:!0}},setup(t){return(l,u)=>(e.openBlock(),e.createElementBlock("div",n,[e.createElementVNode("div",s,[e.createElementVNode("p",a,e.toDisplayString(t.department.name?t.department.name:"Безымянный"),1),e.createElementVNode("p",o,e.toDisplayString(t.department.members?t.department.members.length:"0")+" человек",1)])]))}},d=r.default(c,[["__scopeId","data-v-79466468"]]);exports.default=d;
@@ -18,7 +18,7 @@ const n = { class: "pd-small flex-nowrap flex" }, c = { class: "user-card__info"
18
18
  ])
19
19
  ]));
20
20
  }
21
- }, h = /* @__PURE__ */ o(p, [["__scopeId", "data-v-58a64d57"]]);
21
+ }, h = /* @__PURE__ */ o(p, [["__scopeId", "data-v-79466468"]]);
22
22
  export {
23
23
  h as default
24
24
  };
@@ -1 +1 @@
1
- "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vue"),i=require("../../../icons/placeholders/PlaceholderUserpic.vue.cjs"),a={class:"flex-v-center flex-nowrap flex"},r=["src"],c={class:"h4"},s={class:"t-transp mn-r-small"},d={key:2,class:"mn-l-auto flex-stretch flex-v-center flex"},m={key:0,class:"flex-child flex-child-shrink-0 capitalize w-max t-medium radius-big pd-b-nano pd-t-nano pd-r-thin pd-l-thin bg-main"},u={__name:"CardUser",props:{_id:{type:String,default:null},user:{type:Object,required:!0},action:{type:Object},photo:{type:String,default:null},name:{type:String,default:"No name"},role:{type:String},phone:{type:String},email:{type:String}},setup(t){return(o,n)=>(e.openBlock(),e.createElementBlock("div",a,[t.photo?(e.openBlock(),e.createElementBlock("img",{key:0,src:(o.FILE_SERVER_URL||"")+t.photo,class:"radius-medium aspect-1x1 bg-white object-fit-cover mn-r-thin h-100 w-auto",onClick:n[0]||(n[0]=e.withModifiers(l=>o.$router.push({name:t.user.type==="user"?"User Profile":"Organization",params:{_id:t.user._id}}),["stop"]))},null,8,r)):e.createCommentVNode("",!0),t.photo?e.createCommentVNode("",!0):(e.openBlock(),e.createBlock(i.default,{key:1,class:"radius-medium aspect-1x1 mn-r-thin h-100 w-auto",onClick:n[1]||(n[1]=e.withModifiers(l=>o.$router.push({name:"User Profile",params:{_id:t.user._id||t._id}}),["stop"]))})),e.createElementVNode("div",null,[e.createElementVNode("p",c,e.toDisplayString(t.name),1),e.createElementVNode("span",s,e.toDisplayString(t.phone||t.email),1)]),t.action||t.role?(e.openBlock(),e.createElementBlock("div",d,[t.role?(e.openBlock(),e.createElementBlock("span",m,e.toDisplayString(t.role),1)):e.createCommentVNode("",!0),t.action?(e.openBlock(),e.createElementBlock("button",{key:1,onClick:n[2]||(n[2]=e.withModifiers((...l)=>t.action.method&&t.action.method(...l),["stop"])),class:"h-2r w-2r t-white mn-l-thin capitalize t-medium radius-big bg-red"},[t.action.label.is?(e.openBlock(),e.createBlock(e.resolveDynamicComponent(t.action.label.is),e.normalizeProps(e.mergeProps({key:0},t.action.label.props)),null,16)):(e.openBlock(),e.createElementBlock(e.Fragment,{key:1},[e.createTextVNode(e.toDisplayString(t.action.label),1)],64))])):e.createCommentVNode("",!0)])):e.createCommentVNode("",!0)]))}};exports.default=u;
1
+ "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vue"),i=require("../../../icons/placeholders/PlaceholderUserpic.vue.cjs"),a={class:"flex-v-center flex-nowrap flex"},r=["src"],c={class:"h4"},s={class:"t-transp mn-r-small"},d={key:2,class:"mn-l-auto flex-stretch flex-v-center flex"},m={key:0,class:"flex-child flex-child-shrink-0 capitalize w-max t-medium radius-big pd-b-nano pd-t-nano pd-r-thin pd-l-thin bg-main"},u={__name:"CardUser",props:{_id:{type:String,default:null},user:{type:Object,required:!0},action:{type:Object},photo:{type:String,default:null},name:{type:String,default:"No name"},role:{type:String},phone:{type:String},email:{type:String}},setup(t){return(o,n)=>(e.openBlock(),e.createElementBlock("div",a,[t.photo?(e.openBlock(),e.createElementBlock("img",{key:0,loading:"lazy",src:(o.FILE_SERVER_URL||"")+t.photo,class:"radius-medium aspect-1x1 bg-white object-fit-cover mn-r-thin h-100 w-auto",onClick:n[0]||(n[0]=e.withModifiers(l=>o.$router.push({name:t.user.type==="user"?"User Profile":"Organization",params:{_id:t.user._id}}),["stop"]))},null,8,r)):e.createCommentVNode("",!0),t.photo?e.createCommentVNode("",!0):(e.openBlock(),e.createBlock(i.default,{key:1,class:"radius-medium aspect-1x1 mn-r-thin h-100 w-auto",onClick:n[1]||(n[1]=e.withModifiers(l=>o.$router.push({name:"User Profile",params:{_id:t.user._id||t._id}}),["stop"]))})),e.createElementVNode("div",null,[e.createElementVNode("p",c,e.toDisplayString(t.name),1),e.createElementVNode("span",s,e.toDisplayString(t.phone||t.email),1)]),t.action||t.role?(e.openBlock(),e.createElementBlock("div",d,[t.role?(e.openBlock(),e.createElementBlock("span",m,e.toDisplayString(t.role),1)):e.createCommentVNode("",!0),t.action?(e.openBlock(),e.createElementBlock("button",{key:1,onClick:n[2]||(n[2]=e.withModifiers((...l)=>t.action.method&&t.action.method(...l),["stop"])),class:"h-2r w-2r t-white mn-l-thin capitalize t-medium radius-big bg-red"},[t.action.label.is?(e.openBlock(),e.createBlock(e.resolveDynamicComponent(t.action.label.is),e.normalizeProps(e.mergeProps({key:0},t.action.label.props)),null,16)):(e.openBlock(),e.createElementBlock(e.Fragment,{key:1},[e.createTextVNode(e.toDisplayString(t.action.label),1)],64))])):e.createCommentVNode("",!0)])):e.createCommentVNode("",!0)]))}};exports.default=u;
@@ -6,7 +6,7 @@ const b = { class: "flex-v-center flex-nowrap flex" }, k = ["src"], x = { class:
6
6
  }, w = {
7
7
  key: 0,
8
8
  class: "flex-child flex-child-shrink-0 capitalize w-max t-medium radius-big pd-b-nano pd-t-nano pd-r-thin pd-l-thin bg-main"
9
- }, E = {
9
+ }, z = {
10
10
  __name: "CardUser",
11
11
  props: {
12
12
  _id: {
@@ -42,6 +42,7 @@ const b = { class: "flex-v-center flex-nowrap flex" }, k = ["src"], x = { class:
42
42
  return (o, i) => (t(), n("div", b, [
43
43
  e.photo ? (t(), n("img", {
44
44
  key: 0,
45
+ loading: "lazy",
45
46
  src: (o.FILE_SERVER_URL || "") + e.photo,
46
47
  class: "radius-medium aspect-1x1 bg-white object-fit-cover mn-r-thin h-100 w-auto",
47
48
  onClick: i[0] || (i[0] = s((r) => o.$router.push({
@@ -81,5 +82,5 @@ const b = { class: "flex-v-center flex-nowrap flex" }, k = ["src"], x = { class:
81
82
  }
82
83
  };
83
84
  export {
84
- E as default
85
+ z as default
85
86
  };
@@ -1 +1 @@
1
- "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vue");;/* empty css */;/* empty css */;/* empty css */const h=require("../../../../components/Dropdown/Dropdown.vue.cjs"),g=require("../../../../components/Completion/Completion.vue.cjs"),d=require("../../../../components/Menu/Menu.vue2.cjs"),l=require("../../../../components/Menu/MenuItem.vue.cjs"),p=require("../../../organizations/components/elements/ButtonToggleMembership.vue.cjs"),N=require("../../../reports/components/sections/FormReport.vue.cjs"),V=require("../../../organizations/components/blocks/Socials.vue.cjs"),B=require("../../../icons/entities/IconEvents.vue.cjs"),f=require("../../../icons/entities/IconGroups.vue.cjs"),w=require("../../../icons/entities/IconCommunity.vue.cjs"),C=require("../../../icons/navigation/IconEdit.vue.cjs"),E=require("../../../icons/placeholders/PlaceholderUserpic.vue.cjs"),_=require("vue-router"),o=require("../../../auth/views/store/auth.cjs"),t=require("../../store/users.cjs"),v=require("../../../organizations/store/memberships.cjs");require("./Profile.vue2.cjs");const x={key:0,class:"for-transition w-100"},y={key:0,class:"flex-center flex pd-medium radius-big bg-light uppercase t-semi w-100 h-100"},q={key:1,_id:"dash",class:"pd-b-extra pd-thin w-100"},S={class:"flex-center pos-relative flex flex-column t-center w-100 mn-b-semi radius-medium pd-medium bg-light"},U={class:"bg-black pd-thin radius-small"},M=e.createElementVNode("button",{class:"w-100 bg-black br-solid br-1px br-white-transp-20 t-white button-small button"}," Report ",-1),P=["src"],R={class:"mn-b-thin"},$={key:4,class:"mn-b-thin t-main t-semi"},D={class:"mn-b-small p-medium"},I={class:"mn-b-medium flex-center flex-nowrap flex"},F={class:"t-semi mn-b-small"},L={key:6,class:"mn-t-small mn-b-thin"},O=e.createElementVNode("span",null,"Events",-1),A=e.createElementVNode("span",null,"Groups",-1),j=e.createElementVNode("span",null,"Posts",-1),W=e.createElementVNode("span",null,"Wallet",-1),z=e.createElementVNode("span",null," Settings ",-1),G=e.createElementVNode("span",null," About ",-1),T=e.createElementVNode("span",{class:"t-red"}," Logout ",-1),H={__name:"Profile",setup(J){const a=_.useRoute(),n=_.useRouter(),u=e.ref(!1);e.onMounted(async()=>{await t.actions.read({_id:a.params._id,user:o.state.user._id}),u.value=!0});const m=({membership:i,status:r,target:s},c,k)=>{v.mutations.handleMembershipUpdate(t.state.current,i,r,s,c,k)};function b(){o.actions.logout(),n.push({name:"Sign In"})}return(i,r)=>u.value?(e.openBlock(),e.createElementBlock("div",x,[t.state.current.status==="removed"?(e.openBlock(),e.createElementBlock("div",y," Sorry, user has been removed. ")):(e.openBlock(),e.createElementBlock("div",q,[e.unref(a).params._id===o.state.user._id&&u.value?(e.openBlock(),e.createBlock(g.default,{key:0,user:o.state.user._id,target:t.state.current,cta:!0,text_cta:"Fill Profile",text:"Profile completed at",class:"mn-b-medium"},null,8,["user","target"])):e.createCommentVNode("",!0),e.createElementVNode("section",S,[e.unref(a).params._id&&e.unref(a).params._id!==o.state.user._id?(e.openBlock(),e.createBlock(h.default,{key:0,label:"...",align:"right",class:"cursor-pointer pos-absolute pos-r-0 pos-t-0 pd-thin radius-extra"},{default:e.withCtx(()=>[e.createElementVNode("section",U,[e.createVNode(N.default,{user:o.state.user._id,type:"user",target:t.state.current._id,text:"Report",class:"w-100"},{default:e.withCtx(()=>[M]),_:1},8,["user","target"]),o.state.user._id?(e.openBlock(),e.createBlock(p.default,{key:0,user:o.state.user._id,type:"user",role:"blocked",target:t.state.current._id,status:t.state.current.isBlocked,text:{create:"Block",remove:"Unblock"},onUpdateMembership:r[0]||(r[0]=s=>m(s,"isBlocked")),class:"t-white mn-t-thin bg-red"},null,8,["user","target","status"])):e.createCommentVNode("",!0)])]),_:1})):e.createCommentVNode("",!0),e.unref(a).params._id===o.state.user._id?(e.openBlock(),e.createBlock(C.default,{key:1,onClick:r[1]||(r[1]=s=>i.$router.push({name:"User Edit Profile",params:{_id:o.state.user._id}})),class:"cursor-pointer pos-absolute pos-t-regular pos-r-regular i-regular t-transp"})):e.createCommentVNode("",!0),t.state.current.profile.photo&&t.state.current.profile.photo.length>0?(e.openBlock(),e.createElementBlock("img",{key:2,src:(i.FILE_SERVER_URL||"")+t.state.current.profile.photo,class:"radius-extra bg-white mn-b-small object-fit-cover i-extra"},null,8,P)):(e.openBlock(),e.createBlock(E.default,{key:3,class:"radius-medium mn-b-small i-extra"})),e.createElementVNode("h3",R,e.toDisplayString(t.state.current.profile.name?t.state.current.profile.name:"Anonymous"),1),t.state.current.username?(e.openBlock(),e.createElementBlock("p",$," @"+e.toDisplayString(t.state.current.username?t.state.current.username:"Not specified"),1)):e.createCommentVNode("",!0),e.createElementVNode("p",D,e.toDisplayString(t.state.current.profile.description?t.state.current.profile.description:"Bio not specified"),1),e.createElementVNode("div",I,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(t.state.current.roles,(s,c)=>(e.openBlock(),e.createElementBlock("div",{class:e.normalizeClass(["pd-thin radius-small t-semi bg-white",{"mn-r-thin":c!==t.state.current.roles.length-1}])},e.toDisplayString(s.icon)+" "+e.toDisplayString(s.name),3))),256))]),e.createElementVNode("p",F," 👨‍👨‍👧‍👧 "+e.toDisplayString(t.state.current.numberOfSubscribers)+" followers ",1),o.state.user._id&&e.unref(a).params._id&&e.unref(a).params._id!==o.state.user._id?(e.openBlock(),e.createBlock(p.default,{key:5,user:o.state.user._id,type:"user",role:"subscriber",target:t.state.current._id,status:t.state.current.isSubscriber,text:{create:"Follow",remove:"Unfollow"},onUpdateMembership:r[2]||(r[2]=s=>m(s,"isSubscriber","numberOfSubscribers")),class:"w-min mn-b-medium mn-r-auto mn-l-auto"},null,8,["user","target","status"])):e.createCommentVNode("",!0),Object.values(t.state.current.socials).some(s=>s)?(e.openBlock(),e.createElementBlock("h4",L," Find Me in Socials ")):e.createCommentVNode("",!0),e.createVNode(V.default,{telegram:t.state.current.socials.telegram,facebook:t.state.current.socials.facebook,instagram:t.state.current.socials.instagram,twitter:t.state.current.socials.twitter,class:"mn-r-auto mn-l-auto"},null,8,["telegram","facebook","instagram","twitter"])]),e.createVNode(d.default,{class:"mn-b-regular bg-light"},{default:e.withCtx(()=>[e.createVNode(l.default,{onClick:r[3]||(r[3]=s=>e.unref(n).push({name:"User Events",params:{_id:e.unref(a).params._id}})),class:"cursor-pointer"},{default:e.withCtx(()=>[e.createVNode(B.default,{class:"i-semi",icon:!0,fill:"rgb(var(--white))"}),O]),_:1}),e.createVNode(l.default,{onClick:r[4]||(r[4]=s=>e.unref(n).push({name:"User Organizations",params:{_id:e.unref(a).params._id}})),class:"cursor-pointer"},{default:e.withCtx(()=>[e.createVNode(f.default,{class:"i-semi",icon:!0}),A]),_:1}),e.createVNode(l.default,{onClick:r[5]||(r[5]=s=>e.unref(n).push({name:"User Blogposts",params:{_id:e.unref(a).params._id}})),class:"cursor-pointer"},{default:e.withCtx(()=>[e.createVNode(w.default,{class:"i-semi",icon:!0}),j]),_:1})]),_:1}),i.APP_NAME==="Weeder"?(e.openBlock(),e.createBlock(d.default,{key:1,class:"mn-b-regular bg-light"},{default:e.withCtx(()=>[e.createVNode(l.default,{onClick:r[6]||(r[6]=s=>e.unref(n).push({name:"User Wallet",params:{_id:e.unref(a).params._id}})),class:"cursor-pointer"},{default:e.withCtx(()=>[e.createVNode(f.default,{class:"i-semi",icon:!0}),W]),_:1})]),_:1})):e.createCommentVNode("",!0),o.state.user._id===e.unref(a).params._id?(e.openBlock(),e.createBlock(d.default,{key:2,class:"bg-light"},{default:e.withCtx(()=>[e.createVNode(l.default,{onClick:r[7]||(r[7]=s=>e.unref(n).push({name:"User Edit Profile",params:{_id:e.unref(a).params._id}})),class:"cursor-pointer"},{default:e.withCtx(()=>[z]),_:1}),e.createVNode(l.default,{onClick:r[8]||(r[8]=s=>e.unref(n).push({name:"Legal",params:{_id:e.unref(a).params._id}})),class:"cursor-pointer"},{default:e.withCtx(()=>[G]),_:1}),e.createVNode(l.default,{class:"cursor-pointer",onClick:r[9]||(r[9]=s=>b())},{default:e.withCtx(()=>[T]),_:1})]),_:1})):e.createCommentVNode("",!0)]))])):e.createCommentVNode("",!0)}};exports.default=H;
1
+ "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vue");;/* empty css */;/* empty css */;/* empty css */const h=require("../../../../components/Dropdown/Dropdown.vue.cjs"),g=require("../../../../components/Completion/Completion.vue.cjs"),d=require("../../../../components/Menu/Menu.vue2.cjs"),l=require("../../../../components/Menu/MenuItem.vue.cjs"),p=require("../../../organizations/components/elements/ButtonToggleMembership.vue.cjs"),N=require("../../../reports/components/sections/FormReport.vue.cjs"),V=require("../../../organizations/components/blocks/Socials.vue.cjs"),B=require("../../../icons/entities/IconEvents.vue.cjs"),f=require("../../../icons/entities/IconGroups.vue.cjs"),w=require("../../../icons/entities/IconCommunity.vue.cjs"),C=require("../../../icons/navigation/IconEdit.vue.cjs"),E=require("../../../icons/placeholders/PlaceholderUserpic.vue.cjs"),_=require("vue-router"),o=require("../../../auth/views/store/auth.cjs"),t=require("../../store/users.cjs"),v=require("../../../organizations/store/memberships.cjs");require("./Profile.vue2.cjs");const x={key:0,class:"for-transition w-100"},y={key:0,class:"flex-center flex pd-medium radius-big bg-light uppercase t-semi w-100 h-100"},q={key:1,_id:"dash",class:"pd-b-extra pd-thin w-100"},S={class:"flex-center pos-relative flex flex-column t-center w-100 mn-b-semi radius-medium pd-medium bg-light"},U={class:"bg-black pd-thin radius-small"},M=e.createElementVNode("button",{class:"w-100 bg-black br-solid br-1px br-white-transp-20 t-white button-small button"}," Report ",-1),P=["src"],R={class:"mn-b-thin"},$={key:4,class:"mn-b-thin t-main t-semi"},D={class:"mn-b-small p-medium"},I={class:"mn-b-medium flex-center flex-nowrap flex"},F={class:"t-semi mn-b-small"},L={key:6,class:"mn-t-small mn-b-thin"},O=e.createElementVNode("span",null,"Events",-1),A=e.createElementVNode("span",null,"Groups",-1),j=e.createElementVNode("span",null,"Posts",-1),z=e.createElementVNode("span",null,"Wallet",-1),W=e.createElementVNode("span",null," Settings ",-1),G=e.createElementVNode("span",null," About ",-1),T=e.createElementVNode("span",{class:"t-red"}," Logout ",-1),H={__name:"Profile",setup(J){const a=_.useRoute(),n=_.useRouter(),u=e.ref(!1);e.onMounted(async()=>{await t.actions.read({_id:a.params._id,user:o.state.user._id}),u.value=!0});const m=({membership:i,status:r,target:s},c,k)=>{v.mutations.handleMembershipUpdate(t.state.current,i,r,s,c,k)};function b(){o.actions.logout(),n.push({name:"Sign In"})}return(i,r)=>u.value?(e.openBlock(),e.createElementBlock("div",x,[t.state.current.status==="removed"?(e.openBlock(),e.createElementBlock("div",y," Sorry, user has been removed. ")):(e.openBlock(),e.createElementBlock("div",q,[e.unref(a).params._id===o.state.user._id&&u.value?(e.openBlock(),e.createBlock(g.default,{key:0,user:o.state.user._id,target:t.state.current,cta:!0,text_cta:"Fill Profile",text:"Profile completed at",class:"mn-b-medium"},null,8,["user","target"])):e.createCommentVNode("",!0),e.createElementVNode("section",S,[e.unref(a).params._id&&e.unref(a).params._id!==o.state.user._id?(e.openBlock(),e.createBlock(h.default,{key:0,label:"...",align:"right",class:"cursor-pointer pos-absolute pos-r-0 pos-t-0 pd-thin radius-extra"},{default:e.withCtx(()=>[e.createElementVNode("section",U,[e.createVNode(N.default,{user:o.state.user._id,type:"user",target:t.state.current._id,text:"Report",class:"w-100"},{default:e.withCtx(()=>[M]),_:1},8,["user","target"]),o.state.user._id?(e.openBlock(),e.createBlock(p.default,{key:0,user:o.state.user._id,type:"user",role:"blocked",target:t.state.current._id,status:t.state.current.isBlocked,text:{create:"Block",remove:"Unblock"},onUpdateMembership:r[0]||(r[0]=s=>m(s,"isBlocked")),class:"t-white mn-t-thin bg-red"},null,8,["user","target","status"])):e.createCommentVNode("",!0)])]),_:1})):e.createCommentVNode("",!0),e.unref(a).params._id===o.state.user._id?(e.openBlock(),e.createBlock(C.default,{key:1,onClick:r[1]||(r[1]=s=>i.$router.push({name:"User Edit Profile",params:{_id:o.state.user._id}})),class:"cursor-pointer pos-absolute pos-t-regular pos-r-regular i-regular t-transp"})):e.createCommentVNode("",!0),t.state.current.profile.photo&&t.state.current.profile.photo.length>0?(e.openBlock(),e.createElementBlock("img",{key:2,loading:"lazy",src:(i.FILE_SERVER_URL||"")+t.state.current.profile.photo,class:"radius-extra bg-white mn-b-small object-fit-cover i-extra"},null,8,P)):(e.openBlock(),e.createBlock(E.default,{key:3,class:"radius-medium mn-b-small i-extra"})),e.createElementVNode("h3",R,e.toDisplayString(t.state.current.profile.name?t.state.current.profile.name:"Anonymous"),1),t.state.current.username?(e.openBlock(),e.createElementBlock("p",$," @"+e.toDisplayString(t.state.current.username?t.state.current.username:"Not specified"),1)):e.createCommentVNode("",!0),e.createElementVNode("p",D,e.toDisplayString(t.state.current.profile.description?t.state.current.profile.description:"Bio not specified"),1),e.createElementVNode("div",I,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(t.state.current.roles,(s,c)=>(e.openBlock(),e.createElementBlock("div",{class:e.normalizeClass(["pd-thin radius-small t-semi bg-white",{"mn-r-thin":c!==t.state.current.roles.length-1}])},e.toDisplayString(s.icon)+" "+e.toDisplayString(s.name),3))),256))]),e.createElementVNode("p",F," 👨‍👨‍👧‍👧 "+e.toDisplayString(t.state.current.numberOfSubscribers)+" followers ",1),o.state.user._id&&e.unref(a).params._id&&e.unref(a).params._id!==o.state.user._id?(e.openBlock(),e.createBlock(p.default,{key:5,user:o.state.user._id,type:"user",role:"subscriber",target:t.state.current._id,status:t.state.current.isSubscriber,text:{create:"Follow",remove:"Unfollow"},onUpdateMembership:r[2]||(r[2]=s=>m(s,"isSubscriber","numberOfSubscribers")),class:"w-min mn-b-medium mn-r-auto mn-l-auto"},null,8,["user","target","status"])):e.createCommentVNode("",!0),Object.values(t.state.current.socials).some(s=>s)?(e.openBlock(),e.createElementBlock("h4",L," Find Me in Socials ")):e.createCommentVNode("",!0),e.createVNode(V.default,{telegram:t.state.current.socials.telegram,facebook:t.state.current.socials.facebook,instagram:t.state.current.socials.instagram,twitter:t.state.current.socials.twitter,class:"mn-r-auto mn-l-auto"},null,8,["telegram","facebook","instagram","twitter"])]),e.createVNode(d.default,{class:"mn-b-regular bg-light"},{default:e.withCtx(()=>[e.createVNode(l.default,{onClick:r[3]||(r[3]=s=>e.unref(n).push({name:"User Events",params:{_id:e.unref(a).params._id}})),class:"cursor-pointer"},{default:e.withCtx(()=>[e.createVNode(B.default,{class:"i-semi",icon:!0,fill:"rgb(var(--white))"}),O]),_:1}),e.createVNode(l.default,{onClick:r[4]||(r[4]=s=>e.unref(n).push({name:"User Organizations",params:{_id:e.unref(a).params._id}})),class:"cursor-pointer"},{default:e.withCtx(()=>[e.createVNode(f.default,{class:"i-semi",icon:!0}),A]),_:1}),e.createVNode(l.default,{onClick:r[5]||(r[5]=s=>e.unref(n).push({name:"User Blogposts",params:{_id:e.unref(a).params._id}})),class:"cursor-pointer"},{default:e.withCtx(()=>[e.createVNode(w.default,{class:"i-semi",icon:!0}),j]),_:1})]),_:1}),i.APP_NAME==="Weeder"?(e.openBlock(),e.createBlock(d.default,{key:1,class:"mn-b-regular bg-light"},{default:e.withCtx(()=>[e.createVNode(l.default,{onClick:r[6]||(r[6]=s=>e.unref(n).push({name:"User Wallet",params:{_id:e.unref(a).params._id}})),class:"cursor-pointer"},{default:e.withCtx(()=>[e.createVNode(f.default,{class:"i-semi",icon:!0}),z]),_:1})]),_:1})):e.createCommentVNode("",!0),o.state.user._id===e.unref(a).params._id?(e.openBlock(),e.createBlock(d.default,{key:2,class:"bg-light"},{default:e.withCtx(()=>[e.createVNode(l.default,{onClick:r[7]||(r[7]=s=>e.unref(n).push({name:"User Edit Profile",params:{_id:e.unref(a).params._id}})),class:"cursor-pointer"},{default:e.withCtx(()=>[W]),_:1}),e.createVNode(l.default,{onClick:r[8]||(r[8]=s=>e.unref(n).push({name:"Legal",params:{_id:e.unref(a).params._id}})),class:"cursor-pointer"},{default:e.withCtx(()=>[G]),_:1}),e.createVNode(l.default,{class:"cursor-pointer",onClick:r[9]||(r[9]=s=>b())},{default:e.withCtx(()=>[T]),_:1})]),_:1})):e.createCommentVNode("",!0)]))])):e.createCommentVNode("",!0)}};exports.default=H;
@@ -15,9 +15,9 @@ import N from "../../../icons/entities/IconCommunity.vue.js";
15
15
  import A from "../../../icons/navigation/IconEdit.vue.js";
16
16
  import I from "../../../icons/placeholders/PlaceholderUserpic.vue.js";
17
17
  import { useRoute as O, useRouter as V } from "vue-router";
18
- import { state as l, actions as W } from "../../../auth/views/store/auth.js";
19
- import { actions as j, state as e } from "../../store/users.js";
20
- import { mutations as z } from "../../../organizations/store/memberships.js";
18
+ import { state as l, actions as z } from "../../../auth/views/store/auth.js";
19
+ import { actions as W, state as e } from "../../store/users.js";
20
+ import { mutations as j } from "../../../organizations/store/memberships.js";
21
21
  import "./Profile.vue2.js";
22
22
  const G = {
23
23
  key: 0,
@@ -40,13 +40,13 @@ const G = {
40
40
  setup(ue) {
41
41
  const o = O(), p = V(), g = U(!1);
42
42
  C(async () => {
43
- await j.read({ _id: o.params._id, user: l.user._id }), g.value = !0;
43
+ await W.read({ _id: o.params._id, user: l.user._id }), g.value = !0;
44
44
  });
45
45
  const v = ({ membership: b, status: s, target: t }, h, x) => {
46
- z.handleMembershipUpdate(e.current, b, s, t, h, x);
46
+ j.handleMembershipUpdate(e.current, b, s, t, h, x);
47
47
  };
48
48
  function $() {
49
- W.logout(), p.push({ name: "Sign In" });
49
+ z.logout(), p.push({ name: "Sign In" });
50
50
  }
51
51
  return (b, s) => g.value ? (i(), c("div", G, [
52
52
  e.current.status === "removed" ? (i(), c("div", D, " Sorry, user has been removed. ")) : (i(), c("div", q, [
@@ -107,6 +107,7 @@ const G = {
107
107
  })) : m("", !0),
108
108
  e.current.profile.photo && e.current.profile.photo.length > 0 ? (i(), c("img", {
109
109
  key: 2,
110
+ loading: "lazy",
110
111
  src: (b.FILE_SERVER_URL || "") + e.current.profile.photo,
111
112
  class: "radius-extra bg-white mn-b-small object-fit-cover i-extra"
112
113
  }, null, 8, Q)) : (i(), d(I, {
@@ -1 +1 @@
1
- "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vue"),p=require("vue-i18n"),h=require("../../localization/wallet.json.cjs"),l=require("../../../../icons/navigation/IconAdd.vue.cjs"),w=e.createElementVNode("img",{src:"/icons/metamask.svg",class:"mn-r-small i-big"},null,-1),f={class:"h4 uppercase w-100"},k=e.createElementVNode("img",{src:"/icons/metamask.svg",class:"mn-r-small i-big"},null,-1),g={class:"h4 uppercase w-100"},v=e.createElementVNode("img",{src:"/icons/metamask.svg",class:"mn-r-small i-big"},null,-1),b={class:"h4 uppercase w-100"},_="0xE11702CF04621D395E75680C29d3dbF81484e875",y="WDT",E=8,x="https://weeder.delivery/logo-token.png",M={__name:"ConnectMetamask",setup(N){const a=e.ref(!1),o=e.ref(!1),r=e.ref(!1),c=e.ref(null),i=e.ref({}),u=async()=>{if(typeof window.ethereum<"u")try{await window.ethereum.request({method:"eth_requestAccounts"}),s()}catch(t){console.error("Ошибка при подключении MetaMask:",t)}else window.open("https://metamask.io/","_blank")},s=async()=>{if(typeof window.ethereum<"u"){a.value=!0;const t=await window.ethereum.request({method:"eth_chainId"});o.value=t==="0x89"||t==="0x13881"}else a.value=!1},d=async()=>{try{await window.ethereum.request({method:"wallet_switchEthereumChain",params:[{chainId:"0x89"}]}),s()}catch(t){console.error("Ошибка при переключении на Polygon:",t)}},m=async()=>{i.value["pointer-events"]="none",c.value=null,r.value=!0;try{await ethereum.request({method:"wallet_watchAsset",params:{type:"ERC20",options:{address:_,symbol:y,decimals:E,image:x}}}),i.value["background-color"]="#009911",r.value=!1}catch(t){c.value=t.toString()}},{t:n}=p.useI18n({useScope:"global",...h.default});return e.onMounted(()=>{s()}),(t,V)=>(e.openBlock(),e.createElementBlock("div",null,[a.value?(e.openBlock(),e.createElementBlock(e.Fragment,{key:1},[o.value?e.createCommentVNode("",!0):(e.openBlock(),e.createElementBlock("button",{key:0,onClick:d,class:"transition-ease-in-out cursor-pointer hover-bg-white hover-t-black bg-black t-white radius-big flex-v-center flex-nowrap flex t-left uppercase w-100 pd-small"},[k,e.createElementVNode("span",g,e.toDisplayString(e.unref(n)("wallet.switchToPolygon")),1),e.createVNode(l.default,{class:"t-transp",fill:"rgb(var(--white))"})])),o.value?(e.openBlock(),e.createElementBlock("button",{key:1,onClick:m,class:"transition-ease-in-out cursor-pointer hover-bg-white hover-t-black bg-black radius-big flex-v-center flex-nowrap flex t-left uppercase w-100 pd-small t-white"},[v,e.createElementVNode("span",b,e.toDisplayString(e.unref(n)("wallet.addToken")),1),e.createVNode(l.default,{class:"hover-fill-black fill-white t-transp"})])):e.createCommentVNode("",!0)],64)):(e.openBlock(),e.createElementBlock("button",{key:0,onClick:u,class:"transition-ease-in-out cursor-pointer bg-black radius-big flex-v-center flex-nowrap flex t-left uppercase w-100 pd-small t-white"},[w,e.createElementVNode("span",f,e.toDisplayString(e.unref(n)("wallet.connectMetaMask")),1),e.createVNode(l.default,{class:"t-transp",fill:"rgb(var(--white))"})]))]))}};exports.default=M;
1
+ "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vue"),p=require("vue-i18n"),h=require("../../localization/wallet.json.cjs"),l=require("../../../../icons/navigation/IconAdd.vue.cjs"),w=e.createElementVNode("img",{loading:"lazy",src:"/icons/metamask.svg",class:"mn-r-small i-big"},null,-1),f={class:"h4 uppercase w-100"},k=e.createElementVNode("img",{loading:"lazy",src:"/icons/metamask.svg",class:"mn-r-small i-big"},null,-1),g={class:"h4 uppercase w-100"},v=e.createElementVNode("img",{loading:"lazy",src:"/icons/metamask.svg",class:"mn-r-small i-big"},null,-1),b={class:"h4 uppercase w-100"},y="0xE11702CF04621D395E75680C29d3dbF81484e875",_="WDT",E=8,x="https://weeder.delivery/logo-token.png",M={__name:"ConnectMetamask",setup(N){const a=e.ref(!1),o=e.ref(!1),r=e.ref(!1),c=e.ref(null),i=e.ref({}),u=async()=>{if(typeof window.ethereum<"u")try{await window.ethereum.request({method:"eth_requestAccounts"}),n()}catch(t){console.error("Ошибка при подключении MetaMask:",t)}else window.open("https://metamask.io/","_blank")},n=async()=>{if(typeof window.ethereum<"u"){a.value=!0;const t=await window.ethereum.request({method:"eth_chainId"});o.value=t==="0x89"||t==="0x13881"}else a.value=!1},d=async()=>{try{await window.ethereum.request({method:"wallet_switchEthereumChain",params:[{chainId:"0x89"}]}),n()}catch(t){console.error("Ошибка при переключении на Polygon:",t)}},m=async()=>{i.value["pointer-events"]="none",c.value=null,r.value=!0;try{await ethereum.request({method:"wallet_watchAsset",params:{type:"ERC20",options:{address:y,symbol:_,decimals:E,image:x}}}),i.value["background-color"]="#009911",r.value=!1}catch(t){c.value=t.toString()}},{t:s}=p.useI18n({useScope:"global",...h.default});return e.onMounted(()=>{n()}),(t,V)=>(e.openBlock(),e.createElementBlock("div",null,[a.value?(e.openBlock(),e.createElementBlock(e.Fragment,{key:1},[o.value?e.createCommentVNode("",!0):(e.openBlock(),e.createElementBlock("button",{key:0,onClick:d,class:"transition-ease-in-out cursor-pointer hover-bg-white hover-t-black bg-black t-white radius-big flex-v-center flex-nowrap flex t-left uppercase w-100 pd-small"},[k,e.createElementVNode("span",g,e.toDisplayString(e.unref(s)("wallet.switchToPolygon")),1),e.createVNode(l.default,{class:"t-transp",fill:"rgb(var(--white))"})])),o.value?(e.openBlock(),e.createElementBlock("button",{key:1,onClick:m,class:"transition-ease-in-out cursor-pointer hover-bg-white hover-t-black bg-black radius-big flex-v-center flex-nowrap flex t-left uppercase w-100 pd-small t-white"},[v,e.createElementVNode("span",b,e.toDisplayString(e.unref(s)("wallet.addToken")),1),e.createVNode(l.default,{class:"hover-fill-black fill-white t-transp"})])):e.createCommentVNode("",!0)],64)):(e.openBlock(),e.createElementBlock("button",{key:0,onClick:u,class:"transition-ease-in-out cursor-pointer bg-black radius-big flex-v-center flex-nowrap flex t-left uppercase w-100 pd-small t-white"},[w,e.createElementVNode("span",f,e.toDisplayString(e.unref(s)("wallet.connectMetaMask")),1),e.createVNode(l.default,{class:"t-transp",fill:"rgb(var(--white))"})]))]))}};exports.default=M;
@@ -3,18 +3,21 @@ import { useI18n as y } from "vue-i18n";
3
3
  import x from "../../localization/wallet.json.js";
4
4
  import d from "../../../../icons/navigation/IconAdd.vue.js";
5
5
  const M = /* @__PURE__ */ t("img", {
6
+ loading: "lazy",
6
7
  src: "/icons/metamask.svg",
7
8
  class: "mn-r-small i-big"
8
9
  }, null, -1), C = { class: "h4 uppercase w-100" }, E = /* @__PURE__ */ t("img", {
10
+ loading: "lazy",
9
11
  src: "/icons/metamask.svg",
10
12
  class: "mn-r-small i-big"
11
13
  }, null, -1), I = { class: "h4 uppercase w-100" }, q = /* @__PURE__ */ t("img", {
14
+ loading: "lazy",
12
15
  src: "/icons/metamask.svg",
13
16
  class: "mn-r-small i-big"
14
- }, null, -1), D = { class: "h4 uppercase w-100" }, S = "0xE11702CF04621D395E75680C29d3dbF81484e875", T = "WDT", P = 8, A = "https://weeder.delivery/logo-token.png", $ = {
17
+ }, null, -1), D = { class: "h4 uppercase w-100" }, S = "0xE11702CF04621D395E75680C29d3dbF81484e875", T = "WDT", P = 8, z = "https://weeder.delivery/logo-token.png", R = {
15
18
  __name: "ConnectMetamask",
16
- setup(F) {
17
- const n = s(!1), l = s(!1), h = s(!1), p = s(null), w = s({}), k = async () => {
19
+ setup(A) {
20
+ const n = s(!1), l = s(!1), h = s(!1), p = s(null), w = s({}), g = async () => {
18
21
  if (typeof window.ethereum < "u")
19
22
  try {
20
23
  await window.ethereum.request({ method: "eth_requestAccounts" }), r();
@@ -30,7 +33,7 @@ const M = /* @__PURE__ */ t("img", {
30
33
  l.value = e === "0x89" || e === "0x13881";
31
34
  } else
32
35
  n.value = !1;
33
- }, g = async () => {
36
+ }, k = async () => {
34
37
  try {
35
38
  await window.ethereum.request({
36
39
  method: "wallet_switchEthereumChain",
@@ -50,7 +53,7 @@ const M = /* @__PURE__ */ t("img", {
50
53
  address: S,
51
54
  symbol: T,
52
55
  decimals: P,
53
- image: A
56
+ image: z
54
57
  }
55
58
  }
56
59
  }), w.value["background-color"] = "#009911", h.value = !1;
@@ -63,11 +66,11 @@ const M = /* @__PURE__ */ t("img", {
63
66
  });
64
67
  return v(() => {
65
68
  r();
66
- }), (e, N) => (a(), o("div", null, [
69
+ }), (e, F) => (a(), o("div", null, [
67
70
  n.value ? (a(), o(_, { key: 1 }, [
68
71
  l.value ? f("", !0) : (a(), o("button", {
69
72
  key: 0,
70
- onClick: g,
73
+ onClick: k,
71
74
  class: "transition-ease-in-out cursor-pointer hover-bg-white hover-t-black bg-black t-white radius-big flex-v-center flex-nowrap flex t-left uppercase w-100 pd-small"
72
75
  }, [
73
76
  E,
@@ -88,7 +91,7 @@ const M = /* @__PURE__ */ t("img", {
88
91
  ])) : f("", !0)
89
92
  ], 64)) : (a(), o("button", {
90
93
  key: 0,
91
- onClick: k,
94
+ onClick: g,
92
95
  class: "transition-ease-in-out cursor-pointer bg-black radius-big flex-v-center flex-nowrap flex t-left uppercase w-100 pd-small t-white"
93
96
  }, [
94
97
  M,
@@ -102,5 +105,5 @@ const M = /* @__PURE__ */ t("img", {
102
105
  }
103
106
  };
104
107
  export {
105
- $ as default
108
+ R as default
106
109
  };