@ozdao/prometheus-framework 0.2.198 → 0.2.199

Sign up to get free protection for your applications and to get access to all the features.
Files changed (463) 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/@vuepic/vue-datepicker/dist/vue-datepicker.cjs +1 -0
  6. package/dist/node_modules/@vuepic/vue-datepicker/dist/vue-datepicker.js +5042 -0
  7. package/dist/node_modules/date-fns/_lib/addLeadingZeros.cjs +1 -0
  8. package/dist/node_modules/date-fns/_lib/addLeadingZeros.js +7 -0
  9. package/dist/node_modules/date-fns/_lib/defaultOptions.cjs +1 -0
  10. package/dist/node_modules/date-fns/_lib/defaultOptions.js +7 -0
  11. package/dist/node_modules/date-fns/_lib/format/formatters.cjs +1 -0
  12. package/dist/node_modules/date-fns/_lib/format/formatters.js +518 -0
  13. package/dist/node_modules/date-fns/_lib/format/lightFormatters.cjs +1 -0
  14. package/dist/node_modules/date-fns/_lib/format/lightFormatters.js +59 -0
  15. package/dist/node_modules/date-fns/_lib/format/longFormatters.cjs +1 -0
  16. package/dist/node_modules/date-fns/_lib/format/longFormatters.js +52 -0
  17. package/dist/node_modules/date-fns/_lib/getTimezoneOffsetInMilliseconds.cjs +1 -0
  18. package/dist/node_modules/date-fns/_lib/getTimezoneOffsetInMilliseconds.js +18 -0
  19. package/dist/node_modules/date-fns/_lib/protectedTokens.cjs +1 -0
  20. package/dist/node_modules/date-fns/_lib/protectedTokens.js +20 -0
  21. package/dist/node_modules/date-fns/add.cjs +1 -0
  22. package/dist/node_modules/date-fns/add.js +20 -0
  23. package/dist/node_modules/date-fns/addDays.cjs +1 -0
  24. package/dist/node_modules/date-fns/addDays.js +10 -0
  25. package/dist/node_modules/date-fns/addHours.cjs +1 -0
  26. package/dist/node_modules/date-fns/addHours.js +9 -0
  27. package/dist/node_modules/date-fns/addMilliseconds.cjs +1 -0
  28. package/dist/node_modules/date-fns/addMilliseconds.js +10 -0
  29. package/dist/node_modules/date-fns/addMonths.cjs +1 -0
  30. package/dist/node_modules/date-fns/addMonths.js +20 -0
  31. package/dist/node_modules/date-fns/addQuarters.cjs +1 -0
  32. package/dist/node_modules/date-fns/addQuarters.js +9 -0
  33. package/dist/node_modules/date-fns/addYears.cjs +1 -0
  34. package/dist/node_modules/date-fns/addYears.js +8 -0
  35. package/dist/node_modules/date-fns/compareAsc.cjs +1 -0
  36. package/dist/node_modules/date-fns/compareAsc.js +9 -0
  37. package/dist/node_modules/date-fns/constants.cjs +1 -0
  38. package/dist/node_modules/date-fns/constants.js +8 -0
  39. package/dist/node_modules/date-fns/constructFrom.cjs +1 -0
  40. package/dist/node_modules/date-fns/constructFrom.js +7 -0
  41. package/dist/node_modules/date-fns/differenceInCalendarDays.cjs +1 -0
  42. package/dist/node_modules/date-fns/differenceInCalendarDays.js +11 -0
  43. package/dist/node_modules/date-fns/differenceInCalendarYears.cjs +1 -0
  44. package/dist/node_modules/date-fns/differenceInCalendarYears.js +9 -0
  45. package/dist/node_modules/date-fns/differenceInYears.cjs +1 -0
  46. package/dist/node_modules/date-fns/differenceInYears.js +13 -0
  47. package/dist/node_modules/date-fns/eachDayOfInterval.cjs +1 -0
  48. package/dist/node_modules/date-fns/eachDayOfInterval.js +16 -0
  49. package/dist/node_modules/date-fns/eachQuarterOfInterval.cjs +1 -0
  50. package/dist/node_modules/date-fns/eachQuarterOfInterval.js +17 -0
  51. package/dist/node_modules/date-fns/endOfQuarter.cjs +1 -0
  52. package/dist/node_modules/date-fns/endOfQuarter.js +9 -0
  53. package/dist/node_modules/date-fns/endOfWeek.cjs +1 -0
  54. package/dist/node_modules/date-fns/endOfWeek.js +11 -0
  55. package/dist/node_modules/date-fns/endOfYear.cjs +1 -0
  56. package/dist/node_modules/date-fns/endOfYear.js +9 -0
  57. package/dist/node_modules/date-fns/format.cjs +1 -0
  58. package/dist/node_modules/date-fns/format.js +59 -0
  59. package/dist/node_modules/date-fns/getDay.cjs +1 -0
  60. package/dist/node_modules/date-fns/getDay.js +8 -0
  61. package/dist/node_modules/date-fns/getDayOfYear.cjs +1 -0
  62. package/dist/node_modules/date-fns/getDayOfYear.js +11 -0
  63. package/dist/node_modules/date-fns/getDaysInMonth.cjs +1 -0
  64. package/dist/node_modules/date-fns/getDaysInMonth.js +10 -0
  65. package/dist/node_modules/date-fns/getDefaultOptions.cjs +1 -0
  66. package/dist/node_modules/date-fns/getDefaultOptions.js +8 -0
  67. package/dist/node_modules/date-fns/getHours.cjs +1 -0
  68. package/dist/node_modules/date-fns/getHours.js +8 -0
  69. package/dist/node_modules/date-fns/getISODay.cjs +1 -0
  70. package/dist/node_modules/date-fns/getISODay.js +9 -0
  71. package/dist/node_modules/date-fns/getISOWeek.cjs +1 -0
  72. package/dist/node_modules/date-fns/getISOWeek.js +12 -0
  73. package/dist/node_modules/date-fns/getISOWeekYear.cjs +1 -0
  74. package/dist/node_modules/date-fns/getISOWeekYear.js +15 -0
  75. package/dist/node_modules/date-fns/getMinutes.cjs +1 -0
  76. package/dist/node_modules/date-fns/getMinutes.js +8 -0
  77. package/dist/node_modules/date-fns/getMonth.cjs +1 -0
  78. package/dist/node_modules/date-fns/getMonth.js +8 -0
  79. package/dist/node_modules/date-fns/getQuarter.cjs +1 -0
  80. package/dist/node_modules/date-fns/getQuarter.js +9 -0
  81. package/dist/node_modules/date-fns/getSeconds.cjs +1 -0
  82. package/dist/node_modules/date-fns/getSeconds.js +8 -0
  83. package/dist/node_modules/date-fns/getWeek.cjs +1 -0
  84. package/dist/node_modules/date-fns/getWeek.js +12 -0
  85. package/dist/node_modules/date-fns/getWeekYear.cjs +1 -0
  86. package/dist/node_modules/date-fns/getWeekYear.js +17 -0
  87. package/dist/node_modules/date-fns/getYear.cjs +1 -0
  88. package/dist/node_modules/date-fns/getYear.js +8 -0
  89. package/dist/node_modules/date-fns/isAfter.cjs +1 -0
  90. package/dist/node_modules/date-fns/isAfter.js +9 -0
  91. package/dist/node_modules/date-fns/isBefore.cjs +1 -0
  92. package/dist/node_modules/date-fns/isBefore.js +9 -0
  93. package/dist/node_modules/date-fns/isDate.cjs +1 -0
  94. package/dist/node_modules/date-fns/isDate.js +7 -0
  95. package/dist/node_modules/date-fns/isEqual.cjs +1 -0
  96. package/dist/node_modules/date-fns/isEqual.js +9 -0
  97. package/dist/node_modules/date-fns/isSameQuarter.cjs +1 -0
  98. package/dist/node_modules/date-fns/isSameQuarter.js +9 -0
  99. package/dist/node_modules/date-fns/isValid.cjs +1 -0
  100. package/dist/node_modules/date-fns/isValid.js +12 -0
  101. package/dist/node_modules/date-fns/locale/_lib/buildFormatLongFn.cjs +1 -0
  102. package/dist/node_modules/date-fns/locale/_lib/buildFormatLongFn.js +9 -0
  103. package/dist/node_modules/date-fns/locale/_lib/buildLocalizeFn.cjs +1 -0
  104. package/dist/node_modules/date-fns/locale/_lib/buildLocalizeFn.js +18 -0
  105. package/dist/node_modules/date-fns/locale/_lib/buildMatchFn.cjs +1 -0
  106. package/dist/node_modules/date-fns/locale/_lib/buildMatchFn.js +31 -0
  107. package/dist/node_modules/date-fns/locale/_lib/buildMatchPatternFn.cjs +1 -0
  108. package/dist/node_modules/date-fns/locale/_lib/buildMatchPatternFn.js +15 -0
  109. package/dist/node_modules/date-fns/locale/en-US/_lib/formatDistance.cjs +1 -0
  110. package/dist/node_modules/date-fns/locale/en-US/_lib/formatDistance.js +70 -0
  111. package/dist/node_modules/date-fns/locale/en-US/_lib/formatLong.cjs +1 -0
  112. package/dist/node_modules/date-fns/locale/en-US/_lib/formatLong.js +33 -0
  113. package/dist/node_modules/date-fns/locale/en-US/_lib/formatRelative.cjs +1 -0
  114. package/dist/node_modules/date-fns/locale/en-US/_lib/formatRelative.js +11 -0
  115. package/dist/node_modules/date-fns/locale/en-US/_lib/localize.cjs +1 -0
  116. package/dist/node_modules/date-fns/locale/en-US/_lib/localize.js +155 -0
  117. package/dist/node_modules/date-fns/locale/en-US/_lib/match.cjs +1 -0
  118. package/dist/node_modules/date-fns/locale/en-US/_lib/match.js +110 -0
  119. package/dist/node_modules/date-fns/locale/en-US.cjs +1 -0
  120. package/dist/node_modules/date-fns/locale/en-US.js +21 -0
  121. package/dist/node_modules/date-fns/parse/_lib/Parser.cjs +1 -0
  122. package/dist/node_modules/date-fns/parse/_lib/Parser.js +22 -0
  123. package/dist/node_modules/date-fns/parse/_lib/Setter.cjs +1 -0
  124. package/dist/node_modules/date-fns/parse/_lib/Setter.js +40 -0
  125. package/dist/node_modules/date-fns/parse/_lib/constants.cjs +1 -0
  126. package/dist/node_modules/date-fns/parse/_lib/constants.js +49 -0
  127. package/dist/node_modules/date-fns/parse/_lib/parsers/AMPMMidnightParser.cjs +1 -0
  128. package/dist/node_modules/date-fns/parse/_lib/parsers/AMPMMidnightParser.js +49 -0
  129. package/dist/node_modules/date-fns/parse/_lib/parsers/AMPMParser.cjs +1 -0
  130. package/dist/node_modules/date-fns/parse/_lib/parsers/AMPMParser.js +49 -0
  131. package/dist/node_modules/date-fns/parse/_lib/parsers/DateParser.cjs +1 -0
  132. package/dist/node_modules/date-fns/parse/_lib/parsers/DateParser.js +61 -0
  133. package/dist/node_modules/date-fns/parse/_lib/parsers/DayOfYearParser.cjs +1 -0
  134. package/dist/node_modules/date-fns/parse/_lib/parsers/DayOfYearParser.js +51 -0
  135. package/dist/node_modules/date-fns/parse/_lib/parsers/DayParser.cjs +1 -0
  136. package/dist/node_modules/date-fns/parse/_lib/parsers/DayParser.js +45 -0
  137. package/dist/node_modules/date-fns/parse/_lib/parsers/DayPeriodParser.cjs +1 -0
  138. package/dist/node_modules/date-fns/parse/_lib/parsers/DayPeriodParser.js +49 -0
  139. package/dist/node_modules/date-fns/parse/_lib/parsers/EraParser.cjs +1 -0
  140. package/dist/node_modules/date-fns/parse/_lib/parsers/EraParser.js +30 -0
  141. package/dist/node_modules/date-fns/parse/_lib/parsers/ExtendedYearParser.cjs +1 -0
  142. package/dist/node_modules/date-fns/parse/_lib/parsers/ExtendedYearParser.js +21 -0
  143. package/dist/node_modules/date-fns/parse/_lib/parsers/FractionOfSecondParser.cjs +1 -0
  144. package/dist/node_modules/date-fns/parse/_lib/parsers/FractionOfSecondParser.js +22 -0
  145. package/dist/node_modules/date-fns/parse/_lib/parsers/Hour0To11Parser.cjs +1 -0
  146. package/dist/node_modules/date-fns/parse/_lib/parsers/Hour0To11Parser.js +32 -0
  147. package/dist/node_modules/date-fns/parse/_lib/parsers/Hour0to23Parser.cjs +1 -0
  148. package/dist/node_modules/date-fns/parse/_lib/parsers/Hour0to23Parser.js +32 -0
  149. package/dist/node_modules/date-fns/parse/_lib/parsers/Hour1To24Parser.cjs +1 -0
  150. package/dist/node_modules/date-fns/parse/_lib/parsers/Hour1To24Parser.js +33 -0
  151. package/dist/node_modules/date-fns/parse/_lib/parsers/Hour1to12Parser.cjs +1 -0
  152. package/dist/node_modules/date-fns/parse/_lib/parsers/Hour1to12Parser.js +33 -0
  153. package/dist/node_modules/date-fns/parse/_lib/parsers/ISODayParser.cjs +1 -0
  154. package/dist/node_modules/date-fns/parse/_lib/parsers/ISODayParser.js +99 -0
  155. package/dist/node_modules/date-fns/parse/_lib/parsers/ISOTimezoneParser.cjs +1 -0
  156. package/dist/node_modules/date-fns/parse/_lib/parsers/ISOTimezoneParser.js +48 -0
  157. package/dist/node_modules/date-fns/parse/_lib/parsers/ISOTimezoneWithZParser.cjs +1 -0
  158. package/dist/node_modules/date-fns/parse/_lib/parsers/ISOTimezoneWithZParser.js +48 -0
  159. package/dist/node_modules/date-fns/parse/_lib/parsers/ISOWeekParser.cjs +1 -0
  160. package/dist/node_modules/date-fns/parse/_lib/parsers/ISOWeekParser.js +49 -0
  161. package/dist/node_modules/date-fns/parse/_lib/parsers/ISOWeekYearParser.cjs +1 -0
  162. package/dist/node_modules/date-fns/parse/_lib/parsers/ISOWeekYearParser.js +40 -0
  163. package/dist/node_modules/date-fns/parse/_lib/parsers/LocalDayParser.cjs +1 -0
  164. package/dist/node_modules/date-fns/parse/_lib/parsers/LocalDayParser.js +74 -0
  165. package/dist/node_modules/date-fns/parse/_lib/parsers/LocalWeekParser.cjs +1 -0
  166. package/dist/node_modules/date-fns/parse/_lib/parsers/LocalWeekParser.js +48 -0
  167. package/dist/node_modules/date-fns/parse/_lib/parsers/LocalWeekYearParser.cjs +1 -0
  168. package/dist/node_modules/date-fns/parse/_lib/parsers/LocalWeekYearParser.js +69 -0
  169. package/dist/node_modules/date-fns/parse/_lib/parsers/MinuteParser.cjs +1 -0
  170. package/dist/node_modules/date-fns/parse/_lib/parsers/MinuteParser.js +32 -0
  171. package/dist/node_modules/date-fns/parse/_lib/parsers/MonthParser.cjs +1 -0
  172. package/dist/node_modules/date-fns/parse/_lib/parsers/MonthParser.js +71 -0
  173. package/dist/node_modules/date-fns/parse/_lib/parsers/QuarterParser.cjs +1 -0
  174. package/dist/node_modules/date-fns/parse/_lib/parsers/QuarterParser.js +70 -0
  175. package/dist/node_modules/date-fns/parse/_lib/parsers/SecondParser.cjs +1 -0
  176. package/dist/node_modules/date-fns/parse/_lib/parsers/SecondParser.js +32 -0
  177. package/dist/node_modules/date-fns/parse/_lib/parsers/StandAloneLocalDayParser.cjs +1 -0
  178. package/dist/node_modules/date-fns/parse/_lib/parsers/StandAloneLocalDayParser.js +74 -0
  179. package/dist/node_modules/date-fns/parse/_lib/parsers/StandAloneMonthParser.cjs +1 -0
  180. package/dist/node_modules/date-fns/parse/_lib/parsers/StandAloneMonthParser.js +71 -0
  181. package/dist/node_modules/date-fns/parse/_lib/parsers/StandAloneQuarterParser.cjs +1 -0
  182. package/dist/node_modules/date-fns/parse/_lib/parsers/StandAloneQuarterParser.js +70 -0
  183. package/dist/node_modules/date-fns/parse/_lib/parsers/TimestampMillisecondsParser.cjs +1 -0
  184. package/dist/node_modules/date-fns/parse/_lib/parsers/TimestampMillisecondsParser.js +22 -0
  185. package/dist/node_modules/date-fns/parse/_lib/parsers/TimestampSecondsParser.cjs +1 -0
  186. package/dist/node_modules/date-fns/parse/_lib/parsers/TimestampSecondsParser.js +22 -0
  187. package/dist/node_modules/date-fns/parse/_lib/parsers/YearParser.cjs +1 -0
  188. package/dist/node_modules/date-fns/parse/_lib/parsers/YearParser.js +49 -0
  189. package/dist/node_modules/date-fns/parse/_lib/parsers.cjs +1 -0
  190. package/dist/node_modules/date-fns/parse/_lib/parsers.js +67 -0
  191. package/dist/node_modules/date-fns/parse/_lib/utils.cjs +1 -0
  192. package/dist/node_modules/date-fns/parse/_lib/utils.js +103 -0
  193. package/dist/node_modules/date-fns/parse.cjs +1 -0
  194. package/dist/node_modules/date-fns/parse.js +90 -0
  195. package/dist/node_modules/date-fns/set.cjs +1 -0
  196. package/dist/node_modules/date-fns/set.js +11 -0
  197. package/dist/node_modules/date-fns/setDay.cjs +1 -0
  198. package/dist/node_modules/date-fns/setDay.js +12 -0
  199. package/dist/node_modules/date-fns/setHours.cjs +1 -0
  200. package/dist/node_modules/date-fns/setHours.js +9 -0
  201. package/dist/node_modules/date-fns/setISODay.cjs +1 -0
  202. package/dist/node_modules/date-fns/setISODay.js +11 -0
  203. package/dist/node_modules/date-fns/setISOWeek.cjs +1 -0
  204. package/dist/node_modules/date-fns/setISOWeek.js +10 -0
  205. package/dist/node_modules/date-fns/setMilliseconds.cjs +1 -0
  206. package/dist/node_modules/date-fns/setMilliseconds.js +9 -0
  207. package/dist/node_modules/date-fns/setMinutes.cjs +1 -0
  208. package/dist/node_modules/date-fns/setMinutes.js +9 -0
  209. package/dist/node_modules/date-fns/setMonth.cjs +1 -0
  210. package/dist/node_modules/date-fns/setMonth.js +13 -0
  211. package/dist/node_modules/date-fns/setSeconds.cjs +1 -0
  212. package/dist/node_modules/date-fns/setSeconds.js +9 -0
  213. package/dist/node_modules/date-fns/setWeek.cjs +1 -0
  214. package/dist/node_modules/date-fns/setWeek.js +10 -0
  215. package/dist/node_modules/date-fns/setYear.cjs +1 -0
  216. package/dist/node_modules/date-fns/setYear.js +10 -0
  217. package/dist/node_modules/date-fns/startOfDay.cjs +1 -0
  218. package/dist/node_modules/date-fns/startOfDay.js +9 -0
  219. package/dist/node_modules/date-fns/startOfISOWeek.cjs +1 -0
  220. package/dist/node_modules/date-fns/startOfISOWeek.js +8 -0
  221. package/dist/node_modules/date-fns/startOfISOWeekYear.cjs +1 -0
  222. package/dist/node_modules/date-fns/startOfISOWeekYear.js +11 -0
  223. package/dist/node_modules/date-fns/startOfMonth.cjs +1 -0
  224. package/dist/node_modules/date-fns/startOfMonth.js +9 -0
  225. package/dist/node_modules/date-fns/startOfQuarter.cjs +1 -0
  226. package/dist/node_modules/date-fns/startOfQuarter.js +9 -0
  227. package/dist/node_modules/date-fns/startOfWeek.cjs +1 -0
  228. package/dist/node_modules/date-fns/startOfWeek.js +11 -0
  229. package/dist/node_modules/date-fns/startOfWeekYear.cjs +1 -0
  230. package/dist/node_modules/date-fns/startOfWeekYear.js +13 -0
  231. package/dist/node_modules/date-fns/startOfYear.cjs +1 -0
  232. package/dist/node_modules/date-fns/startOfYear.js +10 -0
  233. package/dist/node_modules/date-fns/sub.cjs +1 -0
  234. package/dist/node_modules/date-fns/sub.js +19 -0
  235. package/dist/node_modules/date-fns/subDays.cjs +1 -0
  236. package/dist/node_modules/date-fns/subDays.js +8 -0
  237. package/dist/node_modules/date-fns/subMonths.cjs +1 -0
  238. package/dist/node_modules/date-fns/subMonths.js +8 -0
  239. package/dist/node_modules/date-fns/subYears.cjs +1 -0
  240. package/dist/node_modules/date-fns/subYears.js +8 -0
  241. package/dist/node_modules/date-fns/toDate.cjs +1 -0
  242. package/dist/node_modules/date-fns/toDate.js +8 -0
  243. package/dist/node_modules/date-fns/transpose.cjs +1 -0
  244. package/dist/node_modules/date-fns/transpose.js +18 -0
  245. package/dist/prometheus-framework/src/components/EditImages/EditImages.vue.cjs +1 -1
  246. package/dist/prometheus-framework/src/components/EditImages/EditImages.vue.js +16 -15
  247. package/dist/prometheus-framework/src/components/PhotoViewer/PhotoViewer.vue.cjs +1 -1
  248. package/dist/prometheus-framework/src/components/PhotoViewer/PhotoViewer.vue.js +13 -12
  249. package/dist/prometheus-framework/src/components/UploadImage/UploadImage.vue.cjs +1 -1
  250. package/dist/prometheus-framework/src/components/UploadImage/UploadImage.vue.js +12 -11
  251. package/dist/prometheus-framework/src/modules/auth/views/components/pages/SignIn.vue.cjs +1 -1
  252. package/dist/prometheus-framework/src/modules/auth/views/components/pages/SignIn.vue.js +6 -5
  253. package/dist/prometheus-framework/src/modules/backoffice/components/pages/Dashboard.vue.cjs +1 -1
  254. package/dist/prometheus-framework/src/modules/backoffice/components/pages/Dashboard.vue.js +1 -1
  255. package/dist/prometheus-framework/src/modules/backoffice/components/partials/Sidebar.vue.cjs +1 -1
  256. package/dist/prometheus-framework/src/modules/backoffice/components/partials/Sidebar.vue.js +1 -1
  257. package/dist/prometheus-framework/src/modules/community/components/blocks/CardBlogpost.vue.cjs +1 -1
  258. package/dist/prometheus-framework/src/modules/community/components/blocks/CardBlogpost.vue.js +11 -10
  259. package/dist/prometheus-framework/src/modules/community/components/layouts/Community.vue.cjs +1 -1
  260. package/dist/prometheus-framework/src/modules/community/components/layouts/Community.vue.js +1 -1
  261. package/dist/prometheus-framework/src/modules/community/components/pages/Community.vue.cjs +1 -1
  262. package/dist/prometheus-framework/src/modules/community/components/pages/Community.vue.js +1 -1
  263. package/dist/prometheus-framework/src/modules/community/components/pages/CreateBlogPost.vue.cjs +1 -1
  264. package/dist/prometheus-framework/src/modules/community/components/pages/CreateBlogPost.vue.js +1 -1
  265. package/dist/prometheus-framework/src/modules/constructor/components/elements/Image.vue.cjs +1 -1
  266. package/dist/prometheus-framework/src/modules/constructor/components/elements/Image.vue.js +11 -9
  267. package/dist/prometheus-framework/src/modules/constructor/components/elements/ImageUpload.vue.cjs +1 -1
  268. package/dist/prometheus-framework/src/modules/constructor/components/elements/ImageUpload.vue.js +8 -7
  269. package/dist/prometheus-framework/src/modules/events/components/blocks/CardEvent.vue.cjs +1 -1
  270. package/dist/prometheus-framework/src/modules/events/components/blocks/CardEvent.vue.js +6 -4
  271. package/dist/prometheus-framework/src/modules/events/components/elements/ButtonCheck.vue.cjs +1 -1
  272. package/dist/prometheus-framework/src/modules/events/components/elements/ButtonCheck.vue.js +1 -1
  273. package/dist/prometheus-framework/src/modules/events/components/pages/EditEvent.vue.cjs +1 -1
  274. package/dist/prometheus-framework/src/modules/events/components/pages/EditEvent.vue.js +7 -6
  275. package/dist/prometheus-framework/src/modules/events/components/pages/EditEventTickets.vue.cjs +1 -1
  276. package/dist/prometheus-framework/src/modules/events/components/pages/EditEventTickets.vue.js +16 -15
  277. package/dist/prometheus-framework/src/modules/events/components/sections/HeroEvent.vue.cjs +1 -1
  278. package/dist/prometheus-framework/src/modules/events/components/sections/HeroEvent.vue.js +11 -8
  279. package/dist/prometheus-framework/src/modules/events/components/sections/SectionPreviousEvents.vue.cjs +1 -1
  280. package/dist/prometheus-framework/src/modules/events/components/sections/SectionPreviousEvents.vue.js +7 -6
  281. package/dist/prometheus-framework/src/modules/events/components/sections/SectionSpecialGuests.vue.cjs +1 -1
  282. package/dist/prometheus-framework/src/modules/events/components/sections/SectionSpecialGuests.vue.js +9 -8
  283. package/dist/prometheus-framework/src/modules/gallery/components/pages/Gallery.vue.cjs +1 -1
  284. package/dist/prometheus-framework/src/modules/gallery/components/pages/Gallery.vue.js +5 -4
  285. package/dist/prometheus-framework/src/modules/gallery/components/sections/BackofficeGallery.vue.cjs +1 -1
  286. package/dist/prometheus-framework/src/modules/gallery/components/sections/BackofficeGallery.vue.js +27 -25
  287. package/dist/prometheus-framework/src/modules/globals/views/components/blocks/CardHeader.vue.cjs +1 -1
  288. package/dist/prometheus-framework/src/modules/globals/views/components/blocks/CardHeader.vue.js +22 -20
  289. package/dist/prometheus-framework/src/modules/globals/views/components/layouts/App.vue.cjs +1 -1
  290. package/dist/prometheus-framework/src/modules/globals/views/components/layouts/App.vue.js +87 -93
  291. package/dist/prometheus-framework/src/modules/globals/views/components/layouts/Client.vue.cjs +1 -1
  292. package/dist/prometheus-framework/src/modules/globals/views/components/layouts/Client.vue.js +142 -73
  293. package/dist/prometheus-framework/src/modules/globals/views/components/partials/Header.vue.cjs +1 -1
  294. package/dist/prometheus-framework/src/modules/globals/views/components/partials/Header.vue.js +1 -1
  295. package/dist/prometheus-framework/src/modules/globals/views/components/partials/NavigationBar.vue.cjs +1 -0
  296. package/dist/prometheus-framework/src/modules/globals/views/components/partials/NavigationBar.vue.js +110 -0
  297. package/dist/prometheus-framework/src/modules/landing/components/sections/MobileApp.vue.cjs +1 -1
  298. package/dist/prometheus-framework/src/modules/landing/components/sections/MobileApp.vue.js +8 -7
  299. package/dist/prometheus-framework/src/modules/legal/components/pages/Legal.vue.cjs +1 -1
  300. package/dist/prometheus-framework/src/modules/legal/components/pages/Legal.vue.js +1 -1
  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 +124 -132
  307. package/dist/prometheus-framework/src/modules/orders/components/pages/OrderCreateBackoffice.vue.cjs +1 -1
  308. package/dist/prometheus-framework/src/modules/orders/components/pages/OrderCreateBackoffice.vue.js +2 -2
  309. package/dist/prometheus-framework/src/modules/orders/components/pages/Orders.vue.cjs +1 -1
  310. package/dist/prometheus-framework/src/modules/orders/components/pages/Orders.vue.js +2 -4
  311. package/dist/prometheus-framework/src/modules/orders/components/sections/FormAddCustomer.vue.cjs +1 -1
  312. package/dist/prometheus-framework/src/modules/orders/components/sections/FormAddCustomer.vue.js +1 -1
  313. package/dist/prometheus-framework/src/modules/orders/components/sections/FormCustomerDetails.vue.cjs +1 -1
  314. package/dist/prometheus-framework/src/modules/orders/components/sections/FormCustomerDetails.vue.js +1 -1
  315. package/dist/prometheus-framework/src/modules/orders/components/sections/FormPayment.vue.cjs +1 -1
  316. package/dist/prometheus-framework/src/modules/orders/components/sections/FormPayment.vue.js +1 -1
  317. package/dist/prometheus-framework/src/modules/organizations/components/blocks/CardOrganization.vue.cjs +1 -1
  318. package/dist/prometheus-framework/src/modules/organizations/components/blocks/CardOrganization.vue.js +2 -1
  319. package/dist/prometheus-framework/src/modules/organizations/components/blocks/DepartmentSub.vue.cjs +1 -1
  320. package/dist/prometheus-framework/src/modules/organizations/components/blocks/DepartmentSub.vue.js +5 -5
  321. package/dist/prometheus-framework/src/modules/organizations/components/pages/DepartmentEdit.vue.cjs +1 -1
  322. package/dist/prometheus-framework/src/modules/organizations/components/pages/DepartmentEdit.vue.js +2 -2
  323. package/dist/prometheus-framework/src/modules/organizations/components/pages/Members.vue.cjs +1 -1
  324. package/dist/prometheus-framework/src/modules/organizations/components/pages/Members.vue.js +2 -2
  325. package/dist/prometheus-framework/src/modules/organizations/components/pages/Organization.vue.cjs +1 -1
  326. package/dist/prometheus-framework/src/modules/organizations/components/pages/Organization.vue.js +76 -70
  327. package/dist/prometheus-framework/src/modules/organizations/components/pages/OrganizationBackoffice.vue.cjs +1 -1
  328. package/dist/prometheus-framework/src/modules/organizations/components/pages/OrganizationBackoffice.vue.js +1 -1
  329. package/dist/prometheus-framework/src/modules/organizations/components/pages/OrganizationEdit.vue.cjs +1 -1
  330. package/dist/prometheus-framework/src/modules/organizations/components/pages/OrganizationEdit.vue.js +2 -2
  331. package/dist/prometheus-framework/src/modules/organizations/components/sections/DetailsTab.vue.cjs +1 -1
  332. package/dist/prometheus-framework/src/modules/organizations/components/sections/DetailsTab.vue.js +2 -1
  333. package/dist/prometheus-framework/src/modules/organizations/components/sections/Documents.vue.cjs +1 -1
  334. package/dist/prometheus-framework/src/modules/organizations/components/sections/Documents.vue.js +1 -1
  335. package/dist/prometheus-framework/src/modules/organizations/components/sections/MembersAdd.vue.cjs +1 -1
  336. package/dist/prometheus-framework/src/modules/organizations/components/sections/MembersAdd.vue.js +1 -1
  337. package/dist/prometheus-framework/src/modules/organizations/components/sections/Organizations.vue.cjs +1 -1
  338. package/dist/prometheus-framework/src/modules/organizations/components/sections/Organizations.vue.js +3 -3
  339. package/dist/prometheus-framework/src/modules/pages/views/components/partials/SidebarPages.vue.cjs +1 -1
  340. package/dist/prometheus-framework/src/modules/pages/views/components/partials/SidebarPages.vue.js +1 -1
  341. package/dist/prometheus-framework/src/modules/products/components/blocks/CardLeftover.vue.cjs +1 -1
  342. package/dist/prometheus-framework/src/modules/products/components/blocks/CardLeftover.vue.js +9 -9
  343. package/dist/prometheus-framework/src/modules/products/components/blocks/CardPosition.vue.cjs +1 -1
  344. package/dist/prometheus-framework/src/modules/products/components/blocks/CardPosition.vue.js +1 -1
  345. package/dist/prometheus-framework/src/modules/products/components/blocks/CardProduct.vue.cjs +1 -1
  346. package/dist/prometheus-framework/src/modules/products/components/blocks/CardProduct.vue.js +1 -0
  347. package/dist/prometheus-framework/src/modules/products/components/blocks/Images360.vue.cjs +1 -1
  348. package/dist/prometheus-framework/src/modules/products/components/blocks/Images360.vue.js +28 -27
  349. package/dist/prometheus-framework/src/modules/products/components/blocks/ImagesThumbnails.vue.cjs +1 -1
  350. package/dist/prometheus-framework/src/modules/products/components/blocks/ImagesThumbnails.vue.js +14 -13
  351. package/dist/prometheus-framework/src/modules/products/components/pages/CategoryEdit.vue.cjs +1 -1
  352. package/dist/prometheus-framework/src/modules/products/components/pages/CategoryEdit.vue.js +1 -1
  353. package/dist/prometheus-framework/src/modules/products/components/pages/EditLeftover.vue.cjs +1 -1
  354. package/dist/prometheus-framework/src/modules/products/components/pages/EditLeftover.vue.js +2 -2
  355. package/dist/prometheus-framework/src/modules/products/components/pages/ProductEdit.vue.cjs +1 -1
  356. package/dist/prometheus-framework/src/modules/products/components/pages/ProductEdit.vue.js +1 -1
  357. package/dist/prometheus-framework/src/modules/products/components/sections/EditProductInfo.vue.cjs +1 -1
  358. package/dist/prometheus-framework/src/modules/products/components/sections/EditProductInfo.vue.js +1 -1
  359. package/dist/prometheus-framework/src/modules/products/components/sections/HeroRecommendation.vue.cjs +1 -1
  360. package/dist/prometheus-framework/src/modules/products/components/sections/HeroRecommendation.vue.js +3 -2
  361. package/dist/prometheus-framework/src/modules/products/components/sections/SectionProduct.vue.cjs +1 -1
  362. package/dist/prometheus-framework/src/modules/products/components/sections/SectionProduct.vue.js +1 -0
  363. package/dist/prometheus-framework/src/modules/reports/components/sections/FormReport.vue.cjs +1 -1
  364. package/dist/prometheus-framework/src/modules/reports/components/sections/FormReport.vue.js +2 -2
  365. package/dist/prometheus-framework/src/modules/spots/components/blocks/CardSpot.vue.cjs +1 -1
  366. package/dist/prometheus-framework/src/modules/spots/components/blocks/CardSpot.vue.js +1 -1
  367. package/dist/prometheus-framework/src/modules/spots/components/blocks/SpotMemberModify.vue.cjs +1 -1
  368. package/dist/prometheus-framework/src/modules/spots/components/blocks/SpotMemberModify.vue.js +1 -1
  369. package/dist/prometheus-framework/src/modules/spots/components/blocks/SpotSub.vue.cjs +1 -1
  370. package/dist/prometheus-framework/src/modules/spots/components/blocks/SpotSub.vue.js +1 -1
  371. package/dist/prometheus-framework/src/modules/spots/components/pages/SpotEdit.vue.cjs +1 -1
  372. package/dist/prometheus-framework/src/modules/spots/components/pages/SpotEdit.vue.js +2 -2
  373. package/dist/prometheus-framework/src/modules/users/components/blocks/CardUser.vue.cjs +1 -1
  374. package/dist/prometheus-framework/src/modules/users/components/blocks/CardUser.vue.js +3 -2
  375. package/dist/prometheus-framework/src/modules/users/components/pages/Profile.vue.cjs +1 -1
  376. package/dist/prometheus-framework/src/modules/users/components/pages/Profile.vue.js +8 -7
  377. package/dist/prometheus-framework/src/modules/wallet/views/components/blocks/CryptoDeposit.vue.cjs +1 -1
  378. package/dist/prometheus-framework/src/modules/wallet/views/components/blocks/CryptoDeposit.vue.js +1 -1
  379. package/dist/prometheus-framework/src/modules/wallet/views/components/elements/ConnectMetamask.vue.cjs +1 -1
  380. package/dist/prometheus-framework/src/modules/wallet/views/components/elements/ConnectMetamask.vue.js +12 -9
  381. package/dist/prometheus-framework/src/modules/wallet/views/components/pages/Wallet.vue.cjs +1 -1
  382. package/dist/prometheus-framework/src/modules/wallet/views/components/pages/Wallet.vue.js +3 -3
  383. package/dist/prometheus-framework.cjs.js +22 -22
  384. package/dist/prometheus-framework.es.js +3228 -3201
  385. package/dist/style.css +1 -1
  386. package/dist/tickets.controller-CB549rZT.mjs +402 -0
  387. package/dist/tickets.controller-yqXXLR62.js +401 -0
  388. package/dist/wallet.server.js +1 -1
  389. package/dist/wallet.server.mjs +1 -1
  390. package/package.json +1 -2
  391. package/src/builder/webpack/webpack.config.base.js +2 -2
  392. package/src/builder/webpack/webpack.config.client.js +1 -1
  393. package/src/builder/webpack/webpack.config.spa.js +0 -6
  394. package/src/components/AskToLogin/AskToLogin.vue +1 -1
  395. package/src/components/EditImages/EditImages.vue +1 -1
  396. package/src/components/Error/Error.vue +1 -1
  397. package/src/components/PhotoViewer/PhotoViewer.vue +1 -1
  398. package/src/components/UploadImage/UploadImage.vue +1 -1
  399. package/src/modules/auth/views/components/pages/EnterCode.vue +1 -1
  400. package/src/modules/auth/views/components/pages/EnterPassword.vue +1 -1
  401. package/src/modules/auth/views/components/pages/ResetPassword.vue +1 -1
  402. package/src/modules/auth/views/components/pages/SignIn.vue +1 -1
  403. package/src/modules/auth/views/components/pages/SignUp.vue +1 -1
  404. package/src/modules/backoffice/components/admin/FastOrders.vue +1 -1
  405. package/src/modules/chats/components/blocks/ChatMessage.vue +1 -1
  406. package/src/modules/community/components/blocks/CardBlogpost.vue +1 -1
  407. package/src/modules/constructor/components/elements/Image.vue +2 -2
  408. package/src/modules/constructor/components/elements/ImageUpload.vue +1 -1
  409. package/src/modules/events/components/blocks/CardEvent.vue +2 -2
  410. package/src/modules/events/components/pages/EditEvent.vue +12 -1
  411. package/src/modules/events/components/pages/EditEventTickets.vue +1 -1
  412. package/src/modules/events/components/pages/Event.vue +1 -1
  413. package/src/modules/events/components/sections/HeroEvent.vue +4 -4
  414. package/src/modules/events/components/sections/SectionPreviousEvents.vue +1 -1
  415. package/src/modules/events/components/sections/SectionSpecialGuests.vue +1 -1
  416. package/src/modules/events/controllers/utils/templateEmail.js +1 -1
  417. package/src/modules/events/controllers/utils/templateTicket.js +1 -1
  418. package/src/modules/gallery/components/pages/Gallery.vue +1 -1
  419. package/src/modules/gallery/components/sections/BackofficeGallery.vue +2 -2
  420. package/src/modules/globals/views/components/blocks/CardHeader.vue +2 -2
  421. package/src/modules/globals/views/components/layouts/App.vue +15 -39
  422. package/src/modules/globals/views/components/layouts/Client.vue +89 -45
  423. package/src/modules/globals/views/components/partials/Footer.vue +7 -7
  424. package/src/modules/globals/views/components/partials/NavigationBar.vue +39 -16
  425. package/src/modules/globals/views/components/sections/Walkthrough.vue +2 -2
  426. package/src/modules/landing/components/sections/Examples.vue +1 -1
  427. package/src/modules/landing/components/sections/HowItWorksSection.vue +3 -3
  428. package/src/modules/landing/components/sections/HowToBuyWDR.vue +1 -1
  429. package/src/modules/landing/components/sections/InstagramSection.vue +2 -2
  430. package/src/modules/landing/components/sections/MobileApp.vue +1 -1
  431. package/src/modules/landing/components/sections/SectionEarn.vue +2 -2
  432. package/src/modules/landing/components/sections/SectionFeature.vue +1 -1
  433. package/src/modules/landing/components/sections/SectionFeaturesImages.vue +1 -1
  434. package/src/modules/landing/components/sections/SectionHeroToken.vue +1 -1
  435. package/src/modules/landing/components/sections/SectionsSection.vue +4 -4
  436. package/src/modules/landing/components/sections/WhatIsWDRSection.vue +3 -3
  437. package/src/modules/landing/router/landing.js +1 -1
  438. package/src/modules/orders/components/blocks/CardOrder.vue +7 -7
  439. package/src/modules/orders/components/blocks/CardOrderItem.vue +1 -1
  440. package/src/modules/orders/components/blocks/CardOrderVar1.vue +1 -1
  441. package/src/modules/orders/components/pages/OrderBackoffice.vue +3 -4
  442. package/src/modules/orders/components/pages/Orders.vue +0 -3
  443. package/src/modules/orders/components/pages/Orders_refact.vue +7 -7
  444. package/src/modules/orders/components/sections/AskToLogin.vue +1 -1
  445. package/src/modules/organizations/components/blocks/CardOrganization.vue +2 -2
  446. package/src/modules/organizations/components/blocks/Contacts.vue +4 -4
  447. package/src/modules/organizations/components/blocks/DepartmentSub.vue +1 -1
  448. package/src/modules/organizations/components/pages/Organization.vue +3 -3
  449. package/src/modules/organizations/components/sections/DetailsTab.vue +1 -1
  450. package/src/modules/products/components/blocks/CardLeftover.vue +1 -1
  451. package/src/modules/products/components/blocks/CardProduct.vue +1 -1
  452. package/src/modules/products/components/blocks/EditFilters.vue +1 -1
  453. package/src/modules/products/components/blocks/Images360.vue +1 -1
  454. package/src/modules/products/components/blocks/ImagesThumbnails.vue +1 -1
  455. package/src/modules/products/components/sections/HeroRecommendation.vue +1 -1
  456. package/src/modules/products/components/sections/MenuSection.vue +1 -1
  457. package/src/modules/products/components/sections/ProductInformationSection.vue +5 -5
  458. package/src/modules/products/components/sections/SectionProduct.vue +1 -1
  459. package/src/modules/spots/components/blocks/SpotSub.vue +1 -1
  460. package/src/modules/users/components/blocks/CardUser.vue +1 -1
  461. package/src/modules/users/components/pages/Profile.vue +1 -1
  462. package/src/modules/wallet/views/components/elements/ConnectMetamask.vue +3 -3
  463. package/src/modules/wallet/views/components/pages/Wallet.vue +4 -4
@@ -1,6 +1,6 @@
1
1
  import { ref as V, onMounted as j, openBlock as t, createElementBlock as n, createElementVNode as i, createCommentVNode as o, toDisplayString as a } from "vue";
2
- import { useI18n as I } from "vue-i18n";
3
- const P = { class: "cols-2 gap-big pos-relative" }, S = { class: "cols-1 gap-small" }, z = ["src"], M = { class: "t-white bg-black pd-l-small pd-b-thin pd-t-thin pd-r-small h4 radius-extra uppercase t-nye204" }, O = {
2
+ import { useI18n as z } from "vue-i18n";
3
+ const I = { class: "cols-2 gap-big pos-relative" }, P = { class: "cols-1 gap-small" }, S = ["src"], M = { class: "t-white bg-black pd-l-small pd-b-thin pd-t-thin pd-r-small h4 radius-extra uppercase t-nye204" }, O = {
4
4
  key: 1,
5
5
  class: "pd-small radius-big bg-second flex flex-center gap-small p-medium t-medium t-white"
6
6
  }, R = ["href"], _ = { class: "br-solid br-1px br-white-transp-10 o-hidden radius-big bg-black" }, G = ["src"], H = { class: "pd-big flex-column flex w-100 h-100 gap-zero" }, K = {
@@ -24,7 +24,7 @@ const P = { class: "cols-2 gap-big pos-relative" }, S = { class: "cols-1 gap-sma
24
24
  },
25
25
  setup(e) {
26
26
  const A = e;
27
- I({
27
+ z({
28
28
  messages: {
29
29
  en: {
30
30
  nye2024: {
@@ -60,8 +60,8 @@ const P = { class: "cols-2 gap-big pos-relative" }, S = { class: "cols-1 gap-sma
60
60
  D(), L();
61
61
  }), (c, r) => {
62
62
  var d, u, m, p, h, v, y, g, k, b, f, x, w, T, C, E, B;
63
- return t(), n("div", P, [
64
- i("div", S, [
63
+ return t(), n("div", I, [
64
+ i("div", P, [
65
65
  (d = e.options) != null && d.link ? (t(), n("a", {
66
66
  key: 0,
67
67
  onClick: r[0] || (r[0] = (F) => N()),
@@ -70,9 +70,10 @@ const P = { class: "cols-2 gap-big pos-relative" }, S = { class: "cols-1 gap-sma
70
70
  }, [
71
71
  (u = e.content) != null && u.ticket ? (t(), n("img", {
72
72
  key: 0,
73
+ loading: "lazy",
73
74
  class: "w-80",
74
75
  src: (m = e.content) == null ? void 0 : m.ticket
75
- }, null, 8, z)) : o("", !0),
76
+ }, null, 8, S)) : o("", !0),
76
77
  i("a", M, a(((p = e.content) == null ? void 0 : p.ticketTextButton) || "Buy Ticket"), 1)
77
78
  ])) : o("", !0),
78
79
  (h = e.content) != null && h.paymentContact ? (t(), n("p", O, [
@@ -1 +1 @@
1
- "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vue");require("vue-i18n");const u=require("../../../organizations/components/blocks/Socials.vue.cjs"),b={class:"o-hidden bg-black-transp-15 bg-blur-extra t-white pos-relative radius-big gap-zero pos-relative"},p={class:"t-center w-100 pd-small br-b br-white-transp-20 br-solid"},g={style:{"max-height":"100%"},class:"cols-1 gap-semi"},h={class:"o-hidden mn-b-semi bg-black radius-big h-4r w-4r pos-relative"},_=["src"],k={class:"d-block uppercase mn-b-small t-semi"},m={class:"t-semi mn-b-small d-block uppercase t-main"},v={class:"t-transp mn-b-semi p-medium"},E={__name:"SectionSpecialGuests",props:{content:{type:Object}},setup(t){return(w,S)=>{var o,a;return e.openBlock(),e.createElementBlock("div",b,[e.createElementVNode("h3",p,e.toDisplayString((o=t.content)==null?void 0:o.title),1),e.createElementVNode("div",g,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList((a=t.content)==null?void 0:a.guests,(s,d)=>{var l,c,r,n,i;return e.openBlock(),e.createElementBlock("div",{class:e.normalizeClass(["pd-medium br-solid",{"br-solid br-b br-white-transp-10":d<((l=t.content)==null?void 0:l.guests.length)-1}])},[e.createElementVNode("div",h,[e.createElementVNode("img",{class:"w-100 h-100 object-fit-cover",src:s.photo},null,8,_)]),e.createElementVNode("h4",k,e.toDisplayString(s.name),1),e.createElementVNode("span",m,e.toDisplayString(s.time),1),e.createElementVNode("p",v,e.toDisplayString(s.description),1),s!=null&&s.socials?(e.openBlock(),e.createBlock(u.default,{key:0,telegram:(c=s==null?void 0:s.socials)==null?void 0:c.telegram,facebook:(r=s==null?void 0:s.socials)==null?void 0:r.facebook,instagram:(n=s==null?void 0:s.socials)==null?void 0:n.instagram,twitter:(i=s==null?void 0:s.socials)==null?void 0:i.twitter},null,8,["telegram","facebook","instagram","twitter"])):e.createCommentVNode("",!0)],2)}),256))])])}}};exports.default=E;
1
+ "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vue");require("vue-i18n");const u=require("../../../organizations/components/blocks/Socials.vue.cjs"),b={class:"o-hidden bg-black-transp-15 bg-blur-extra t-white pos-relative radius-big gap-zero pos-relative"},p={class:"t-center w-100 pd-small br-b br-white-transp-20 br-solid"},g={style:{"max-height":"100%"},class:"cols-1 gap-semi"},h={class:"o-hidden mn-b-semi bg-black radius-big h-4r w-4r pos-relative"},_=["src"],k={class:"d-block uppercase mn-b-small t-semi"},m={class:"t-semi mn-b-small d-block uppercase t-main"},v={class:"t-transp mn-b-semi p-medium"},E={__name:"SectionSpecialGuests",props:{content:{type:Object}},setup(t){return(w,y)=>{var o,a;return e.openBlock(),e.createElementBlock("div",b,[e.createElementVNode("h3",p,e.toDisplayString((o=t.content)==null?void 0:o.title),1),e.createElementVNode("div",g,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList((a=t.content)==null?void 0:a.guests,(s,d)=>{var l,c,r,n,i;return e.openBlock(),e.createElementBlock("div",{class:e.normalizeClass(["pd-medium br-solid",{"br-solid br-b br-white-transp-10":d<((l=t.content)==null?void 0:l.guests.length)-1}])},[e.createElementVNode("div",h,[e.createElementVNode("img",{loading:"lazy",class:"w-100 h-100 object-fit-cover",src:s.photo},null,8,_)]),e.createElementVNode("h4",k,e.toDisplayString(s.name),1),e.createElementVNode("span",m,e.toDisplayString(s.time),1),e.createElementVNode("p",v,e.toDisplayString(s.description),1),s!=null&&s.socials?(e.openBlock(),e.createBlock(u.default,{key:0,telegram:(c=s==null?void 0:s.socials)==null?void 0:c.telegram,facebook:(r=s==null?void 0:s.socials)==null?void 0:r.facebook,instagram:(n=s==null?void 0:s.socials)==null?void 0:n.instagram,twitter:(i=s==null?void 0:s.socials)==null?void 0:i.twitter},null,8,["telegram","facebook","instagram","twitter"])):e.createCommentVNode("",!0)],2)}),256))])])}}};exports.default=E;
@@ -1,10 +1,10 @@
1
1
  import { openBlock as t, createElementBlock as r, createElementVNode as e, toDisplayString as a, Fragment as g, renderList as u, normalizeClass as _, createBlock as m, createCommentVNode as k } from "vue";
2
2
  import "vue-i18n";
3
3
  import f from "../../../organizations/components/blocks/Socials.vue.js";
4
- const w = { class: "o-hidden bg-black-transp-15 bg-blur-extra t-white pos-relative radius-big gap-zero pos-relative" }, v = { class: "t-center w-100 pd-small br-b br-white-transp-20 br-solid" }, x = {
4
+ const w = { class: "o-hidden bg-black-transp-15 bg-blur-extra t-white pos-relative radius-big gap-zero pos-relative" }, v = { class: "t-center w-100 pd-small br-b br-white-transp-20 br-solid" }, y = {
5
5
  style: { "max-height": "100%" },
6
6
  class: "cols-1 gap-semi"
7
- }, y = { class: "o-hidden mn-b-semi bg-black radius-big h-4r w-4r pos-relative" }, B = ["src"], S = { class: "d-block uppercase mn-b-small t-semi" }, j = { class: "t-semi mn-b-small d-block uppercase t-main" }, z = { class: "t-transp mn-b-semi p-medium" }, F = {
7
+ }, x = { class: "o-hidden mn-b-semi bg-black radius-big h-4r w-4r pos-relative" }, z = ["src"], B = { class: "d-block uppercase mn-b-small t-semi" }, S = { class: "t-semi mn-b-small d-block uppercase t-main" }, j = { class: "t-transp mn-b-semi p-medium" }, F = {
8
8
  __name: "SectionSpecialGuests",
9
9
  props: {
10
10
  content: {
@@ -16,21 +16,22 @@ const w = { class: "o-hidden bg-black-transp-15 bg-blur-extra t-white pos-relati
16
16
  var c, l;
17
17
  return t(), r("div", w, [
18
18
  e("h3", v, a((c = o.content) == null ? void 0 : c.title), 1),
19
- e("div", x, [
19
+ e("div", y, [
20
20
  (t(!0), r(g, null, u((l = o.content) == null ? void 0 : l.guests, (s, h) => {
21
21
  var n, i, d, b, p;
22
22
  return t(), r("div", {
23
23
  class: _(["pd-medium br-solid", { "br-solid br-b br-white-transp-10": h < ((n = o.content) == null ? void 0 : n.guests.length) - 1 }])
24
24
  }, [
25
- e("div", y, [
25
+ e("div", x, [
26
26
  e("img", {
27
+ loading: "lazy",
27
28
  class: "w-100 h-100 object-fit-cover",
28
29
  src: s.photo
29
- }, null, 8, B)
30
+ }, null, 8, z)
30
31
  ]),
31
- e("h4", S, a(s.name), 1),
32
- e("span", j, a(s.time), 1),
33
- e("p", z, a(s.description), 1),
32
+ e("h4", B, a(s.name), 1),
33
+ e("span", S, a(s.time), 1),
34
+ e("p", j, a(s.description), 1),
34
35
  s != null && s.socials ? (t(), m(f, {
35
36
  key: 0,
36
37
  telegram: (i = s == null ? void 0 : s.socials) == null ? void 0 : i.telegram,
@@ -1 +1 @@
1
- "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vue"),v=require("../../../../components/Feed/Feed.vue.cjs"),f=require("../../../../components/Popup/Popup.vue.cjs"),m=require("../../../../components/PhotoViewer/PhotoViewer.vue.cjs"),b=require("../../../globals/views/components/sections/SectionPageTitle.vue.cjs"),g=require("../../store/gallery.cjs"),h={class:"cols-1 gap-thin pd-thin"},P={class:"w-100 h-100 h-min-10r pos-relative"},_=["src","onClick"],k={__name:"Gallery",setup(w){const d=e.ref([]),o=e.ref("all");let r=e.ref({param:"createdAt",order:"desc",options:[{label:"Date",value:"createdAt"},{label:"Popularity",value:"views"},{label:"Creator",value:"creator"}]}),s=e.ref({start:null,end:null});const n=e.ref(null),u=e.ref(!1);function p(a){u.value=!0,n.value=a}function c(){u.value=!1,n.value=null}return(a,l)=>(e.openBlock(),e.createElementBlock("div",h,[e.createVNode(b.default,{title:a.$t("gallery.title"),"onUpdate:tabs_current":l[0]||(l[0]=t=>o.value=t),tabs_current:o.value,tabs:[{name:"All",value:"all"},{name:"Place",value:"place"},{name:"Drinks",value:"drinks"},{name:"People",value:"people"},{name:"Events",value:"events"}],class:"mn-b-small bg-light bg-light radius-big"},null,8,["title","tabs_current"]),e.createVNode(f.default,{onClosePopup:c,isPopupOpen:u.value,class:"bg-black o-hidden w-100 h-100 radius-big"},{default:e.withCtx(()=>[e.createVNode(m.default,{photoUrl:(a.FILE_SERVER_URL||"")+n.value.image},null,8,["photoUrl"])]),_:1},8,["isPopupOpen"]),e.createVNode(v.default,{items:d.value,"onUpdate:items":l[1]||(l[1]=t=>d.value=t),sort:e.unref(r),"onUpdate:sort":l[2]||(l[2]=t=>e.isRef(r)?r.value=t:r=t),date:e.unref(s),"onUpdate:date":l[3]||(l[3]=t=>e.isRef(s)?s.value=t:s=t),showLoadMore:!1,states:{empty:{title:"No Photos Found",description:"Currently, there are no photos in gallery."}},store:{read:t=>e.unref(g.default).read(t)},options:{limit:15,status:"published",...o.value!=="all"&&{tags:o.value}},class:"cols-4 gap-thin"},{default:e.withCtx(({items:t})=>[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(t,i=>(e.openBlock(),e.createElementBlock("div",{key:i._id,class:"bg-light radius-medium o-hidden flex-column pos-relative flex-wrap"},[e.createElementVNode("div",P,[e.createElementVNode("img",{src:(a.FILE_SERVER_URL||"")+i.cover,class:"w-100 h-100 object-fit-cover bg-black",onClick:E=>p(i)},null,8,_)])]))),128))]),_:1},8,["items","sort","date","store","options"])]))}};exports.default=k;
1
+ "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vue"),v=require("../../../../components/Feed/Feed.vue.cjs"),f=require("../../../../components/Popup/Popup.vue2.cjs"),m=require("../../../../components/PhotoViewer/PhotoViewer.vue.cjs"),g=require("../../../globals/views/components/sections/SectionPageTitle.vue.cjs"),b=require("../../store/gallery.cjs"),h={class:"cols-1 gap-thin pd-thin"},P={class:"w-100 h-100 h-min-10r pos-relative"},_=["src","onClick"],k={__name:"Gallery",setup(w){const d=e.ref([]),o=e.ref("all");let r=e.ref({param:"createdAt",order:"desc",options:[{label:"Date",value:"createdAt"},{label:"Popularity",value:"views"},{label:"Creator",value:"creator"}]}),s=e.ref({start:null,end:null});const n=e.ref(null),u=e.ref(!1);function p(a){u.value=!0,n.value=a}function c(){u.value=!1,n.value=null}return(a,l)=>(e.openBlock(),e.createElementBlock("div",h,[e.createVNode(g.default,{title:a.$t("gallery.title"),"onUpdate:tabs_current":l[0]||(l[0]=t=>o.value=t),tabs_current:o.value,tabs:[{name:"All",value:"all"},{name:"Place",value:"place"},{name:"Drinks",value:"drinks"},{name:"People",value:"people"},{name:"Events",value:"events"}],class:"mn-b-small bg-light bg-light radius-big"},null,8,["title","tabs_current"]),e.createVNode(f.default,{onClosePopup:c,isPopupOpen:u.value,class:"bg-black o-hidden w-100 h-100 radius-big"},{default:e.withCtx(()=>[e.createVNode(m.default,{photoUrl:(a.FILE_SERVER_URL||"")+n.value.image},null,8,["photoUrl"])]),_:1},8,["isPopupOpen"]),e.createVNode(v.default,{items:d.value,"onUpdate:items":l[1]||(l[1]=t=>d.value=t),sort:e.unref(r),"onUpdate:sort":l[2]||(l[2]=t=>e.isRef(r)?r.value=t:r=t),date:e.unref(s),"onUpdate:date":l[3]||(l[3]=t=>e.isRef(s)?s.value=t:s=t),showLoadMore:!1,states:{empty:{title:"No Photos Found",description:"Currently, there are no photos in gallery."}},store:{read:t=>e.unref(b.default).read(t)},options:{limit:15,status:"published",...o.value!=="all"&&{tags:o.value}},class:"cols-4 gap-thin"},{default:e.withCtx(({items:t})=>[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(t,i=>(e.openBlock(),e.createElementBlock("div",{key:i._id,class:"bg-light radius-medium o-hidden flex-column pos-relative flex-wrap"},[e.createElementVNode("div",P,[e.createElementVNode("img",{loading:"lazy",src:(a.FILE_SERVER_URL||"")+i.cover,class:"w-100 h-100 object-fit-cover bg-black",onClick:E=>p(i)},null,8,_)])]))),128))]),_:1},8,["items","sort","date","store","options"])]))}};exports.default=k;
@@ -1,7 +1,7 @@
1
1
  import { ref as t, openBlock as d, createElementBlock as m, createVNode as n, withCtx as f, unref as c, isRef as _, Fragment as P, renderList as w, createElementVNode as b } from "vue";
2
2
  import k from "../../../../components/Feed/Feed.vue.js";
3
- import E from "../../../../components/Popup/Popup.vue.js";
4
- import y from "../../../../components/PhotoViewer/PhotoViewer.vue.js";
3
+ import y from "../../../../components/Popup/Popup.vue2.js";
4
+ import E from "../../../../components/PhotoViewer/PhotoViewer.vue.js";
5
5
  import U from "../../../globals/views/components/sections/SectionPageTitle.vue.js";
6
6
  import R from "../../store/gallery.js";
7
7
  const C = { class: "cols-1 gap-thin pd-thin" }, L = { class: "w-100 h-100 h-min-10r pos-relative" }, F = ["src", "onClick"], I = {
@@ -46,13 +46,13 @@ const C = { class: "cols-1 gap-thin pd-thin" }, L = { class: "w-100 h-100 h-min-
46
46
  ],
47
47
  class: "mn-b-small bg-light bg-light radius-big"
48
48
  }, null, 8, ["title", "tabs_current"]),
49
- n(E, {
49
+ n(y, {
50
50
  onClosePopup: h,
51
51
  isPopupOpen: u.value,
52
52
  class: "bg-black o-hidden w-100 h-100 radius-big"
53
53
  }, {
54
54
  default: f(() => [
55
- n(y, {
55
+ n(E, {
56
56
  photoUrl: (a.FILE_SERVER_URL || "") + i.value.image
57
57
  }, null, 8, ["photoUrl"])
58
58
  ]),
@@ -91,6 +91,7 @@ const C = { class: "cols-1 gap-thin pd-thin" }, L = { class: "w-100 h-100 h-min-
91
91
  }, [
92
92
  b("div", L, [
93
93
  b("img", {
94
+ loading: "lazy",
94
95
  src: (a.FILE_SERVER_URL || "") + p.cover,
95
96
  class: "w-100 h-100 object-fit-cover bg-black",
96
97
  onClick: ($) => g(p)
@@ -1 +1 @@
1
- "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vue"),C=require("vue-router");;/* empty css */const w=require("../../../../components/Button/Button.vue2.cjs");;/* empty css */const B=require("../../../../components/Chips/Chips.vue2.cjs");;/* empty css */const _=require("../../../../components/Popup/Popup.vue.cjs"),E=require("../../../../components/Feed/Feed.vue.cjs"),U=require("../../../../components/PhotoViewer/PhotoViewer.vue.cjs"),k=require("../../../auth/views/store/auth.cjs");require("../../../organizations/store/organizations.cjs");const o=require("../../store/gallery.cjs"),A=require("../../../globals/views/components/blocks/CardHeader.vue.cjs"),I=require("../../../globals/views/components/sections/SectionPageTitle.vue.cjs"),O=require("../../../../components/EditImages/EditImages.vue.cjs"),T=require("../../../../components/FieldTags/BlockTags.vue.cjs"),R={class:"cols-1 gap-thin pd-thin"},S={class:"pos-relative"},D=["src","onClick"],F={class:"pos-absolute pos-t-0 pos-r-0 pd-micro t-white uppercase t-semi p-small flex-center flex pd-r-small pd-l-small mn-r-small mn-t-small w-min bg-second radius-extra"},j={class:"pd-small"},L=["src"],G={class:"flex-nowrap flex gap-thin"},M={__name:"BackofficeGallery",setup(z){const h=C.useRoute(),i=e.ref("all");let c=e.ref({param:"createdAt",order:"desc",options:[{label:"Date",value:"createdAt"},{label:"Popularity",value:"views"},{label:"Creator",value:"creator"}]}),p=e.ref({start:null,end:null});const f=e.ref(!1);function x(a){f.value=!0,u.value=a}function y(){f.value=!1,u.value=null}const m=e.ref(!1);function V(a){m.value=!0,u.value=a}function v(){m.value=!1,u.value=null,n.value=[],r.value={tags:null,image:null}}const u=e.ref(null);e.ref("all");const r=e.ref({tags:null,image:null}),n=e.ref([]),N=a=>{n.value=a},d=e.ref([]),q=async a=>{await o.default.delete(a._id),o.default.removeItem(a,d.value)},g=async(a,s)=>{a.status=s,await o.default.update(a),o.default.updateItem(a,d.value)},b=async a=>{if(n.length<1){alert("Upload at least 1 image");return}let s=await o.default.create({images:n.value,tags:r.value.tags,status:a,owner:{type:"Organization",target:h.params._id},creator:{type:"User",target:k.state.user._id}});for(let t of s)o.default.addItem(t,d.value)};return(a,s)=>(e.openBlock(),e.createElementBlock("div",R,[e.createVNode(I.default,{title:"Gallery","onUpdate:tabs_current":s[0]||(s[0]=t=>i.value=t),tabs_current:i.value,tabs:[{name:"All",value:"all"},{name:"Featured",value:"featured"},{name:"Published",value:"published"},{name:"Draft",value:"draft"},{name:"Archived",value:"archived"}],actions:[{method:()=>V(null),label:"Add Photo"}],class:"mn-b-small bg-light bg-light radius-big"},null,8,["tabs_current","actions"]),e.createVNode(E.default,{items:d.value,"onUpdate:items":s[1]||(s[1]=t=>d.value=t),sort:e.unref(c),"onUpdate:sort":s[2]||(s[2]=t=>e.isRef(c)?c.value=t:c=t),date:e.unref(p),"onUpdate:date":s[3]||(s[3]=t=>e.isRef(p)?p.value=t:p=t),states:{empty:{title:"No Photos Found",description:"Currently, there are no photos in gallery."}},store:{read:t=>e.unref(o.default).read(t)},options:{limit:15,owner:e.unref(h).params._id,...i.value!=="all"&&{status:i.value}},class:"cols-3 gap-thin"},{default:e.withCtx(({items:t})=>[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(t,l=>{var P;return e.openBlock(),e.createElementBlock("div",{key:l._id,class:"bg-light radius-small flex-column pos-relative flex-wrap"},[e.createVNode(A.default,{entity:l,entityType:"photo",user:k.state.user._id,owner:l.creator,creator:l.creator,date:l.createdAt,actions:[{method:()=>q(l),label:"Delete"},{method:()=>g(l,"archived"),label:"Archive"},l.status==="draft"?{method:()=>g(l,"published"),label:"Publish"}:{method:()=>g(l,"draft"),label:"Draft"}],class:"pd-small mn-b-small"},null,8,["entity","user","owner","creator","date","actions"]),e.createElementVNode("div",S,[e.createElementVNode("img",{src:(a.FILE_SERVER_URL||"")+l.cover,class:"w-100 h-20r object-fit-contain bg-black",onClick:H=>x(l)},null,8,D),e.createElementVNode("div",F,e.toDisplayString(l.status),1)]),e.createElementVNode("div",j,[((P=l.tags)==null?void 0:P.length)>0?(e.openBlock(),e.createBlock(B.default,{key:0,chips:l.tags},null,8,["chips"])):e.createCommentVNode("",!0)])])}),128))]),_:1},8,["items","sort","date","store","options"]),e.createVNode(_.default,{onClosePopup:y,isPopupOpen:f.value,class:"bg-black o-hidden w-100 h-100 radius-big"},{default:e.withCtx(()=>[e.createVNode(U.default,{photoUrl:u.value.image},null,8,["photoUrl"])]),_:1},8,["isPopupOpen"]),e.createVNode(_.default,{title:"Add Photo",onClosePopup:v,isPopupOpen:m.value,class:"bg-white w-max-30r radius-big pd-big"},{default:e.withCtx(()=>[r.value.cover?(e.openBlock(),e.createElementBlock("img",{key:0,src:r.value.cover,class:"radius-small w-100 mn-b-small h-20r object-fit-cover"},null,8,L)):e.createCommentVNode("",!0),e.createVNode(O.default,{images:n.value,uploadPath:"/photos","onUpdate:images":N,class:"mn-b-semi bg-light radius-medium"},null,8,["images"]),e.createVNode(T.default,{onTagsChanged:s[4]||(s[4]=t=>r.value.tags=t),tags:r.value.tags,tagsSuggested:[{text:"people"},{text:"events"},{text:"place"},{text:"food"},{text:"drinks"},{text:"special"}],class:"mn-b-semi"},null,8,["tags"]),e.createElementVNode("div",G,[e.createVNode(w.default,{submit:()=>b("draft"),callback:v,class:"t-nowrap bg-second w-100"},{default:e.withCtx(()=>[e.createTextVNode(" To drafts ")]),_:1},8,["submit"]),e.createVNode(w.default,{submit:()=>b("published"),callback:v,class:"bg-main w-100"},{default:e.withCtx(()=>[e.createTextVNode(" Publish ")]),_:1},8,["submit"])])]),_:1},8,["isPopupOpen"])]))}};exports.default=M;
1
+ "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vue"),C=require("vue-router");;/* empty css */const w=require("../../../../components/Button/Button.vue2.cjs");;/* empty css */const B=require("../../../../components/Chips/Chips.vue.cjs");;/* empty css */const _=require("../../../../components/Popup/Popup.vue2.cjs"),E=require("../../../../components/Feed/Feed.vue.cjs"),U=require("../../../../components/PhotoViewer/PhotoViewer.vue.cjs"),y=require("../../../auth/views/store/auth.cjs");require("../../../organizations/store/organizations.cjs");const s=require("../../store/gallery.cjs"),A=require("../../../globals/views/components/blocks/CardHeader.vue.cjs"),I=require("../../../globals/views/components/sections/SectionPageTitle.vue.cjs"),O=require("../../../../components/EditImages/EditImages.vue.cjs"),T=require("../../../../components/FieldTags/BlockTags.vue.cjs"),R={class:"cols-1 gap-thin pd-thin"},S={class:"pos-relative"},D=["src","onClick"],F={class:"pos-absolute pos-t-0 pos-r-0 pd-micro t-white uppercase t-semi p-small flex-center flex pd-r-small pd-l-small mn-r-small mn-t-small w-min bg-second radius-extra"},j={class:"pd-small"},z=["src"],L={class:"flex-nowrap flex gap-thin"},G={__name:"BackofficeGallery",setup(M){const h=C.useRoute(),i=e.ref("all");let c=e.ref({param:"createdAt",order:"desc",options:[{label:"Date",value:"createdAt"},{label:"Popularity",value:"views"},{label:"Creator",value:"creator"}]}),p=e.ref({start:null,end:null});const f=e.ref(!1);function k(a){f.value=!0,u.value=a}function x(){f.value=!1,u.value=null}const m=e.ref(!1);function V(a){m.value=!0,u.value=a}function g(){m.value=!1,u.value=null,n.value=[],r.value={tags:null,image:null}}const u=e.ref(null);e.ref("all");const r=e.ref({tags:null,image:null}),n=e.ref([]),N=a=>{n.value=a},d=e.ref([]),q=async a=>{await s.default.delete(a._id),s.default.removeItem(a,d.value)},v=async(a,o)=>{a.status=o,await s.default.update(a),s.default.updateItem(a,d.value)},b=async a=>{if(n.length<1){alert("Upload at least 1 image");return}let o=await s.default.create({images:n.value,tags:r.value.tags,status:a,owner:{type:"Organization",target:h.params._id},creator:{type:"User",target:y.state.user._id}});for(let t of o)s.default.addItem(t,d.value)};return(a,o)=>(e.openBlock(),e.createElementBlock("div",R,[e.createVNode(I.default,{title:"Gallery","onUpdate:tabs_current":o[0]||(o[0]=t=>i.value=t),tabs_current:i.value,tabs:[{name:"All",value:"all"},{name:"Featured",value:"featured"},{name:"Published",value:"published"},{name:"Draft",value:"draft"},{name:"Archived",value:"archived"}],actions:[{method:()=>V(null),label:"Add Photo"}],class:"mn-b-small bg-light bg-light radius-big"},null,8,["tabs_current","actions"]),e.createVNode(E.default,{items:d.value,"onUpdate:items":o[1]||(o[1]=t=>d.value=t),sort:e.unref(c),"onUpdate:sort":o[2]||(o[2]=t=>e.isRef(c)?c.value=t:c=t),date:e.unref(p),"onUpdate:date":o[3]||(o[3]=t=>e.isRef(p)?p.value=t:p=t),states:{empty:{title:"No Photos Found",description:"Currently, there are no photos in gallery."}},store:{read:t=>e.unref(s.default).read(t)},options:{limit:15,owner:e.unref(h).params._id,...i.value!=="all"&&{status:i.value}},class:"cols-3 gap-thin"},{default:e.withCtx(({items:t})=>[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(t,l=>{var P;return e.openBlock(),e.createElementBlock("div",{key:l._id,class:"bg-light radius-small flex-column pos-relative flex-wrap"},[e.createVNode(A.default,{entity:l,entityType:"photo",user:y.state.user._id,owner:l.creator,creator:l.creator,date:l.createdAt,actions:[{method:()=>q(l),label:"Delete"},{method:()=>v(l,"archived"),label:"Archive"},l.status==="draft"?{method:()=>v(l,"published"),label:"Publish"}:{method:()=>v(l,"draft"),label:"Draft"}],class:"pd-small mn-b-small"},null,8,["entity","user","owner","creator","date","actions"]),e.createElementVNode("div",S,[e.createElementVNode("img",{loading:"lazy",src:(a.FILE_SERVER_URL||"")+l.cover,class:"w-100 h-20r object-fit-contain bg-black",onClick:H=>k(l)},null,8,D),e.createElementVNode("div",F,e.toDisplayString(l.status),1)]),e.createElementVNode("div",j,[((P=l.tags)==null?void 0:P.length)>0?(e.openBlock(),e.createBlock(B.default,{key:0,chips:l.tags},null,8,["chips"])):e.createCommentVNode("",!0)])])}),128))]),_:1},8,["items","sort","date","store","options"]),e.createVNode(_.default,{onClosePopup:x,isPopupOpen:f.value,class:"bg-black o-hidden w-100 h-100 radius-big"},{default:e.withCtx(()=>[e.createVNode(U.default,{photoUrl:u.value.image},null,8,["photoUrl"])]),_:1},8,["isPopupOpen"]),e.createVNode(_.default,{title:"Add Photo",onClosePopup:g,isPopupOpen:m.value,class:"bg-white w-max-30r radius-big pd-big"},{default:e.withCtx(()=>[r.value.cover?(e.openBlock(),e.createElementBlock("img",{key:0,loading:"lazy",src:r.value.cover,class:"radius-small w-100 mn-b-small h-20r object-fit-cover"},null,8,z)):e.createCommentVNode("",!0),e.createVNode(O.default,{images:n.value,uploadPath:"/photos","onUpdate:images":N,class:"mn-b-semi bg-light radius-medium"},null,8,["images"]),e.createVNode(T.default,{onTagsChanged:o[4]||(o[4]=t=>r.value.tags=t),tags:r.value.tags,tagsSuggested:[{text:"people"},{text:"events"},{text:"place"},{text:"food"},{text:"drinks"},{text:"special"}],class:"mn-b-semi"},null,8,["tags"]),e.createElementVNode("div",L,[e.createVNode(w.default,{submit:()=>b("draft"),callback:g,class:"t-nowrap bg-second w-100"},{default:e.withCtx(()=>[e.createTextVNode(" To drafts ")]),_:1},8,["submit"]),e.createVNode(w.default,{submit:()=>b("published"),callback:g,class:"bg-main w-100"},{default:e.withCtx(()=>[e.createTextVNode(" Publish ")]),_:1},8,["submit"])])]),_:1},8,["isPopupOpen"])]))}};exports.default=G;
@@ -1,12 +1,12 @@
1
- import { ref as s, openBlock as d, createElementBlock as h, createVNode as o, unref as b, isRef as C, withCtx as c, Fragment as F, renderList as S, createElementVNode as m, toDisplayString as T, createBlock as L, createCommentVNode as A, createTextVNode as $ } from "vue";
2
- import { useRoute as j } from "vue-router";
1
+ import { ref as s, openBlock as p, createElementBlock as h, createVNode as o, unref as b, isRef as C, withCtx as c, Fragment as F, renderList as S, createElementVNode as m, toDisplayString as T, createBlock as z, createCommentVNode as A, createTextVNode as $ } from "vue";
2
+ import { useRoute as L } from "vue-router";
3
3
  /* empty css */
4
4
  import I from "../../../../components/Button/Button.vue2.js";
5
- /* empty css */
6
- import G from "../../../../components/Chips/Chips.vue2.js";
5
+ /* empty css */
6
+ import j from "../../../../components/Chips/Chips.vue.js";
7
7
  /* empty css */
8
- import O from "../../../../components/Popup/Popup.vue.js";
9
- import z from "../../../../components/Feed/Feed.vue.js";
8
+ import O from "../../../../components/Popup/Popup.vue2.js";
9
+ import G from "../../../../components/Feed/Feed.vue.js";
10
10
  import q from "../../../../components/PhotoViewer/PhotoViewer.vue.js";
11
11
  import { state as D } from "../../../auth/views/store/auth.js";
12
12
  import "../../../organizations/store/organizations.js";
@@ -18,8 +18,8 @@ import M from "../../../../components/FieldTags/BlockTags.vue.js";
18
18
  const Q = { class: "cols-1 gap-thin pd-thin" }, W = { class: "pos-relative" }, X = ["src", "onClick"], Y = { class: "pos-absolute pos-t-0 pos-r-0 pd-micro t-white uppercase t-semi p-small flex-center flex pd-r-small pd-l-small mn-r-small mn-t-small w-min bg-second radius-extra" }, Z = { class: "pd-small" }, ee = ["src"], te = { class: "flex-nowrap flex gap-thin" }, we = {
19
19
  __name: "BackofficeGallery",
20
20
  setup(ae) {
21
- const x = j(), f = s("all");
22
- let v = s({
21
+ const x = L(), f = s("all");
22
+ let g = s({
23
23
  param: "createdAt",
24
24
  order: "desc",
25
25
  options: [{
@@ -32,7 +32,7 @@ const Q = { class: "cols-1 gap-thin pd-thin" }, W = { class: "pos-relative" }, X
32
32
  label: "Creator",
33
33
  value: "creator"
34
34
  }]
35
- }), g = s({
35
+ }), v = s({
36
36
  start: null,
37
37
  end: null
38
38
  });
@@ -57,10 +57,10 @@ const Q = { class: "cols-1 gap-thin pd-thin" }, W = { class: "pos-relative" }, X
57
57
  image: null
58
58
  }), u = s([]), V = (t) => {
59
59
  u.value = t;
60
- }, p = s([]), B = async (t) => {
61
- await r.delete(t._id), r.removeItem(t, p.value);
60
+ }, d = s([]), B = async (t) => {
61
+ await r.delete(t._id), r.removeItem(t, d.value);
62
62
  }, y = async (t, l) => {
63
- t.status = l, await r.update(t), r.updateItem(t, p.value);
63
+ t.status = l, await r.update(t), r.updateItem(t, d.value);
64
64
  }, k = async (t) => {
65
65
  if (u.length < 1) {
66
66
  alert("Upload at least 1 image");
@@ -80,9 +80,9 @@ const Q = { class: "cols-1 gap-thin pd-thin" }, W = { class: "pos-relative" }, X
80
80
  }
81
81
  });
82
82
  for (let e of l)
83
- r.addItem(e, p.value);
83
+ r.addItem(e, d.value);
84
84
  };
85
- return (t, l) => (d(), h("div", Q, [
85
+ return (t, l) => (p(), h("div", Q, [
86
86
  o(J, {
87
87
  title: "Gallery",
88
88
  "onUpdate:tabs_current": l[0] || (l[0] = (e) => f.value = e),
@@ -99,13 +99,13 @@ const Q = { class: "cols-1 gap-thin pd-thin" }, W = { class: "pos-relative" }, X
99
99
  ],
100
100
  class: "mn-b-small bg-light bg-light radius-big"
101
101
  }, null, 8, ["tabs_current", "actions"]),
102
- o(z, {
103
- items: p.value,
104
- "onUpdate:items": l[1] || (l[1] = (e) => p.value = e),
105
- sort: b(v),
106
- "onUpdate:sort": l[2] || (l[2] = (e) => C(v) ? v.value = e : v = e),
107
- date: b(g),
108
- "onUpdate:date": l[3] || (l[3] = (e) => C(g) ? g.value = e : g = e),
102
+ o(G, {
103
+ items: d.value,
104
+ "onUpdate:items": l[1] || (l[1] = (e) => d.value = e),
105
+ sort: b(g),
106
+ "onUpdate:sort": l[2] || (l[2] = (e) => C(g) ? g.value = e : g = e),
107
+ date: b(v),
108
+ "onUpdate:date": l[3] || (l[3] = (e) => C(v) ? v.value = e : v = e),
109
109
  states: {
110
110
  empty: {
111
111
  title: "No Photos Found",
@@ -125,9 +125,9 @@ const Q = { class: "cols-1 gap-thin pd-thin" }, W = { class: "pos-relative" }, X
125
125
  default: c(({
126
126
  items: e
127
127
  }) => [
128
- (d(!0), h(F, null, S(e, (a) => {
128
+ (p(!0), h(F, null, S(e, (a) => {
129
129
  var U;
130
- return d(), h("div", {
130
+ return p(), h("div", {
131
131
  key: a._id,
132
132
  class: "bg-light radius-small flex-column pos-relative flex-wrap"
133
133
  }, [
@@ -147,6 +147,7 @@ const Q = { class: "cols-1 gap-thin pd-thin" }, W = { class: "pos-relative" }, X
147
147
  }, null, 8, ["entity", "user", "owner", "creator", "date", "actions"]),
148
148
  m("div", W, [
149
149
  m("img", {
150
+ loading: "lazy",
150
151
  src: (t.FILE_SERVER_URL || "") + a.cover,
151
152
  class: "w-100 h-20r object-fit-contain bg-black",
152
153
  onClick: (le) => E(a)
@@ -154,7 +155,7 @@ const Q = { class: "cols-1 gap-thin pd-thin" }, W = { class: "pos-relative" }, X
154
155
  m("div", Y, T(a.status), 1)
155
156
  ]),
156
157
  m("div", Z, [
157
- ((U = a.tags) == null ? void 0 : U.length) > 0 ? (d(), L(G, {
158
+ ((U = a.tags) == null ? void 0 : U.length) > 0 ? (p(), z(j, {
158
159
  key: 0,
159
160
  chips: a.tags
160
161
  }, null, 8, ["chips"])) : A("", !0)
@@ -183,8 +184,9 @@ const Q = { class: "cols-1 gap-thin pd-thin" }, W = { class: "pos-relative" }, X
183
184
  class: "bg-white w-max-30r radius-big pd-big"
184
185
  }, {
185
186
  default: c(() => [
186
- n.value.cover ? (d(), h("img", {
187
+ n.value.cover ? (p(), h("img", {
187
188
  key: 0,
189
+ loading: "lazy",
188
190
  src: n.value.cover,
189
191
  class: "radius-small w-100 mn-b-small h-20r object-fit-cover"
190
192
  }, null, 8, ee)) : A("", !0),
@@ -1 +1 @@
1
- "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vue"),x=require("vue-router"),C=require("../../../../icons/placeholders/PlaceholderUserpic.vue.cjs"),V=require("../../../../reports/components/sections/FormReport.vue.cjs"),N=require("../../../../../components/Tooltip/Tooltip.vue2.cjs"),v=require("../../../../../components/Dropdown/Dropdown.vue.cjs");;/* empty css */;/* empty css */require("../../../../auth/views/store/auth.cjs");require("../../../../organizations/store/memberships.cjs");const $=require("../../../../icons/navigation/IconEllipsis.vue.cjs"),S={key:0,class:"pd-b-zero"},z={class:"w-100 flex-v-center flex-nojustify flex"},D={class:"w-100 flex-nowrap flex-v-center flex"},M=["src"],q={key:2,class:"t-semi"},R={key:1,class:"mn-l-micro mn-r-micro"},F={key:2,class:"pos-relative"},P={key:3},T={class:"d-block mn-l-auto flex-nowrap flex flex-v-center"},U={key:0,class:"w-4r pos-relative i-thin"},L={style:{position:"absolute",top:"0px",right:"0px"},class:"br-solid br-2px br-white z-index-1 radius-big i-thin bg-second flex flex-center t-white p-small t-semi"},I=["src"],O={class:"bg-black flex-column flex gap-thin pd-thin radius-small"},j=e.createElementVNode("button",{class:"w-100 bg-black br-solid br-1px br-white-transp-20 t-white button-small button"}," Report ",-1),A=["onClick"],H={__name:"CardHeader",props:["user","entity","entityType","date","dateFormatted","owner","creator","members","membersPhotos","type","actions"],setup(t){x.useRouter();function E(n){const r=new Date,d=new Date(n),m=Math.abs(r-d),u=Math.floor(m/1e3),a=Math.floor(u/60),s=Math.floor(a/60),i=Math.floor(s/24),c=Math.floor(i/7);return c>0?`${c} week${c>1?"s":""} ago`:i>0?`${i} day${i>1?"s":""} ago`:s>0?`${s} hour${s>1?"s":""} ago`:a>0?`${a} minute${a>1?"s":""} ago`:"Just now"}return(n,r)=>{var m,u,a,s,i,c,k,h,g,b,f,y,w,B,p;const d=e.resolveComponent("router-link");return t.owner?(e.openBlock(),e.createElementBlock("header",S,[e.createElementVNode("div",z,[e.createElementVNode("div",D,[((a=(u=(m=t.owner.target)==null?void 0:m.profile)==null?void 0:u.photo)==null?void 0:a.length)>0&&t.type!=="short"?(e.openBlock(),e.createElementBlock("img",{key:0,src:(n.FILE_SERVER_URL||"")+t.owner.target.profile.photo,class:"radius-medium object-fit-cover mn-r-thin i-thin",onClick:r[0]||(r[0]=e.withModifiers(o=>n.$router.push({name:t.owner.type==="user"?"User Profile":"Organization",params:{_id:t.owner.target._id}}),["stop"]))},null,8,M)):e.createCommentVNode("",!0),!((i=(s=t.owner.target)==null?void 0:s.profile)!=null&&i.photo)&&t.type!=="short"?(e.openBlock(),e.createBlock(C.default,{key:1,class:"radius-medium mn-r-thin i-thin",onClick:r[1]||(r[1]=e.withModifiers(o=>n.$router.push({name:t.owner.type==="user"?"User Profile":"Organization",params:{_id:t.owner.target._id}}),["stop"]))})):e.createCommentVNode("",!0),t.type!=="short"?(e.openBlock(),e.createElementBlock("span",q,[e.createElementVNode("span",{onClick:r[2]||(r[2]=e.withModifiers(o=>n.$router.push({name:t.owner.type==="user"?"User Profile":"Organization",params:{_id:t.owner.target._id}}),["stop"]))},e.toDisplayString(((k=(c=t.owner.target)==null?void 0:c.profile)==null?void 0:k.name)||((h=t.creator.target)==null?void 0:h.username)||"Anonymous"),1),!t.creator.hidden&&((b=(g=t.owner.target)==null?void 0:g.profile)==null?void 0:b.name)!==((y=(f=t.creator.target)==null?void 0:f.profile)==null?void 0:y.name)?(e.openBlock(),e.createElementBlock("span",{key:0,onClick:r[3]||(r[3]=e.withModifiers(o=>{var l;return n.$router.push({name:"User Profile",params:{_id:(l=t.creator.target)==null?void 0:l._id}})},["stop"]))}," · by "+e.toDisplayString(((B=(w=t.creator.target)==null?void 0:w.profile)==null?void 0:B.name)||((p=t.creator.target)==null?void 0:p.username)||"Anonymous"),1)):e.createCommentVNode("",!0),t.date?(e.openBlock(),e.createElementBlock("span",R,"·")):e.createCommentVNode("",!0),t.date?(e.openBlock(),e.createElementBlock("span",F,[t.date?(e.openBlock(),e.createBlock(N.default,{key:0,text:n.formatDate(t.date)},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(E(t.date)),1)]),_:1},8,["text"])):e.createCommentVNode("",!0)])):e.createCommentVNode("",!0),t.dateFormatted?(e.openBlock(),e.createElementBlock("span",P," · "+e.toDisplayString(t.dateFormatted),1)):e.createCommentVNode("",!0)])):e.createCommentVNode("",!0),e.createElementVNode("div",T,[t.members?(e.openBlock(),e.createElementBlock("div",U,[e.createElementVNode("span",L,e.toDisplayString(t.members),1),(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(t.membersPhotos.slice(0,2),(o,l)=>(e.openBlock(),e.createElementBlock(e.Fragment,null,[o?(e.openBlock(),e.createElementBlock("img",{key:l,src:(n.FILE_SERVER_URL||"")+o,style:e.normalizeStyle({position:"absolute",top:"0px",right:l*20+20+"%",zIndex:1-l}),class:"br-solid br-2px br-white i-thin bg-light radius-big"},null,12,I)):(e.openBlock(),e.createBlock(C.default,{key:1,style:e.normalizeStyle({position:"absolute",top:"0px",right:l*20+20+"%",zIndex:1-l}),class:"br-solid br-2px br-white i-thin bg-light radius-big"},null,8,["style"]))],64))),256))])):e.createCommentVNode("",!0)]),t.type!=="short"&&t.user?(e.openBlock(),e.createBlock(v.default,{key:3,label:{component:$.default,class:"t-transp i-regular"},align:"right",class:"cursor-pointer z-index-2"},{default:e.withCtx(()=>[e.createElementVNode("section",O,[t.user!==t.creator.target._id?(e.openBlock(),e.createBlock(V.default,{key:0,user:t.user,type:t.entityType,target:t.entity._id,text:"Report",class:"w-100"},{default:e.withCtx(()=>[j]),_:1},8,["user","type","target"])):e.createCommentVNode("",!0),t.actions&&t.actions.length>0?(e.openBlock(!0),e.createElementBlock(e.Fragment,{key:1},e.renderList(t.actions,o=>(e.openBlock(),e.createElementBlock(e.Fragment,null,[o.to?(e.openBlock(),e.createBlock(d,{key:o.to,to:o.to,class:e.normalizeClass(o.class||"w-100 bg-black br-solid br-1px br-white-transp-20 t-white button-small button")},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(o.label),1)]),_:2},1032,["to","class"])):e.createCommentVNode("",!0),o.method?(e.openBlock(),e.createElementBlock("button",{key:1,onClick:o.method,class:e.normalizeClass(o.class||"w-100 bg-black br-solid br-1px br-white-transp-20 t-white button-small button")},e.toDisplayString(o.label),11,A)):e.createCommentVNode("",!0)],64))),256)):e.createCommentVNode("",!0)])]),_:1},8,["label"])):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"),x=require("vue-router"),C=require("../../../../icons/placeholders/PlaceholderUserpic.vue.cjs"),V=require("../../../../reports/components/sections/FormReport.vue.cjs"),N=require("../../../../../components/Tooltip/Tooltip.vue2.cjs"),v=require("../../../../../components/Dropdown/Dropdown.vue.cjs");;/* empty css */;/* empty css */require("../../../../auth/views/store/auth.cjs");require("../../../../organizations/store/memberships.cjs");const $=require("../../../../icons/navigation/IconEllipsis.vue.cjs"),z={key:0,class:"pd-b-zero"},S={class:"w-100 flex-v-center flex-nojustify flex"},D={class:"w-100 flex-nowrap flex-v-center flex"},M=["src"],q={key:2,class:"t-semi"},R={key:1,class:"mn-l-micro mn-r-micro"},F={key:2,class:"pos-relative"},P={key:3},T={class:"d-block mn-l-auto flex-nowrap flex flex-v-center"},U={key:0,class:"w-4r pos-relative i-thin"},L={style:{position:"absolute",top:"0px",right:"0px"},class:"br-solid br-2px br-white z-index-1 radius-big i-thin bg-second flex flex-center t-white p-small t-semi"},I=["src"],O={class:"bg-black flex-column flex gap-thin pd-thin radius-small"},j=e.createElementVNode("button",{class:"w-100 bg-black br-solid br-1px br-white-transp-20 t-white button-small button"}," Report ",-1),A=["onClick"],H={__name:"CardHeader",props:["user","entity","entityType","date","dateFormatted","owner","creator","members","membersPhotos","type","actions"],setup(t){x.useRouter();function E(n){const r=new Date,u=new Date(n),m=Math.abs(r-u),d=Math.floor(m/1e3),a=Math.floor(d/60),s=Math.floor(a/60),i=Math.floor(s/24),c=Math.floor(i/7);return c>0?`${c} week${c>1?"s":""} ago`:i>0?`${i} day${i>1?"s":""} ago`:s>0?`${s} hour${s>1?"s":""} ago`:a>0?`${a} minute${a>1?"s":""} ago`:"Just now"}return(n,r)=>{var m,d,a,s,i,c,k,h,g,b,f,y,w,B,p;const u=e.resolveComponent("router-link");return t.owner?(e.openBlock(),e.createElementBlock("header",z,[e.createElementVNode("div",S,[e.createElementVNode("div",D,[((a=(d=(m=t.owner.target)==null?void 0:m.profile)==null?void 0:d.photo)==null?void 0:a.length)>0&&t.type!=="short"?(e.openBlock(),e.createElementBlock("img",{key:0,loading:"lazy",src:(n.FILE_SERVER_URL||"")+t.owner.target.profile.photo,class:"radius-medium object-fit-cover mn-r-thin i-thin",onClick:r[0]||(r[0]=e.withModifiers(o=>n.$router.push({name:t.owner.type==="user"?"User Profile":"Organization",params:{_id:t.owner.target._id}}),["stop"]))},null,8,M)):e.createCommentVNode("",!0),!((i=(s=t.owner.target)==null?void 0:s.profile)!=null&&i.photo)&&t.type!=="short"?(e.openBlock(),e.createBlock(C.default,{key:1,class:"radius-medium mn-r-thin i-thin",onClick:r[1]||(r[1]=e.withModifiers(o=>n.$router.push({name:t.owner.type==="user"?"User Profile":"Organization",params:{_id:t.owner.target._id}}),["stop"]))})):e.createCommentVNode("",!0),t.type!=="short"?(e.openBlock(),e.createElementBlock("span",q,[e.createElementVNode("span",{onClick:r[2]||(r[2]=e.withModifiers(o=>n.$router.push({name:t.owner.type==="user"?"User Profile":"Organization",params:{_id:t.owner.target._id}}),["stop"]))},e.toDisplayString(((k=(c=t.owner.target)==null?void 0:c.profile)==null?void 0:k.name)||((h=t.creator.target)==null?void 0:h.username)||"Anonymous"),1),!t.creator.hidden&&((b=(g=t.owner.target)==null?void 0:g.profile)==null?void 0:b.name)!==((y=(f=t.creator.target)==null?void 0:f.profile)==null?void 0:y.name)?(e.openBlock(),e.createElementBlock("span",{key:0,onClick:r[3]||(r[3]=e.withModifiers(o=>{var l;return n.$router.push({name:"User Profile",params:{_id:(l=t.creator.target)==null?void 0:l._id}})},["stop"]))}," · by "+e.toDisplayString(((B=(w=t.creator.target)==null?void 0:w.profile)==null?void 0:B.name)||((p=t.creator.target)==null?void 0:p.username)||"Anonymous"),1)):e.createCommentVNode("",!0),t.date?(e.openBlock(),e.createElementBlock("span",R,"·")):e.createCommentVNode("",!0),t.date?(e.openBlock(),e.createElementBlock("span",F,[t.date?(e.openBlock(),e.createBlock(N.default,{key:0,text:n.formatDate(t.date)},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(E(t.date)),1)]),_:1},8,["text"])):e.createCommentVNode("",!0)])):e.createCommentVNode("",!0),t.dateFormatted?(e.openBlock(),e.createElementBlock("span",P," · "+e.toDisplayString(t.dateFormatted),1)):e.createCommentVNode("",!0)])):e.createCommentVNode("",!0),e.createElementVNode("div",T,[t.members?(e.openBlock(),e.createElementBlock("div",U,[e.createElementVNode("span",L,e.toDisplayString(t.members),1),(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(t.membersPhotos.slice(0,2),(o,l)=>(e.openBlock(),e.createElementBlock(e.Fragment,null,[o?(e.openBlock(),e.createElementBlock("img",{loading:"lazy",key:l,src:(n.FILE_SERVER_URL||"")+o,style:e.normalizeStyle({position:"absolute",top:"0px",right:l*20+20+"%",zIndex:1-l}),class:"br-solid br-2px br-white i-thin bg-light radius-big"},null,12,I)):(e.openBlock(),e.createBlock(C.default,{key:1,style:e.normalizeStyle({position:"absolute",top:"0px",right:l*20+20+"%",zIndex:1-l}),class:"br-solid br-2px br-white i-thin bg-light radius-big"},null,8,["style"]))],64))),256))])):e.createCommentVNode("",!0)]),t.type!=="short"&&t.user?(e.openBlock(),e.createBlock(v.default,{key:3,label:{component:$.default,class:"t-transp i-regular"},align:"right",class:"cursor-pointer z-index-2"},{default:e.withCtx(()=>[e.createElementVNode("section",O,[t.user!==t.creator.target._id?(e.openBlock(),e.createBlock(V.default,{key:0,user:t.user,type:t.entityType,target:t.entity._id,text:"Report",class:"w-100"},{default:e.withCtx(()=>[j]),_:1},8,["user","type","target"])):e.createCommentVNode("",!0),t.actions&&t.actions.length>0?(e.openBlock(!0),e.createElementBlock(e.Fragment,{key:1},e.renderList(t.actions,o=>(e.openBlock(),e.createElementBlock(e.Fragment,null,[o.to?(e.openBlock(),e.createBlock(u,{key:o.to,to:o.to,class:e.normalizeClass(o.class||"w-100 bg-black br-solid br-1px br-white-transp-20 t-white button-small button")},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(o.label),1)]),_:2},1032,["to","class"])):e.createCommentVNode("",!0),o.method?(e.openBlock(),e.createElementBlock("button",{key:1,onClick:o.method,class:e.normalizeClass(o.class||"w-100 bg-black br-solid br-1px br-white-transp-20 t-white button-small button")},e.toDisplayString(o.label),11,A)):e.createCommentVNode("",!0)],64))),256)):e.createCommentVNode("",!0)])]),_:1},8,["label"])):e.createCommentVNode("",!0)])])])):e.createCommentVNode("",!0)}}};exports.default=H;
@@ -48,21 +48,22 @@ const j = {
48
48
  ],
49
49
  setup(e) {
50
50
  T();
51
- function I(i) {
52
- const n = /* @__PURE__ */ new Date(), x = new Date(i), f = Math.abs(n - x), g = Math.floor(f / 1e3), l = Math.floor(g / 60), u = Math.floor(l / 60), m = Math.floor(u / 24), h = Math.floor(m / 7);
51
+ function I(a) {
52
+ const n = /* @__PURE__ */ new Date(), x = new Date(a), f = Math.abs(n - x), g = Math.floor(f / 1e3), l = Math.floor(g / 60), u = Math.floor(l / 60), m = Math.floor(u / 24), h = Math.floor(m / 7);
53
53
  return h > 0 ? `${h} week${h > 1 ? "s" : ""} ago` : m > 0 ? `${m} day${m > 1 ? "s" : ""} ago` : u > 0 ? `${u} hour${u > 1 ? "s" : ""} ago` : l > 0 ? `${l} minute${l > 1 ? "s" : ""} ago` : "Just now";
54
54
  }
55
- return (i, n) => {
56
- var f, g, l, u, m, h, $, v, p, C, z, E, R, M, P;
55
+ return (a, n) => {
56
+ var f, g, l, u, m, h, $, v, p, z, C, E, R, M, P;
57
57
  const x = S("router-link");
58
58
  return e.owner ? (t(), s("header", j, [
59
59
  c("div", H, [
60
60
  c("div", J, [
61
61
  ((l = (g = (f = e.owner.target) == null ? void 0 : f.profile) == null ? void 0 : g.photo) == null ? void 0 : l.length) > 0 && e.type !== "short" ? (t(), s("img", {
62
62
  key: 0,
63
- src: (i.FILE_SERVER_URL || "") + e.owner.target.profile.photo,
63
+ loading: "lazy",
64
+ src: (a.FILE_SERVER_URL || "") + e.owner.target.profile.photo,
64
65
  class: "radius-medium object-fit-cover mn-r-thin i-thin",
65
- onClick: n[0] || (n[0] = y((r) => i.$router.push({
66
+ onClick: n[0] || (n[0] = y((r) => a.$router.push({
66
67
  name: e.owner.type === "user" ? "User Profile" : "Organization",
67
68
  params: {
68
69
  _id: e.owner.target._id
@@ -72,7 +73,7 @@ const j = {
72
73
  !((m = (u = e.owner.target) == null ? void 0 : u.profile) != null && m.photo) && e.type !== "short" ? (t(), b(V, {
73
74
  key: 1,
74
75
  class: "radius-medium mn-r-thin i-thin",
75
- onClick: n[1] || (n[1] = y((r) => i.$router.push({
76
+ onClick: n[1] || (n[1] = y((r) => a.$router.push({
76
77
  name: e.owner.type === "user" ? "User Profile" : "Organization",
77
78
  params: {
78
79
  _id: e.owner.target._id
@@ -81,21 +82,21 @@ const j = {
81
82
  })) : o("", !0),
82
83
  e.type !== "short" ? (t(), s("span", G, [
83
84
  c("span", {
84
- onClick: n[2] || (n[2] = y((r) => i.$router.push({
85
+ onClick: n[2] || (n[2] = y((r) => a.$router.push({
85
86
  name: e.owner.type === "user" ? "User Profile" : "Organization",
86
87
  params: {
87
88
  _id: e.owner.target._id
88
89
  }
89
90
  }), ["stop"]))
90
91
  }, d((($ = (h = e.owner.target) == null ? void 0 : h.profile) == null ? void 0 : $.name) || ((v = e.creator.target) == null ? void 0 : v.username) || "Anonymous"), 1),
91
- !e.creator.hidden && ((C = (p = e.owner.target) == null ? void 0 : p.profile) == null ? void 0 : C.name) !== ((E = (z = e.creator.target) == null ? void 0 : z.profile) == null ? void 0 : E.name) ? (t(), s("span", {
92
+ !e.creator.hidden && ((z = (p = e.owner.target) == null ? void 0 : p.profile) == null ? void 0 : z.name) !== ((E = (C = e.creator.target) == null ? void 0 : C.profile) == null ? void 0 : E.name) ? (t(), s("span", {
92
93
  key: 0,
93
94
  onClick: n[3] || (n[3] = y((r) => {
94
- var a;
95
- return i.$router.push({
95
+ var i;
96
+ return a.$router.push({
96
97
  name: "User Profile",
97
98
  params: {
98
- _id: (a = e.creator.target) == null ? void 0 : a._id
99
+ _id: (i = e.creator.target) == null ? void 0 : i._id
99
100
  }
100
101
  });
101
102
  }, ["stop"]))
@@ -104,7 +105,7 @@ const j = {
104
105
  e.date ? (t(), s("span", Q, [
105
106
  e.date ? (t(), b(B, {
106
107
  key: 0,
107
- text: i.formatDate(e.date)
108
+ text: a.formatDate(e.date)
108
109
  }, {
109
110
  default: w(() => [
110
111
  U(d(I(e.date)), 1)
@@ -117,15 +118,16 @@ const j = {
117
118
  c("div", X, [
118
119
  e.members ? (t(), s("div", Y, [
119
120
  c("span", Z, d(e.members), 1),
120
- (t(!0), s(k, null, F(e.membersPhotos.slice(0, 2), (r, a) => (t(), s(k, null, [
121
+ (t(!0), s(k, null, F(e.membersPhotos.slice(0, 2), (r, i) => (t(), s(k, null, [
121
122
  r ? (t(), s("img", {
122
- key: a,
123
- src: (i.FILE_SERVER_URL || "") + r,
123
+ loading: "lazy",
124
+ key: i,
125
+ src: (a.FILE_SERVER_URL || "") + r,
124
126
  style: D({
125
127
  position: "absolute",
126
128
  top: "0px",
127
- right: a * 20 + 20 + "%",
128
- zIndex: 1 - a
129
+ right: i * 20 + 20 + "%",
130
+ zIndex: 1 - i
129
131
  }),
130
132
  class: "br-solid br-2px br-white i-thin bg-light radius-big"
131
133
  }, null, 12, _)) : (t(), b(V, {
@@ -133,8 +135,8 @@ const j = {
133
135
  style: D({
134
136
  position: "absolute",
135
137
  top: "0px",
136
- right: a * 20 + 20 + "%",
137
- zIndex: 1 - a
138
+ right: i * 20 + 20 + "%",
139
+ zIndex: 1 - i
138
140
  }),
139
141
  class: "br-solid br-2px br-white i-thin bg-light radius-big"
140
142
  }, null, 8, ["style"]))
@@ -1 +1 @@
1
- "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vue"),w=require("../../../../../../../node_modules/@unhead/vue/dist/shared/vue.f36acd1f.cjs"),y=require("vue-i18n"),k=require("vue-router"),n=require("../../store/globals.cjs"),C=require("../partials/BottomNavigation.vue.cjs"),S=require("../../../../../../node_modules/@capacitor/preferences/dist/esm/index.cjs"),i="https://weeder.delivery",O={__name:"App",props:{messages:{type:Object,required:!0},logotype:{type:Object}},setup(c){const m=c,{t:a,locale:B}=y.useI18n({messages:m.messages}),d=e.computed(()=>p(`${i}${o.path}`)),o=k.useRoute(),u=["en","ru"];function p(t){return t.endsWith("/")?t.slice(0,-1):t}const g=e.computed(()=>({title:a("meta.title"),description:a("meta.description"),meta:[{charset:"utf-8"},{name:"viewport",content:"width=device-width, initial-scale=1, shrink-to-fit=no"},{hid:"description",name:"description",content:a("meta.description")},{hid:"keywords",name:"keywords",content:a("meta.keywords")},{hid:"og:title",property:"og:title",content:a("meta.og.title")},{hid:"og:description",property:"og:description",content:a("meta.og.description")},{hid:"og:image",property:"og:image",content:i+"/favicon/cover.jpg"},{hid:"og:url",property:"og:url",content:d.value},{hid:"twitter:title",name:"twitter:title",content:a("meta.twitter.title")},{hid:"twitter:description",name:"twitter:description",content:a("meta.twitter.description")},{hid:"twitter:image",name:"twitter:image",content:i+"/favicon/cover.jpg"},{hid:"twitter:card",name:"twitter:card",content:a("meta.twitter.card")}],link:[{hid:"canonical",rel:"canonical",href:d.value},...h.value],htmlAttrs:{lang:a("meta.htmlAttrs.lang")}})),h=e.computed(()=>u.map(t=>{let r=o.path;o.params.locale?r=r.replace(`/${o.params.locale}`,`/${t}`):r=`/${t}${r}`;const s=p(`${i}${r}`);return{hid:"alternate",rel:"alternate",hreflang:t,href:s}}));w.u(g.value);const v=e.ref(!1);async function f(){const t=await S.Preferences.get({key:"first-use"});v.value=t.value?JSON.parse(t.value):!0}return e.onMounted(async()=>{await f()}),(t,r)=>{const s=e.resolveComponent("router-view");return e.openBlock(),e.createElementBlock(e.Fragment,null,[e.createVNode(e.Transition,{name:"moveFromTop",mode:"out-in",appear:""},{default:e.withCtx(()=>[e.unref(o).meta.sidebar&&n.state.isOpenSidebar?(e.openBlock(),e.createBlock(e.resolveDynamicComponent(e.unref(o).meta.sidebar),{key:0,stateSidebar:n.state.isOpenSidebar,onCloseSidebar:r[0]||(r[0]=()=>{n.state.isOpenSidebar=!n.state.isOpenSidebar}),class:e.normalizeClass(["transition-ease-in-out pos-absolute w-70 z-index-0 bg-light",{"pos-l-70-negative":!n.state.isOpenSidebar,"pos-l-0":n.state.isOpenSidebar}])},{default:e.withCtx(({Component:l})=>[e.unref(o).meta.navigation?(e.openBlock(),e.createBlock(e.resolveDynamicComponent(e.unref(o).meta.navigation),{key:0,class:"h3 pd-big cols-1"})):e.createCommentVNode("",!0)]),_:1},40,["stateSidebar","class"])):e.createCommentVNode("",!0)]),_:1}),e.createVNode(e.Transition,{name:"moveFromTop",mode:"out-in",appear:""},{default:e.withCtx(()=>[!t.MOBILE_APP&&e.unref(o).meta.header?(e.openBlock(),e.createBlock(e.resolveDynamicComponent(e.unref(o).meta.header),{key:0,ref:"header",class:e.normalizeClass(["transition-ease-in-out pos-relative br-b br-solid br-grey-transp-10 pos-t-0",{"pos-l-70":n.state.isOpenSidebar,"pos-l-0":!n.state.isOpenSidebar}]),theme:t.headerTheme,logotype:c.logotype},{default:e.withCtx(()=>[e.unref(o).meta.navigation?(e.openBlock(),e.createBlock(e.resolveDynamicComponent(e.unref(o).meta.navigation),{key:0,class:"mn-l-auto desktop-only"})):e.createCommentVNode("",!0)]),_:1},8,["theme","logotype","class"])):e.createCommentVNode("",!0)]),_:1}),e.createVNode(s,{class:e.normalizeClass([{"pos-l-70":n.state.isOpenSidebar,"pos-l-0":!n.state.isOpenSidebar},"transition-ease-in-out h-min-100 w-100 bg-white pos-relative"]),ref:"screen",onScroll:t.handleScroll,onClick:r[1]||(r[1]=l=>n.state.isOpenSidebar?b=>n.state.isOpenSidebar=!1:b=>{console.log("not succes")})},{default:e.withCtx(({Component:l})=>[(e.openBlock(),e.createBlock(e.resolveDynamicComponent(l)))]),_:1},8,["class","onScroll"]),t.MOBILE_APP&&e.unref(o).meta.title_hide?(e.openBlock(),e.createBlock(C.default,{key:0,class:"pd-small z-index-2"})):e.createCommentVNode("",!0)],64)}}};exports.default=O;
1
+ "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vue"),C=require("../../../../../../../node_modules/@unhead/vue/dist/shared/vue.f36acd1f.cjs"),S=require("vue-i18n"),_=require("vue-router"),r=require("../../store/globals.cjs"),O=require("../../../../../../node_modules/@capacitor/preferences/dist/esm/index.cjs"),B={key:0,class:"w-100 h-100"},i="https://weeder.delivery",$={__name:"App",props:{messages:{type:Object,required:!0},logotype:{type:Object}},setup(m){const g=m;let h=e.ref(!1);const u=e.ref(null),{t:n,locale:q}=S.useI18n({messages:g.messages}),p=e.computed(()=>d(`${i}${a.path}`)),a=_.useRoute(),f=["en","ru"];function d(t){return t.endsWith("/")?t.slice(0,-1):t}const v=e.computed(()=>({title:n("meta.title"),description:n("meta.description"),meta:[{charset:"utf-8"},{name:"viewport",content:"width=device-width, initial-scale=1, shrink-to-fit=no"},{hid:"description",name:"description",content:n("meta.description")},{hid:"keywords",name:"keywords",content:n("meta.keywords")},{hid:"og:title",property:"og:title",content:n("meta.og.title")},{hid:"og:description",property:"og:description",content:n("meta.og.description")},{hid:"og:image",property:"og:image",content:i+"/favicon/cover.jpg"},{hid:"og:url",property:"og:url",content:p.value},{hid:"twitter:title",name:"twitter:title",content:n("meta.twitter.title")},{hid:"twitter:description",name:"twitter:description",content:n("meta.twitter.description")},{hid:"twitter:image",name:"twitter:image",content:i+"/favicon/cover.jpg"},{hid:"twitter:card",name:"twitter:card",content:n("meta.twitter.card")}],link:[{hid:"canonical",rel:"canonical",href:p.value},...w.value],htmlAttrs:{lang:n("meta.htmlAttrs.lang")}})),w=e.computed(()=>f.map(t=>{let o=a.path;a.params.locale?o=o.replace(`/${a.params.locale}`,`/${t}`):o=`/${t}${o}`;const l=d(`${i}${o}`);return{hid:"alternate",rel:"alternate",hreflang:t,href:l}}));C.u(v.value);const s=e.ref(!1);async function k(){const t=await O.Preferences.get({key:"first-use"});s.value=t.value?JSON.parse(t.value):!0}const b=t=>{s.value=t};return e.onMounted(async()=>{await k(),u&&(h.value=!0)}),(t,o)=>{const l=e.resolveComponent("router-view");return e.openBlock(),e.createElementBlock(e.Fragment,null,[e.createVNode(e.Transition,{name:"scaleTransition",mode:"out-in"},{default:e.withCtx(()=>[s.value&&e.unref(a).meta.walkthrough?(e.openBlock(),e.createElementBlock("section",B,[(e.openBlock(),e.createBlock(e.resolveDynamicComponent(e.unref(a).meta.walkthrough),{name:"Walkthrough",onUpdateFirstUse:b,slides:[1,2,3],class:"tab"},null,32))])):e.createCommentVNode("",!0)]),_:1}),e.createVNode(e.Transition,{name:"moveFromTop",mode:"out-in",appear:""},{default:e.withCtx(()=>[e.unref(a).meta.sidebar&&r.state.isOpenSidebar?(e.openBlock(),e.createBlock(e.resolveDynamicComponent(e.unref(a).meta.sidebar),{key:0,stateSidebar:r.state.isOpenSidebar,onCloseSidebar:o[0]||(o[0]=()=>{r.state.isOpenSidebar=!r.state.isOpenSidebar}),class:e.normalizeClass(["transition-ease-in-out pos-absolute w-70 z-index-0 bg-light",{"pos-l-70-negative":!r.state.isOpenSidebar,"pos-l-0":r.state.isOpenSidebar}])},{default:e.withCtx(({Component:c})=>[e.unref(a).meta.navigation?(e.openBlock(),e.createBlock(e.resolveDynamicComponent(e.unref(a).meta.navigation),{key:0,class:"h3 pd-big cols-1"})):e.createCommentVNode("",!0)]),_:1},40,["stateSidebar","class"])):e.createCommentVNode("",!0)]),_:1}),e.createVNode(l,{class:e.normalizeClass([{"pos-l-70":r.state.isOpenSidebar,"pos-l-0":!r.state.isOpenSidebar,"pd-t-extra":t.MOBILE_APP==="ios"},"transition-ease-in-out h-min-100 w-100 bg-white pos-relative"]),onClick:o[1]||(o[1]=c=>r.state.isOpenSidebar?y=>r.state.isOpenSidebar=!1:y=>{console.log("not succes")})},{default:e.withCtx(({Component:c})=>[(e.openBlock(),e.createBlock(e.resolveDynamicComponent(c),{ref_key:"page",ref:u},null,512))]),_:1},8,["class"])],64)}}};exports.default=$;