@ozdao/prometheus-framework 0.2.197 → 0.2.199

Sign up to get free protection for your applications and to get access to all the features.
Files changed (417) hide show
  1. package/dist/builder.js +3 -10
  2. package/dist/builder.mjs +3 -10
  3. package/dist/events.server.js +1 -1
  4. package/dist/events.server.mjs +1 -1
  5. package/dist/node_modules/@googlemaps/js-api-loader/dist/index.cjs +1 -1
  6. package/dist/node_modules/@googlemaps/js-api-loader/dist/index.js +21 -20
  7. package/dist/node_modules/@vuepic/vue-datepicker/dist/vue-datepicker.cjs +1 -0
  8. package/dist/node_modules/@vuepic/vue-datepicker/dist/vue-datepicker.js +5042 -0
  9. package/dist/node_modules/date-fns/_lib/addLeadingZeros.cjs +1 -0
  10. package/dist/node_modules/date-fns/_lib/addLeadingZeros.js +7 -0
  11. package/dist/node_modules/date-fns/_lib/defaultOptions.cjs +1 -0
  12. package/dist/node_modules/date-fns/_lib/defaultOptions.js +7 -0
  13. package/dist/node_modules/date-fns/_lib/format/formatters.cjs +1 -0
  14. package/dist/node_modules/date-fns/_lib/format/formatters.js +518 -0
  15. package/dist/node_modules/date-fns/_lib/format/lightFormatters.cjs +1 -0
  16. package/dist/node_modules/date-fns/_lib/format/lightFormatters.js +59 -0
  17. package/dist/node_modules/date-fns/_lib/format/longFormatters.cjs +1 -0
  18. package/dist/node_modules/date-fns/_lib/format/longFormatters.js +52 -0
  19. package/dist/node_modules/date-fns/_lib/getTimezoneOffsetInMilliseconds.cjs +1 -0
  20. package/dist/node_modules/date-fns/_lib/getTimezoneOffsetInMilliseconds.js +18 -0
  21. package/dist/node_modules/date-fns/_lib/protectedTokens.cjs +1 -0
  22. package/dist/node_modules/date-fns/_lib/protectedTokens.js +20 -0
  23. package/dist/node_modules/date-fns/add.cjs +1 -0
  24. package/dist/node_modules/date-fns/add.js +20 -0
  25. package/dist/node_modules/date-fns/addDays.cjs +1 -0
  26. package/dist/node_modules/date-fns/addDays.js +10 -0
  27. package/dist/node_modules/date-fns/addHours.cjs +1 -0
  28. package/dist/node_modules/date-fns/addHours.js +9 -0
  29. package/dist/node_modules/date-fns/addMilliseconds.cjs +1 -0
  30. package/dist/node_modules/date-fns/addMilliseconds.js +10 -0
  31. package/dist/node_modules/date-fns/addMonths.cjs +1 -0
  32. package/dist/node_modules/date-fns/addMonths.js +20 -0
  33. package/dist/node_modules/date-fns/addQuarters.cjs +1 -0
  34. package/dist/node_modules/date-fns/addQuarters.js +9 -0
  35. package/dist/node_modules/date-fns/addYears.cjs +1 -0
  36. package/dist/node_modules/date-fns/addYears.js +8 -0
  37. package/dist/node_modules/date-fns/compareAsc.cjs +1 -0
  38. package/dist/node_modules/date-fns/compareAsc.js +9 -0
  39. package/dist/node_modules/date-fns/constants.cjs +1 -0
  40. package/dist/node_modules/date-fns/constants.js +8 -0
  41. package/dist/node_modules/date-fns/constructFrom.cjs +1 -0
  42. package/dist/node_modules/date-fns/constructFrom.js +7 -0
  43. package/dist/node_modules/date-fns/differenceInCalendarDays.cjs +1 -0
  44. package/dist/node_modules/date-fns/differenceInCalendarDays.js +11 -0
  45. package/dist/node_modules/date-fns/differenceInCalendarYears.cjs +1 -0
  46. package/dist/node_modules/date-fns/differenceInCalendarYears.js +9 -0
  47. package/dist/node_modules/date-fns/differenceInYears.cjs +1 -0
  48. package/dist/node_modules/date-fns/differenceInYears.js +13 -0
  49. package/dist/node_modules/date-fns/eachDayOfInterval.cjs +1 -0
  50. package/dist/node_modules/date-fns/eachDayOfInterval.js +16 -0
  51. package/dist/node_modules/date-fns/eachQuarterOfInterval.cjs +1 -0
  52. package/dist/node_modules/date-fns/eachQuarterOfInterval.js +17 -0
  53. package/dist/node_modules/date-fns/endOfQuarter.cjs +1 -0
  54. package/dist/node_modules/date-fns/endOfQuarter.js +9 -0
  55. package/dist/node_modules/date-fns/endOfWeek.cjs +1 -0
  56. package/dist/node_modules/date-fns/endOfWeek.js +11 -0
  57. package/dist/node_modules/date-fns/endOfYear.cjs +1 -0
  58. package/dist/node_modules/date-fns/endOfYear.js +9 -0
  59. package/dist/node_modules/date-fns/format.cjs +1 -0
  60. package/dist/node_modules/date-fns/format.js +59 -0
  61. package/dist/node_modules/date-fns/getDay.cjs +1 -0
  62. package/dist/node_modules/date-fns/getDay.js +8 -0
  63. package/dist/node_modules/date-fns/getDayOfYear.cjs +1 -0
  64. package/dist/node_modules/date-fns/getDayOfYear.js +11 -0
  65. package/dist/node_modules/date-fns/getDaysInMonth.cjs +1 -0
  66. package/dist/node_modules/date-fns/getDaysInMonth.js +10 -0
  67. package/dist/node_modules/date-fns/getDefaultOptions.cjs +1 -0
  68. package/dist/node_modules/date-fns/getDefaultOptions.js +8 -0
  69. package/dist/node_modules/date-fns/getHours.cjs +1 -0
  70. package/dist/node_modules/date-fns/getHours.js +8 -0
  71. package/dist/node_modules/date-fns/getISODay.cjs +1 -0
  72. package/dist/node_modules/date-fns/getISODay.js +9 -0
  73. package/dist/node_modules/date-fns/getISOWeek.cjs +1 -0
  74. package/dist/node_modules/date-fns/getISOWeek.js +12 -0
  75. package/dist/node_modules/date-fns/getISOWeekYear.cjs +1 -0
  76. package/dist/node_modules/date-fns/getISOWeekYear.js +15 -0
  77. package/dist/node_modules/date-fns/getMinutes.cjs +1 -0
  78. package/dist/node_modules/date-fns/getMinutes.js +8 -0
  79. package/dist/node_modules/date-fns/getMonth.cjs +1 -0
  80. package/dist/node_modules/date-fns/getMonth.js +8 -0
  81. package/dist/node_modules/date-fns/getQuarter.cjs +1 -0
  82. package/dist/node_modules/date-fns/getQuarter.js +9 -0
  83. package/dist/node_modules/date-fns/getSeconds.cjs +1 -0
  84. package/dist/node_modules/date-fns/getSeconds.js +8 -0
  85. package/dist/node_modules/date-fns/getWeek.cjs +1 -0
  86. package/dist/node_modules/date-fns/getWeek.js +12 -0
  87. package/dist/node_modules/date-fns/getWeekYear.cjs +1 -0
  88. package/dist/node_modules/date-fns/getWeekYear.js +17 -0
  89. package/dist/node_modules/date-fns/getYear.cjs +1 -0
  90. package/dist/node_modules/date-fns/getYear.js +8 -0
  91. package/dist/node_modules/date-fns/isAfter.cjs +1 -0
  92. package/dist/node_modules/date-fns/isAfter.js +9 -0
  93. package/dist/node_modules/date-fns/isBefore.cjs +1 -0
  94. package/dist/node_modules/date-fns/isBefore.js +9 -0
  95. package/dist/node_modules/date-fns/isDate.cjs +1 -0
  96. package/dist/node_modules/date-fns/isDate.js +7 -0
  97. package/dist/node_modules/date-fns/isEqual.cjs +1 -0
  98. package/dist/node_modules/date-fns/isEqual.js +9 -0
  99. package/dist/node_modules/date-fns/isSameQuarter.cjs +1 -0
  100. package/dist/node_modules/date-fns/isSameQuarter.js +9 -0
  101. package/dist/node_modules/date-fns/isValid.cjs +1 -0
  102. package/dist/node_modules/date-fns/isValid.js +12 -0
  103. package/dist/node_modules/date-fns/locale/_lib/buildFormatLongFn.cjs +1 -0
  104. package/dist/node_modules/date-fns/locale/_lib/buildFormatLongFn.js +9 -0
  105. package/dist/node_modules/date-fns/locale/_lib/buildLocalizeFn.cjs +1 -0
  106. package/dist/node_modules/date-fns/locale/_lib/buildLocalizeFn.js +18 -0
  107. package/dist/node_modules/date-fns/locale/_lib/buildMatchFn.cjs +1 -0
  108. package/dist/node_modules/date-fns/locale/_lib/buildMatchFn.js +31 -0
  109. package/dist/node_modules/date-fns/locale/_lib/buildMatchPatternFn.cjs +1 -0
  110. package/dist/node_modules/date-fns/locale/_lib/buildMatchPatternFn.js +15 -0
  111. package/dist/node_modules/date-fns/locale/en-US/_lib/formatDistance.cjs +1 -0
  112. package/dist/node_modules/date-fns/locale/en-US/_lib/formatDistance.js +70 -0
  113. package/dist/node_modules/date-fns/locale/en-US/_lib/formatLong.cjs +1 -0
  114. package/dist/node_modules/date-fns/locale/en-US/_lib/formatLong.js +33 -0
  115. package/dist/node_modules/date-fns/locale/en-US/_lib/formatRelative.cjs +1 -0
  116. package/dist/node_modules/date-fns/locale/en-US/_lib/formatRelative.js +11 -0
  117. package/dist/node_modules/date-fns/locale/en-US/_lib/localize.cjs +1 -0
  118. package/dist/node_modules/date-fns/locale/en-US/_lib/localize.js +155 -0
  119. package/dist/node_modules/date-fns/locale/en-US/_lib/match.cjs +1 -0
  120. package/dist/node_modules/date-fns/locale/en-US/_lib/match.js +110 -0
  121. package/dist/node_modules/date-fns/locale/en-US.cjs +1 -0
  122. package/dist/node_modules/date-fns/locale/en-US.js +21 -0
  123. package/dist/node_modules/date-fns/parse/_lib/Parser.cjs +1 -0
  124. package/dist/node_modules/date-fns/parse/_lib/Parser.js +22 -0
  125. package/dist/node_modules/date-fns/parse/_lib/Setter.cjs +1 -0
  126. package/dist/node_modules/date-fns/parse/_lib/Setter.js +40 -0
  127. package/dist/node_modules/date-fns/parse/_lib/constants.cjs +1 -0
  128. package/dist/node_modules/date-fns/parse/_lib/constants.js +49 -0
  129. package/dist/node_modules/date-fns/parse/_lib/parsers/AMPMMidnightParser.cjs +1 -0
  130. package/dist/node_modules/date-fns/parse/_lib/parsers/AMPMMidnightParser.js +49 -0
  131. package/dist/node_modules/date-fns/parse/_lib/parsers/AMPMParser.cjs +1 -0
  132. package/dist/node_modules/date-fns/parse/_lib/parsers/AMPMParser.js +49 -0
  133. package/dist/node_modules/date-fns/parse/_lib/parsers/DateParser.cjs +1 -0
  134. package/dist/node_modules/date-fns/parse/_lib/parsers/DateParser.js +61 -0
  135. package/dist/node_modules/date-fns/parse/_lib/parsers/DayOfYearParser.cjs +1 -0
  136. package/dist/node_modules/date-fns/parse/_lib/parsers/DayOfYearParser.js +51 -0
  137. package/dist/node_modules/date-fns/parse/_lib/parsers/DayParser.cjs +1 -0
  138. package/dist/node_modules/date-fns/parse/_lib/parsers/DayParser.js +45 -0
  139. package/dist/node_modules/date-fns/parse/_lib/parsers/DayPeriodParser.cjs +1 -0
  140. package/dist/node_modules/date-fns/parse/_lib/parsers/DayPeriodParser.js +49 -0
  141. package/dist/node_modules/date-fns/parse/_lib/parsers/EraParser.cjs +1 -0
  142. package/dist/node_modules/date-fns/parse/_lib/parsers/EraParser.js +30 -0
  143. package/dist/node_modules/date-fns/parse/_lib/parsers/ExtendedYearParser.cjs +1 -0
  144. package/dist/node_modules/date-fns/parse/_lib/parsers/ExtendedYearParser.js +21 -0
  145. package/dist/node_modules/date-fns/parse/_lib/parsers/FractionOfSecondParser.cjs +1 -0
  146. package/dist/node_modules/date-fns/parse/_lib/parsers/FractionOfSecondParser.js +22 -0
  147. package/dist/node_modules/date-fns/parse/_lib/parsers/Hour0To11Parser.cjs +1 -0
  148. package/dist/node_modules/date-fns/parse/_lib/parsers/Hour0To11Parser.js +32 -0
  149. package/dist/node_modules/date-fns/parse/_lib/parsers/Hour0to23Parser.cjs +1 -0
  150. package/dist/node_modules/date-fns/parse/_lib/parsers/Hour0to23Parser.js +32 -0
  151. package/dist/node_modules/date-fns/parse/_lib/parsers/Hour1To24Parser.cjs +1 -0
  152. package/dist/node_modules/date-fns/parse/_lib/parsers/Hour1To24Parser.js +33 -0
  153. package/dist/node_modules/date-fns/parse/_lib/parsers/Hour1to12Parser.cjs +1 -0
  154. package/dist/node_modules/date-fns/parse/_lib/parsers/Hour1to12Parser.js +33 -0
  155. package/dist/node_modules/date-fns/parse/_lib/parsers/ISODayParser.cjs +1 -0
  156. package/dist/node_modules/date-fns/parse/_lib/parsers/ISODayParser.js +99 -0
  157. package/dist/node_modules/date-fns/parse/_lib/parsers/ISOTimezoneParser.cjs +1 -0
  158. package/dist/node_modules/date-fns/parse/_lib/parsers/ISOTimezoneParser.js +48 -0
  159. package/dist/node_modules/date-fns/parse/_lib/parsers/ISOTimezoneWithZParser.cjs +1 -0
  160. package/dist/node_modules/date-fns/parse/_lib/parsers/ISOTimezoneWithZParser.js +48 -0
  161. package/dist/node_modules/date-fns/parse/_lib/parsers/ISOWeekParser.cjs +1 -0
  162. package/dist/node_modules/date-fns/parse/_lib/parsers/ISOWeekParser.js +49 -0
  163. package/dist/node_modules/date-fns/parse/_lib/parsers/ISOWeekYearParser.cjs +1 -0
  164. package/dist/node_modules/date-fns/parse/_lib/parsers/ISOWeekYearParser.js +40 -0
  165. package/dist/node_modules/date-fns/parse/_lib/parsers/LocalDayParser.cjs +1 -0
  166. package/dist/node_modules/date-fns/parse/_lib/parsers/LocalDayParser.js +74 -0
  167. package/dist/node_modules/date-fns/parse/_lib/parsers/LocalWeekParser.cjs +1 -0
  168. package/dist/node_modules/date-fns/parse/_lib/parsers/LocalWeekParser.js +48 -0
  169. package/dist/node_modules/date-fns/parse/_lib/parsers/LocalWeekYearParser.cjs +1 -0
  170. package/dist/node_modules/date-fns/parse/_lib/parsers/LocalWeekYearParser.js +69 -0
  171. package/dist/node_modules/date-fns/parse/_lib/parsers/MinuteParser.cjs +1 -0
  172. package/dist/node_modules/date-fns/parse/_lib/parsers/MinuteParser.js +32 -0
  173. package/dist/node_modules/date-fns/parse/_lib/parsers/MonthParser.cjs +1 -0
  174. package/dist/node_modules/date-fns/parse/_lib/parsers/MonthParser.js +71 -0
  175. package/dist/node_modules/date-fns/parse/_lib/parsers/QuarterParser.cjs +1 -0
  176. package/dist/node_modules/date-fns/parse/_lib/parsers/QuarterParser.js +70 -0
  177. package/dist/node_modules/date-fns/parse/_lib/parsers/SecondParser.cjs +1 -0
  178. package/dist/node_modules/date-fns/parse/_lib/parsers/SecondParser.js +32 -0
  179. package/dist/node_modules/date-fns/parse/_lib/parsers/StandAloneLocalDayParser.cjs +1 -0
  180. package/dist/node_modules/date-fns/parse/_lib/parsers/StandAloneLocalDayParser.js +74 -0
  181. package/dist/node_modules/date-fns/parse/_lib/parsers/StandAloneMonthParser.cjs +1 -0
  182. package/dist/node_modules/date-fns/parse/_lib/parsers/StandAloneMonthParser.js +71 -0
  183. package/dist/node_modules/date-fns/parse/_lib/parsers/StandAloneQuarterParser.cjs +1 -0
  184. package/dist/node_modules/date-fns/parse/_lib/parsers/StandAloneQuarterParser.js +70 -0
  185. package/dist/node_modules/date-fns/parse/_lib/parsers/TimestampMillisecondsParser.cjs +1 -0
  186. package/dist/node_modules/date-fns/parse/_lib/parsers/TimestampMillisecondsParser.js +22 -0
  187. package/dist/node_modules/date-fns/parse/_lib/parsers/TimestampSecondsParser.cjs +1 -0
  188. package/dist/node_modules/date-fns/parse/_lib/parsers/TimestampSecondsParser.js +22 -0
  189. package/dist/node_modules/date-fns/parse/_lib/parsers/YearParser.cjs +1 -0
  190. package/dist/node_modules/date-fns/parse/_lib/parsers/YearParser.js +49 -0
  191. package/dist/node_modules/date-fns/parse/_lib/parsers.cjs +1 -0
  192. package/dist/node_modules/date-fns/parse/_lib/parsers.js +67 -0
  193. package/dist/node_modules/date-fns/parse/_lib/utils.cjs +1 -0
  194. package/dist/node_modules/date-fns/parse/_lib/utils.js +103 -0
  195. package/dist/node_modules/date-fns/parse.cjs +1 -0
  196. package/dist/node_modules/date-fns/parse.js +90 -0
  197. package/dist/node_modules/date-fns/set.cjs +1 -0
  198. package/dist/node_modules/date-fns/set.js +11 -0
  199. package/dist/node_modules/date-fns/setDay.cjs +1 -0
  200. package/dist/node_modules/date-fns/setDay.js +12 -0
  201. package/dist/node_modules/date-fns/setHours.cjs +1 -0
  202. package/dist/node_modules/date-fns/setHours.js +9 -0
  203. package/dist/node_modules/date-fns/setISODay.cjs +1 -0
  204. package/dist/node_modules/date-fns/setISODay.js +11 -0
  205. package/dist/node_modules/date-fns/setISOWeek.cjs +1 -0
  206. package/dist/node_modules/date-fns/setISOWeek.js +10 -0
  207. package/dist/node_modules/date-fns/setMilliseconds.cjs +1 -0
  208. package/dist/node_modules/date-fns/setMilliseconds.js +9 -0
  209. package/dist/node_modules/date-fns/setMinutes.cjs +1 -0
  210. package/dist/node_modules/date-fns/setMinutes.js +9 -0
  211. package/dist/node_modules/date-fns/setMonth.cjs +1 -0
  212. package/dist/node_modules/date-fns/setMonth.js +13 -0
  213. package/dist/node_modules/date-fns/setSeconds.cjs +1 -0
  214. package/dist/node_modules/date-fns/setSeconds.js +9 -0
  215. package/dist/node_modules/date-fns/setWeek.cjs +1 -0
  216. package/dist/node_modules/date-fns/setWeek.js +10 -0
  217. package/dist/node_modules/date-fns/setYear.cjs +1 -0
  218. package/dist/node_modules/date-fns/setYear.js +10 -0
  219. package/dist/node_modules/date-fns/startOfDay.cjs +1 -0
  220. package/dist/node_modules/date-fns/startOfDay.js +9 -0
  221. package/dist/node_modules/date-fns/startOfISOWeek.cjs +1 -0
  222. package/dist/node_modules/date-fns/startOfISOWeek.js +8 -0
  223. package/dist/node_modules/date-fns/startOfISOWeekYear.cjs +1 -0
  224. package/dist/node_modules/date-fns/startOfISOWeekYear.js +11 -0
  225. package/dist/node_modules/date-fns/startOfMonth.cjs +1 -0
  226. package/dist/node_modules/date-fns/startOfMonth.js +9 -0
  227. package/dist/node_modules/date-fns/startOfQuarter.cjs +1 -0
  228. package/dist/node_modules/date-fns/startOfQuarter.js +9 -0
  229. package/dist/node_modules/date-fns/startOfWeek.cjs +1 -0
  230. package/dist/node_modules/date-fns/startOfWeek.js +11 -0
  231. package/dist/node_modules/date-fns/startOfWeekYear.cjs +1 -0
  232. package/dist/node_modules/date-fns/startOfWeekYear.js +13 -0
  233. package/dist/node_modules/date-fns/startOfYear.cjs +1 -0
  234. package/dist/node_modules/date-fns/startOfYear.js +10 -0
  235. package/dist/node_modules/date-fns/sub.cjs +1 -0
  236. package/dist/node_modules/date-fns/sub.js +19 -0
  237. package/dist/node_modules/date-fns/subDays.cjs +1 -0
  238. package/dist/node_modules/date-fns/subDays.js +8 -0
  239. package/dist/node_modules/date-fns/subMonths.cjs +1 -0
  240. package/dist/node_modules/date-fns/subMonths.js +8 -0
  241. package/dist/node_modules/date-fns/subYears.cjs +1 -0
  242. package/dist/node_modules/date-fns/subYears.js +8 -0
  243. package/dist/node_modules/date-fns/toDate.cjs +1 -0
  244. package/dist/node_modules/date-fns/toDate.js +8 -0
  245. package/dist/node_modules/date-fns/transpose.cjs +1 -0
  246. package/dist/node_modules/date-fns/transpose.js +18 -0
  247. package/dist/node_modules/embla-carousel/esm/embla-carousel.esm.cjs +1 -1
  248. package/dist/node_modules/embla-carousel/esm/embla-carousel.esm.js +629 -622
  249. package/dist/node_modules/embla-carousel-vue/esm/embla-carousel-vue.esm.cjs +1 -1
  250. package/dist/node_modules/embla-carousel-vue/esm/embla-carousel-vue.esm.js +19 -17
  251. package/dist/node_modules/qrcode/lib/core/byte-data.cjs +1 -1
  252. package/dist/node_modules/qrcode/lib/core/byte-data.js +6 -7
  253. package/dist/node_modules/vue-qrcode-reader/dist/vue-qrcode-reader.cjs +1 -1
  254. package/dist/node_modules/vue-qrcode-reader/dist/vue-qrcode-reader.js +3 -3
  255. package/dist/prometheus-framework/node_modules/@vuepic/vue-datepicker/dist/vue-datepicker.cjs +1 -1
  256. package/dist/prometheus-framework/node_modules/@vuepic/vue-datepicker/dist/vue-datepicker.js +3356 -3363
  257. package/dist/prometheus-framework/node_modules/libphonenumber-js/metadata.min.json.cjs +1 -1
  258. package/dist/prometheus-framework/node_modules/libphonenumber-js/metadata.min.json.js +1 -1
  259. package/dist/prometheus-framework/src/components/EditImages/EditImages.vue.cjs +1 -1
  260. package/dist/prometheus-framework/src/components/EditImages/EditImages.vue.js +16 -15
  261. package/dist/prometheus-framework/src/components/PhotoViewer/PhotoViewer.vue.cjs +1 -1
  262. package/dist/prometheus-framework/src/components/PhotoViewer/PhotoViewer.vue.js +13 -12
  263. package/dist/prometheus-framework/src/components/UploadImage/UploadImage.vue.cjs +1 -1
  264. package/dist/prometheus-framework/src/components/UploadImage/UploadImage.vue.js +12 -11
  265. package/dist/prometheus-framework/src/modules/auth/views/components/pages/SignIn.vue.cjs +1 -1
  266. package/dist/prometheus-framework/src/modules/auth/views/components/pages/SignIn.vue.js +6 -5
  267. package/dist/prometheus-framework/src/modules/community/components/blocks/CardBlogpost.vue.cjs +1 -1
  268. package/dist/prometheus-framework/src/modules/community/components/blocks/CardBlogpost.vue.js +10 -9
  269. package/dist/prometheus-framework/src/modules/constructor/components/elements/Image.vue.cjs +1 -1
  270. package/dist/prometheus-framework/src/modules/constructor/components/elements/Image.vue.js +11 -9
  271. package/dist/prometheus-framework/src/modules/constructor/components/elements/ImageUpload.vue.cjs +1 -1
  272. package/dist/prometheus-framework/src/modules/constructor/components/elements/ImageUpload.vue.js +8 -7
  273. package/dist/prometheus-framework/src/modules/constructor/components/elements/Textarea.vue2.cjs +1 -1
  274. package/dist/prometheus-framework/src/modules/constructor/components/elements/Textarea.vue2.js +17 -17
  275. package/dist/prometheus-framework/src/modules/events/components/blocks/CardEvent.vue.cjs +1 -1
  276. package/dist/prometheus-framework/src/modules/events/components/blocks/CardEvent.vue.js +5 -3
  277. package/dist/prometheus-framework/src/modules/events/components/pages/EditEvent.vue.cjs +1 -1
  278. package/dist/prometheus-framework/src/modules/events/components/pages/EditEvent.vue.js +17 -16
  279. package/dist/prometheus-framework/src/modules/events/components/pages/EditEventTickets.vue.cjs +1 -1
  280. package/dist/prometheus-framework/src/modules/events/components/pages/EditEventTickets.vue.js +15 -14
  281. package/dist/prometheus-framework/src/modules/events/components/sections/HeroEvent.vue.cjs +1 -1
  282. package/dist/prometheus-framework/src/modules/events/components/sections/HeroEvent.vue.js +11 -8
  283. package/dist/prometheus-framework/src/modules/events/components/sections/SectionPreviousEvents.vue.cjs +1 -1
  284. package/dist/prometheus-framework/src/modules/events/components/sections/SectionPreviousEvents.vue.js +7 -6
  285. package/dist/prometheus-framework/src/modules/events/components/sections/SectionSpecialGuests.vue.cjs +1 -1
  286. package/dist/prometheus-framework/src/modules/events/components/sections/SectionSpecialGuests.vue.js +9 -8
  287. package/dist/prometheus-framework/src/modules/gallery/components/pages/Gallery.vue.cjs +1 -1
  288. package/dist/prometheus-framework/src/modules/gallery/components/pages/Gallery.vue.js +5 -4
  289. package/dist/prometheus-framework/src/modules/gallery/components/sections/BackofficeGallery.vue.cjs +1 -1
  290. package/dist/prometheus-framework/src/modules/gallery/components/sections/BackofficeGallery.vue.js +25 -23
  291. package/dist/prometheus-framework/src/modules/globals/views/components/blocks/CardHeader.vue.cjs +1 -1
  292. package/dist/prometheus-framework/src/modules/globals/views/components/blocks/CardHeader.vue.js +22 -20
  293. package/dist/prometheus-framework/src/modules/globals/views/components/layouts/App.vue.cjs +1 -1
  294. package/dist/prometheus-framework/src/modules/globals/views/components/layouts/App.vue.js +87 -93
  295. package/dist/prometheus-framework/src/modules/globals/views/components/layouts/Client.vue.cjs +1 -1
  296. package/dist/prometheus-framework/src/modules/globals/views/components/layouts/Client.vue.js +142 -73
  297. package/dist/prometheus-framework/src/modules/globals/views/components/partials/NavigationBar.vue.cjs +1 -0
  298. package/dist/prometheus-framework/src/modules/globals/views/components/partials/NavigationBar.vue.js +110 -0
  299. package/dist/prometheus-framework/src/modules/landing/components/sections/MobileApp.vue.cjs +1 -1
  300. package/dist/prometheus-framework/src/modules/landing/components/sections/MobileApp.vue.js +8 -7
  301. package/dist/prometheus-framework/src/modules/orders/components/blocks/CardOrder.vue.cjs +1 -1
  302. package/dist/prometheus-framework/src/modules/orders/components/blocks/CardOrder.vue.js +2 -2
  303. package/dist/prometheus-framework/src/modules/orders/components/blocks/CardOrderItem.vue.cjs +1 -1
  304. package/dist/prometheus-framework/src/modules/orders/components/blocks/CardOrderItem.vue.js +19 -18
  305. package/dist/prometheus-framework/src/modules/orders/components/pages/OrderBackoffice.vue.cjs +1 -1
  306. package/dist/prometheus-framework/src/modules/orders/components/pages/OrderBackoffice.vue.js +127 -135
  307. package/dist/prometheus-framework/src/modules/orders/components/pages/Orders.vue.cjs +1 -1
  308. package/dist/prometheus-framework/src/modules/orders/components/pages/Orders.vue.js +2 -4
  309. package/dist/prometheus-framework/src/modules/organizations/components/blocks/CardOrganization.vue.cjs +1 -1
  310. package/dist/prometheus-framework/src/modules/organizations/components/blocks/CardOrganization.vue.js +1 -0
  311. package/dist/prometheus-framework/src/modules/organizations/components/blocks/DepartmentSub.vue.cjs +1 -1
  312. package/dist/prometheus-framework/src/modules/organizations/components/blocks/DepartmentSub.vue.js +5 -5
  313. package/dist/prometheus-framework/src/modules/organizations/components/pages/Organization.vue.cjs +1 -1
  314. package/dist/prometheus-framework/src/modules/organizations/components/pages/Organization.vue.js +75 -69
  315. package/dist/prometheus-framework/src/modules/organizations/components/sections/DetailsTab.vue.cjs +1 -1
  316. package/dist/prometheus-framework/src/modules/organizations/components/sections/DetailsTab.vue.js +1 -0
  317. package/dist/prometheus-framework/src/modules/products/components/blocks/CardLeftover.vue.cjs +1 -1
  318. package/dist/prometheus-framework/src/modules/products/components/blocks/CardLeftover.vue.js +9 -9
  319. package/dist/prometheus-framework/src/modules/products/components/blocks/CardProduct.vue.cjs +1 -1
  320. package/dist/prometheus-framework/src/modules/products/components/blocks/CardProduct.vue.js +1 -0
  321. package/dist/prometheus-framework/src/modules/products/components/blocks/Images360.vue.cjs +1 -1
  322. package/dist/prometheus-framework/src/modules/products/components/blocks/Images360.vue.js +28 -27
  323. package/dist/prometheus-framework/src/modules/products/components/blocks/ImagesThumbnails.vue.cjs +1 -1
  324. package/dist/prometheus-framework/src/modules/products/components/blocks/ImagesThumbnails.vue.js +13 -12
  325. package/dist/prometheus-framework/src/modules/products/components/sections/HeroRecommendation.vue.cjs +1 -1
  326. package/dist/prometheus-framework/src/modules/products/components/sections/HeroRecommendation.vue.js +3 -2
  327. package/dist/prometheus-framework/src/modules/products/components/sections/SectionProduct.vue.cjs +1 -1
  328. package/dist/prometheus-framework/src/modules/products/components/sections/SectionProduct.vue.js +1 -0
  329. package/dist/prometheus-framework/src/modules/spots/components/blocks/SpotSub.vue.cjs +1 -1
  330. package/dist/prometheus-framework/src/modules/spots/components/blocks/SpotSub.vue.js +1 -1
  331. package/dist/prometheus-framework/src/modules/users/components/blocks/CardUser.vue.cjs +1 -1
  332. package/dist/prometheus-framework/src/modules/users/components/blocks/CardUser.vue.js +3 -2
  333. package/dist/prometheus-framework/src/modules/users/components/pages/Profile.vue.cjs +1 -1
  334. package/dist/prometheus-framework/src/modules/users/components/pages/Profile.vue.js +7 -6
  335. package/dist/prometheus-framework/src/modules/wallet/views/components/elements/ConnectMetamask.vue.cjs +1 -1
  336. package/dist/prometheus-framework/src/modules/wallet/views/components/elements/ConnectMetamask.vue.js +12 -9
  337. package/dist/prometheus-framework.cjs.js +27 -27
  338. package/dist/prometheus-framework.es.js +3819 -3782
  339. package/dist/style.css +1 -1
  340. package/dist/tickets.controller-CB549rZT.mjs +402 -0
  341. package/dist/tickets.controller-yqXXLR62.js +401 -0
  342. package/dist/wallet.server.js +1 -1
  343. package/dist/wallet.server.mjs +1 -1
  344. package/package.json +24 -25
  345. package/src/builder/webpack/webpack.config.base.js +2 -2
  346. package/src/builder/webpack/webpack.config.client.js +1 -1
  347. package/src/builder/webpack/webpack.config.spa.js +0 -6
  348. package/src/components/AskToLogin/AskToLogin.vue +1 -1
  349. package/src/components/EditImages/EditImages.vue +1 -1
  350. package/src/components/Error/Error.vue +1 -1
  351. package/src/components/PhotoViewer/PhotoViewer.vue +1 -1
  352. package/src/components/UploadImage/UploadImage.vue +1 -1
  353. package/src/modules/auth/views/components/pages/EnterCode.vue +1 -1
  354. package/src/modules/auth/views/components/pages/EnterPassword.vue +1 -1
  355. package/src/modules/auth/views/components/pages/ResetPassword.vue +1 -1
  356. package/src/modules/auth/views/components/pages/SignIn.vue +1 -1
  357. package/src/modules/auth/views/components/pages/SignUp.vue +1 -1
  358. package/src/modules/backoffice/components/admin/FastOrders.vue +1 -1
  359. package/src/modules/chats/components/blocks/ChatMessage.vue +1 -1
  360. package/src/modules/community/components/blocks/CardBlogpost.vue +1 -1
  361. package/src/modules/constructor/components/elements/Image.vue +2 -2
  362. package/src/modules/constructor/components/elements/ImageUpload.vue +1 -1
  363. package/src/modules/events/components/blocks/CardEvent.vue +2 -2
  364. package/src/modules/events/components/pages/EditEvent.vue +12 -1
  365. package/src/modules/events/components/pages/EditEventTickets.vue +1 -1
  366. package/src/modules/events/components/pages/Event.vue +1 -1
  367. package/src/modules/events/components/sections/HeroEvent.vue +4 -4
  368. package/src/modules/events/components/sections/SectionPreviousEvents.vue +1 -1
  369. package/src/modules/events/components/sections/SectionSpecialGuests.vue +1 -1
  370. package/src/modules/events/controllers/utils/templateEmail.js +1 -1
  371. package/src/modules/events/controllers/utils/templateTicket.js +1 -1
  372. package/src/modules/gallery/components/pages/Gallery.vue +1 -1
  373. package/src/modules/gallery/components/sections/BackofficeGallery.vue +2 -2
  374. package/src/modules/globals/views/components/blocks/CardHeader.vue +2 -2
  375. package/src/modules/globals/views/components/layouts/App.vue +15 -39
  376. package/src/modules/globals/views/components/layouts/Client.vue +89 -45
  377. package/src/modules/globals/views/components/partials/Footer.vue +7 -7
  378. package/src/modules/globals/views/components/partials/NavigationBar.vue +39 -16
  379. package/src/modules/globals/views/components/sections/Walkthrough.vue +2 -2
  380. package/src/modules/landing/components/sections/Examples.vue +1 -1
  381. package/src/modules/landing/components/sections/HowItWorksSection.vue +3 -3
  382. package/src/modules/landing/components/sections/HowToBuyWDR.vue +1 -1
  383. package/src/modules/landing/components/sections/InstagramSection.vue +2 -2
  384. package/src/modules/landing/components/sections/MobileApp.vue +1 -1
  385. package/src/modules/landing/components/sections/SectionEarn.vue +2 -2
  386. package/src/modules/landing/components/sections/SectionFeature.vue +1 -1
  387. package/src/modules/landing/components/sections/SectionFeaturesImages.vue +1 -1
  388. package/src/modules/landing/components/sections/SectionHeroToken.vue +1 -1
  389. package/src/modules/landing/components/sections/SectionsSection.vue +4 -4
  390. package/src/modules/landing/components/sections/WhatIsWDRSection.vue +3 -3
  391. package/src/modules/landing/router/landing.js +1 -1
  392. package/src/modules/orders/components/blocks/CardOrder.vue +7 -7
  393. package/src/modules/orders/components/blocks/CardOrderItem.vue +1 -1
  394. package/src/modules/orders/components/blocks/CardOrderVar1.vue +1 -1
  395. package/src/modules/orders/components/pages/OrderBackoffice.vue +3 -4
  396. package/src/modules/orders/components/pages/Orders.vue +0 -3
  397. package/src/modules/orders/components/pages/Orders_refact.vue +7 -7
  398. package/src/modules/orders/components/sections/AskToLogin.vue +1 -1
  399. package/src/modules/organizations/components/blocks/CardOrganization.vue +2 -2
  400. package/src/modules/organizations/components/blocks/Contacts.vue +4 -4
  401. package/src/modules/organizations/components/blocks/DepartmentSub.vue +1 -1
  402. package/src/modules/organizations/components/pages/Organization.vue +3 -3
  403. package/src/modules/organizations/components/sections/DetailsTab.vue +1 -1
  404. package/src/modules/products/components/blocks/CardLeftover.vue +1 -1
  405. package/src/modules/products/components/blocks/CardProduct.vue +1 -1
  406. package/src/modules/products/components/blocks/EditFilters.vue +1 -1
  407. package/src/modules/products/components/blocks/Images360.vue +1 -1
  408. package/src/modules/products/components/blocks/ImagesThumbnails.vue +1 -1
  409. package/src/modules/products/components/sections/HeroRecommendation.vue +1 -1
  410. package/src/modules/products/components/sections/MenuSection.vue +1 -1
  411. package/src/modules/products/components/sections/ProductInformationSection.vue +5 -5
  412. package/src/modules/products/components/sections/SectionProduct.vue +1 -1
  413. package/src/modules/spots/components/blocks/SpotSub.vue +1 -1
  414. package/src/modules/users/components/blocks/CardUser.vue +1 -1
  415. package/src/modules/users/components/pages/Profile.vue +1 -1
  416. package/src/modules/wallet/views/components/elements/ConnectMetamask.vue +3 -3
  417. package/src/modules/wallet/views/components/pages/Wallet.vue +4 -4
@@ -1,4 +1,4 @@
1
- import { ref as g, onMounted as C, resolveComponent as z, openBlock as t, createElementBlock as d, createVNode as o, createElementVNode as B, Transition as _, withCtx as r, createBlock as u, unref as l, Fragment as h, renderList as k, createCommentVNode as i, createTextVNode as b } from "vue";
1
+ import { ref as v, onMounted as z, resolveComponent as C, openBlock as t, createElementBlock as d, createVNode as r, createElementVNode as B, Transition as _, withCtx as a, createBlock as m, unref as l, Fragment as h, renderList as k, createCommentVNode as n, createTextVNode as b } from "vue";
2
2
  import { useRouter as N, useRoute as P } from "vue-router";
3
3
  import "vue-i18n";
4
4
  /* empty css */
@@ -9,39 +9,45 @@ import V from "../../../community/components/blocks/CardBlogpost.vue.js";
9
9
  /* empty css */
10
10
  import "../../../../components/Menu/MenuItem.vue.js";
11
11
  /* empty css */
12
- import q from "../../../events/components/sections/Feed.vue.js";
13
- import A from "../../../spots/components/blocks/CardSpot.vue.js";
14
- import E from "../../../products/components/pages/Products.vue.js";
15
- import { state as n } from "../../../auth/views/store/auth.js";
16
- import { actions as F, state as m } from "../../store/organizations.js";
17
- import { actions as L } from "../../store/memberships.js";
12
+ import q from "../sections/DetailsTab.vue.js";
13
+ import A from "../../../events/components/sections/Feed.vue.js";
14
+ import E from "../../../spots/components/blocks/CardSpot.vue.js";
15
+ import F from "../../../products/components/pages/Products.vue.js";
16
+ import { state as i } from "../../../auth/views/store/auth.js";
17
+ import { actions as L, state as u } from "../../store/organizations.js";
18
+ import { actions as S } from "../../store/memberships.js";
18
19
  import "../../store/departments.js";
19
- import { read as S } from "../../../community/store/blogposts.js";
20
- import { actions as R } from "../../../spots/store/spots.js";
20
+ import { read as R } from "../../../community/store/blogposts.js";
21
+ import { actions as T } from "../../../spots/store/spots.js";
21
22
  /* empty css */
22
- const T = {
23
+ const D = {
23
24
  key: 0,
24
25
  class: "pd-thin for-transition w-100"
25
- }, D = { class: "pos-relative" }, G = { key: 0 }, de = {
26
+ }, G = { class: "pos-relative" }, I = { key: 0 }, ce = {
26
27
  __name: "Organization",
27
- setup(I) {
28
+ setup(U) {
28
29
  N();
29
30
  const e = P();
30
31
  let w = e.query.tab ? e.query.tab : "products";
31
- const v = g(null);
32
- C(async () => {
33
- v.value = await F.read({
32
+ const g = v(null);
33
+ z(async () => {
34
+ g.value = await L.read({
34
35
  _id: e.params._id,
35
- user: n.user._id
36
- }), await L.read({ target: e.params._id });
36
+ user: i.user._id
37
+ }), await S.read({ target: e.params._id });
37
38
  });
38
- const s = g(w);
39
+ const s = v(w);
39
40
  return e.query.tab = s.value, ($, p) => {
40
- const f = z("router-link");
41
- return v.value ? (t(), d("div", T, [
42
- o(M, {
41
+ const f = C("router-link");
42
+ return g.value ? (t(), d("div", D, [
43
+ r(q, {
44
+ organization: u.current,
45
+ user: i.user,
46
+ class: "mn-b-semi"
47
+ }, null, 8, ["organization", "user"]),
48
+ r(M, {
43
49
  selected: s.value,
44
- "onUpdate:selected": p[0] || (p[0] = (a) => s.value = a),
50
+ "onUpdate:selected": p[0] || (p[0] = (o) => s.value = o),
45
51
  tabs: [
46
52
  { name: "Community", value: "community" },
47
53
  { name: "Menu", value: "products" },
@@ -50,10 +56,10 @@ const T = {
50
56
  ],
51
57
  class: "mn-b-small o-hidden h5 radius-big bg-light"
52
58
  }, null, 8, ["selected"]),
53
- B("div", D, [
54
- o(_, { name: "slide-fade" }, {
55
- default: r(() => [
56
- s.value === "community" ? (t(), u(y, {
59
+ B("div", G, [
60
+ r(_, { name: "slide-fade" }, {
61
+ default: a(() => [
62
+ s.value === "community" ? (t(), m(y, {
57
63
  key: 0,
58
64
  showLoadMore: !1,
59
65
  states: {
@@ -63,48 +69,48 @@ const T = {
63
69
  }
64
70
  },
65
71
  store: {
66
- read: (a) => S(a)
72
+ read: (o) => R(o)
67
73
  },
68
74
  options: {
69
75
  status: "published",
70
- user: n.user._id,
76
+ user: i.user._id,
71
77
  owner: l(e).params._id
72
78
  },
73
79
  class: "row-1 gap-thin"
74
80
  }, {
75
- default: r(({
76
- items: a
81
+ default: a(({
82
+ items: o
77
83
  }) => [
78
- (t(!0), d(h, null, k(a, (c) => (t(), u(V, {
84
+ (t(!0), d(h, null, k(o, (c) => (t(), m(V, {
79
85
  key: c._id,
80
86
  blogpost: c,
81
- user: n.user._id,
87
+ user: i.user._id,
82
88
  class: "h-max-40r mn-b-medium"
83
89
  }, null, 8, ["blogpost", "user"]))), 128))
84
90
  ]),
85
91
  _: 1
86
- }, 8, ["store", "options"])) : i("", !0)
92
+ }, 8, ["store", "options"])) : n("", !0)
87
93
  ]),
88
94
  _: 1
89
95
  }),
90
- o(_, { name: "slide-fade" }, {
91
- default: r(() => [
92
- s.value === "events" ? (t(), u(q, {
96
+ r(_, { name: "slide-fade" }, {
97
+ default: a(() => [
98
+ s.value === "events" ? (t(), m(A, {
93
99
  key: 0,
94
- user: n.user._id,
100
+ user: i.user._id,
95
101
  owner: l(e).params._id,
96
102
  sortOrder: "desc",
97
103
  sortParam: "date.start"
98
- }, null, 8, ["user", "owner"])) : i("", !0)
104
+ }, null, 8, ["user", "owner"])) : n("", !0)
99
105
  ]),
100
106
  _: 1
101
107
  }),
102
- s.value === "products" && n.user._id === m.current.owner ? (t(), u(O, {
108
+ s.value === "products" && i.user._id === u.current.owner ? (t(), m(O, {
103
109
  key: 0,
104
110
  class: "flex-nowrap gap-thin mn-b-small flex"
105
111
  }, {
106
- default: r(() => [
107
- o(f, {
112
+ default: a(() => [
113
+ r(f, {
108
114
  class: "bg-black t-white uppercase t-semi pd-thin radius-extra",
109
115
  to: {
110
116
  name: "ProductAdd",
@@ -113,12 +119,12 @@ const T = {
113
119
  }
114
120
  }
115
121
  }, {
116
- default: r(() => [
122
+ default: a(() => [
117
123
  b(" Add Product ")
118
124
  ]),
119
125
  _: 1
120
126
  }, 8, ["to"]),
121
- o(f, {
127
+ r(f, {
122
128
  class: "uppercase t-semi pd-thin radius-extra",
123
129
  to: {
124
130
  name: "Leftovers",
@@ -127,12 +133,12 @@ const T = {
127
133
  }
128
134
  }
129
135
  }, {
130
- default: r(() => [
136
+ default: a(() => [
131
137
  b(" Change Invetory ")
132
138
  ]),
133
139
  _: 1
134
140
  }, 8, ["to"]),
135
- o(f, {
141
+ r(f, {
136
142
  class: "d-block mn-l-auto uppercase t-semi bg-white pd-thin radius-extra",
137
143
  to: {
138
144
  name: "Backoffice",
@@ -141,27 +147,27 @@ const T = {
141
147
  }
142
148
  }
143
149
  }, {
144
- default: r(() => [
150
+ default: a(() => [
145
151
  b(" Go to Backoffice ")
146
152
  ]),
147
153
  _: 1
148
154
  }, 8, ["to"])
149
155
  ]),
150
156
  _: 1
151
- })) : i("", !0),
152
- o(_, { name: "slide-fade" }, {
153
- default: r(() => [
154
- s.value === "products" ? (t(), u(E, {
157
+ })) : n("", !0),
158
+ r(_, { name: "slide-fade" }, {
159
+ default: a(() => [
160
+ s.value === "products" ? (t(), m(F, {
155
161
  key: 0,
156
- organization: m.current
157
- }, null, 8, ["organization"])) : i("", !0)
162
+ organization: u.current
163
+ }, null, 8, ["organization"])) : n("", !0)
158
164
  ]),
159
165
  _: 1
160
166
  }),
161
- o(_, { name: "slide-fade" }, {
162
- default: r(() => [
163
- s.value === "spots" ? (t(), d("div", G, [
164
- o(y, {
167
+ r(_, { name: "slide-fade" }, {
168
+ default: a(() => [
169
+ s.value === "spots" ? (t(), d("div", I, [
170
+ r(y, {
165
171
  states: {
166
172
  empty: {
167
173
  title: "No Spots Found",
@@ -169,42 +175,42 @@ const T = {
169
175
  }
170
176
  },
171
177
  store: {
172
- read: (a) => R.read(l(e).params._id),
173
- state: m
178
+ read: (o) => T.read(l(e).params._id),
179
+ state: u
174
180
  },
175
181
  options: {
176
- user: n.user._id,
182
+ user: i.user._id,
177
183
  sort: "numberOfMemberships",
178
184
  contain: ["blogposts"],
179
185
  limit: 10
180
186
  }
181
187
  }, {
182
- default: r(({
183
- items: a
188
+ default: a(({
189
+ items: o
184
190
  }) => [
185
- (t(!0), d(h, null, k(a, (c, x) => (t(), u(A, {
191
+ (t(!0), d(h, null, k(o, (c, x) => (t(), m(E, {
186
192
  key: x,
187
193
  spot: c,
188
- organization: m.current,
194
+ organization: u.current,
189
195
  class: "radius-big bg-light mn-b-thin"
190
196
  }, null, 8, ["spot", "organization"]))), 128))
191
197
  ]),
192
198
  _: 1
193
199
  }, 8, ["store", "options"]),
194
- n.user._id === m.current.owner ? (t(), d("button", {
200
+ i.user._id === u.current.owner ? (t(), d("button", {
195
201
  key: 0,
196
- onClick: p[1] || (p[1] = (a) => $.$router.push(`/spots/${m.current._id}/spots/create`)),
202
+ onClick: p[1] || (p[1] = (o) => $.$router.push(`/spots/${u.current._id}/spots/create`)),
197
203
  class: "mn-b-thin bg-main button w-100"
198
- }, " Add spot ")) : i("", !0)
199
- ])) : i("", !0)
204
+ }, " Add spot ")) : n("", !0)
205
+ ])) : n("", !0)
200
206
  ]),
201
207
  _: 1
202
208
  })
203
209
  ])
204
- ])) : i("", !0);
210
+ ])) : n("", !0);
205
211
  };
206
212
  }
207
213
  };
208
214
  export {
209
- de as default
215
+ ce as default
210
216
  };
@@ -1 +1 @@
1
- "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vue"),u=require("vue-router"),d=require("../../../../components/Dropdown/Dropdown.vue.cjs"),m=require("../../../../components/Text/Text.vue.cjs"),g=require("../../../../components/Chips/Chips.vue.cjs"),b=require("../../../icons/entities/IconFollowing.vue.cjs"),h=require("../../../icons/navigation/IconEdit.vue.cjs"),f=require("../../../icons/navigation/IconEllipsis.vue.cjs"),k=require("../../../icons/placeholders/PlaceholderOrganizationPic.vue.cjs"),c=require("../elements/ButtonToggleMembership.vue.cjs"),z=require("../blocks/Socials.vue.cjs"),w=require("../../../reports/components/sections/FormReport.vue.cjs"),x=require("../../store/organizations.cjs"),B=require("../../store/memberships.cjs"),V={class:"flex-center flex flex-column t-center pd-medium radius-big bg-light"},y={class:"bg-black pd-thin radius-small"},N=e.createElementVNode("button",{class:"w-100 bg-black br-solid br-1px br-white-transp-20 t-white button-small button"}," Report ",-1),E=["src"],q={class:"mn-b-thin"},p={class:"flex-center pd-r-thin pd-l-thin flex-nowrap flex mn-t-thin bg-white radius-extra w-max"},C={class:"mn-t-thin p-medium t-medium uppercase mn-b-thin"},S={class:"w-max-50r mn-t-regular mn-b-medium p-big"},v={key:5,class:"mn-t-small mn-b-thin"},O={__name:"DetailsTab",props:{organization:Object,user:Object},setup(t){const s=u.useRoute(),l=({membership:o,status:i,target:r},n,a)=>{B.mutations.handleMembershipUpdate(x.state.current,o,i,r,n,a)};return(o,i)=>(e.openBlock(),e.createBlock(e.Transition,{name:"slide-fade"},{default:e.withCtx(()=>{var r,n;return[e.createElementVNode("section",V,[t.user._id!==t.organization.owner?(e.openBlock(),e.createBlock(d.default,{key:0,label:{component:f.default,class:"i-regular t-transp"},align:"right",class:"cursor-pointer pos-absolute pos-r-regular pos-t-regular pd-thin radius-extra"},{default:e.withCtx(()=>[e.createElementVNode("section",y,[e.createVNode(w.default,{user:t.user._id,type:"organization",target:t.organization._id,text:"Report",class:"w-100"},{default:e.withCtx(()=>[N]),_:1},8,["user","target"]),t.user._id&&t.user._id!==t.organization.owner?(e.openBlock(),e.createBlock(c.default,{key:0,user:t.user._id,type:"organization",role:"blocked",target:t.organization._id,status:t.organization.isBlocked,text:{create:"Block",remove:"Unblock"},onUpdateMembership:i[0]||(i[0]=a=>l(a,"isBlocked")),class:"t-white w-100 mn-t-thin bg-red"},null,8,["user","target","status"])):e.createCommentVNode("",!0)])]),_:1},8,["label"])):e.createCommentVNode("",!0),t.user._id===t.organization.owner?(e.openBlock(),e.createBlock(h.default,{key:1,onClick:i[1]||(i[1]=a=>o.$router.push({name:"Organization Edit",params:{_id:t.organization._id}})),class:"pos-absolute cursor-pointer pos-t-big pos-r-big i-regular t-transp"})):e.createCommentVNode("",!0),t.organization.profile.photo?(e.openBlock(),e.createElementBlock("img",{key:2,src:(o.FILE_SERVER_URL||"")+t.organization.profile.photo,class:"radius-big bg-light flex-center flex mn-b-small w-8r"},null,8,E)):(e.openBlock(),e.createBlock(k.default,{key:3,class:"radius-medium mn-b-small i-extra"})),e.createElementVNode("h1",q,e.toDisplayString(t.organization.profile.name),1),e.createElementVNode("div",p,[e.createVNode(b.default,{class:"i-medium mn-r-micro t-transp"}),e.createElementVNode("p",C,e.toDisplayString(t.organization.numberOfSubscribers)+" followers",1),t.user._id&&e.unref(s).params._id&&e.unref(s).params._id!==t.user._id&&t.organization.owner!==t.user._id?(e.openBlock(),e.createBlock(c.default,{key:0,user:t.user._id,type:"organization",role:"subscriber",target:t.organization._id,status:t.organization.isSubscriber,text:{create:"+",remove:"-"},onUpdateMembership:i[2]||(i[2]=a=>l(a,"isSubscriber","numberOfSubscribers")),class:"mn-l-thin p-medium t-medium radius-extra i-semi"},null,8,["user","target","status"])):e.createCommentVNode("",!0)]),e.createElementVNode("p",S,[e.createVNode(m.default,{text:t.organization.profile.description||"",showToggleText:!0,maxLen:320},null,8,["text"])]),((n=(r=t.organization.profile)==null?void 0:r.tags)==null?void 0:n.length)>0?(e.openBlock(),e.createBlock(g.default,{key:4,chips:t.organization.profile.tags,class:"p-medium"},null,8,["chips"])):e.createCommentVNode("",!0),Object.values(t.organization.socials).some(a=>a)?(e.openBlock(),e.createElementBlock("h4",v," Find us in socials ")):e.createCommentVNode("",!0),e.createVNode(z.default,{telegram:t.organization.socials.telegram,facebook:t.organization.socials.facebook,instagram:t.organization.socials.instagram,twitter:t.organization.socials.twitter,youtube:t.organization.socials.youtube},null,8,["telegram","facebook","instagram","twitter","youtube"])])]}),_:1}))}};exports.default=O;
1
+ "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vue"),u=require("vue-router"),d=require("../../../../components/Dropdown/Dropdown.vue.cjs"),m=require("../../../../components/Text/Text.vue.cjs"),g=require("../../../../components/Chips/Chips.vue.cjs"),b=require("../../../icons/entities/IconFollowing.vue.cjs"),h=require("../../../icons/navigation/IconEdit.vue.cjs"),f=require("../../../icons/navigation/IconEllipsis.vue.cjs"),k=require("../../../icons/placeholders/PlaceholderOrganizationPic.vue.cjs"),c=require("../elements/ButtonToggleMembership.vue.cjs"),z=require("../blocks/Socials.vue.cjs"),w=require("../../../reports/components/sections/FormReport.vue.cjs"),x=require("../../store/organizations.cjs"),B=require("../../store/memberships.cjs"),y={class:"flex-center flex flex-column t-center pd-medium radius-big bg-light"},V={class:"bg-black pd-thin radius-small"},N=e.createElementVNode("button",{class:"w-100 bg-black br-solid br-1px br-white-transp-20 t-white button-small button"}," Report ",-1),E=["src"],q={class:"mn-b-thin"},p={class:"flex-center pd-r-thin pd-l-thin flex-nowrap flex mn-t-thin bg-white radius-extra w-max"},C={class:"mn-t-thin p-medium t-medium uppercase mn-b-thin"},S={class:"w-max-50r mn-t-regular mn-b-medium p-big"},v={key:5,class:"mn-t-small mn-b-thin"},O={__name:"DetailsTab",props:{organization:Object,user:Object},setup(t){const s=u.useRoute(),l=({membership:o,status:i,target:r},n,a)=>{B.mutations.handleMembershipUpdate(x.state.current,o,i,r,n,a)};return(o,i)=>(e.openBlock(),e.createBlock(e.Transition,{name:"slide-fade"},{default:e.withCtx(()=>{var r,n;return[e.createElementVNode("section",y,[t.user._id!==t.organization.owner?(e.openBlock(),e.createBlock(d.default,{key:0,label:{component:f.default,class:"i-regular t-transp"},align:"right",class:"cursor-pointer pos-absolute pos-r-regular pos-t-regular pd-thin radius-extra"},{default:e.withCtx(()=>[e.createElementVNode("section",V,[e.createVNode(w.default,{user:t.user._id,type:"organization",target:t.organization._id,text:"Report",class:"w-100"},{default:e.withCtx(()=>[N]),_:1},8,["user","target"]),t.user._id&&t.user._id!==t.organization.owner?(e.openBlock(),e.createBlock(c.default,{key:0,user:t.user._id,type:"organization",role:"blocked",target:t.organization._id,status:t.organization.isBlocked,text:{create:"Block",remove:"Unblock"},onUpdateMembership:i[0]||(i[0]=a=>l(a,"isBlocked")),class:"t-white w-100 mn-t-thin bg-red"},null,8,["user","target","status"])):e.createCommentVNode("",!0)])]),_:1},8,["label"])):e.createCommentVNode("",!0),t.user._id===t.organization.owner?(e.openBlock(),e.createBlock(h.default,{key:1,onClick:i[1]||(i[1]=a=>o.$router.push({name:"Organization Edit",params:{_id:t.organization._id}})),class:"pos-absolute cursor-pointer pos-t-big pos-r-big i-regular t-transp"})):e.createCommentVNode("",!0),t.organization.profile.photo?(e.openBlock(),e.createElementBlock("img",{key:2,loading:"lazy",src:(o.FILE_SERVER_URL||"")+t.organization.profile.photo,class:"radius-big bg-light flex-center flex mn-b-small w-8r"},null,8,E)):(e.openBlock(),e.createBlock(k.default,{key:3,class:"radius-medium mn-b-small i-extra"})),e.createElementVNode("h1",q,e.toDisplayString(t.organization.profile.name),1),e.createElementVNode("div",p,[e.createVNode(b.default,{class:"i-medium mn-r-micro t-transp"}),e.createElementVNode("p",C,e.toDisplayString(t.organization.numberOfSubscribers)+" followers",1),t.user._id&&e.unref(s).params._id&&e.unref(s).params._id!==t.user._id&&t.organization.owner!==t.user._id?(e.openBlock(),e.createBlock(c.default,{key:0,user:t.user._id,type:"organization",role:"subscriber",target:t.organization._id,status:t.organization.isSubscriber,text:{create:"+",remove:"-"},onUpdateMembership:i[2]||(i[2]=a=>l(a,"isSubscriber","numberOfSubscribers")),class:"mn-l-thin p-medium t-medium radius-extra i-semi"},null,8,["user","target","status"])):e.createCommentVNode("",!0)]),e.createElementVNode("p",S,[e.createVNode(m.default,{text:t.organization.profile.description||"",showToggleText:!0,maxLen:320},null,8,["text"])]),((n=(r=t.organization.profile)==null?void 0:r.tags)==null?void 0:n.length)>0?(e.openBlock(),e.createBlock(g.default,{key:4,chips:t.organization.profile.tags,class:"p-medium"},null,8,["chips"])):e.createCommentVNode("",!0),Object.values(t.organization.socials).some(a=>a)?(e.openBlock(),e.createElementBlock("h4",v," Find us in socials ")):e.createCommentVNode("",!0),e.createVNode(z.default,{telegram:t.organization.socials.telegram,facebook:t.organization.socials.facebook,instagram:t.organization.socials.instagram,twitter:t.organization.socials.twitter,youtube:t.organization.socials.youtube},null,8,["telegram","facebook","instagram","twitter","youtube"])])]}),_:1}))}};exports.default=O;
@@ -77,6 +77,7 @@ const M = { class: "flex-center flex flex-column t-center pd-medium radius-big b
77
77
  })) : o("", !0),
78
78
  t.organization.profile.photo ? (e(), b("img", {
79
79
  key: 2,
80
+ loading: "lazy",
80
81
  src: (s.FILE_SERVER_URL || "") + t.organization.profile.photo,
81
82
  class: "radius-big bg-light flex-center flex mn-b-small w-8r"
82
83
  }, null, 8, j)) : (e(), r(E, {
@@ -1 +1 @@
1
- "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vue"),s=require("vue-router"),c=require("../../../globals/views/components/blocks/CardHeader.vue.cjs"),i=require("../../../icons/navigation/IconEdit.vue.cjs"),d=require("../../../../../../_virtual/_plugin-vue_export-helper.cjs");;/* empty css */const m=t=>(e.pushScopeId("data-v-1fed0c02"),t=t(),e.popScopeId(),t),u={class:"flex-column pos-relative flex-wrap"},f={class:"mn-t-small w-100 bg-white radius-small pd-small spoiler"},v={class:"flex-child flex-child-shrink-0"},h={key:0,class:"mn-r-thin mn-l-thin t-transp"},p={key:1,class:"flex-child flex-child-shrink-0"},k={key:2,class:"mn-r-thin mn-l-thin t-transp"},g={key:3,class:"t-truncate"},y={key:0},V={class:"mn-t-small w-100 mn-b-thin flex"},N={class:"w-50 flex"},E=m(()=>e.createElementVNode("span",{class:"mn-r-thin mn-l-thin t-transp"},"|",-1)),x={class:"w-50"},B={class:"t-transp"},C={class:"t-right w-50"},w={class:"t-transp"},S={__name:"CardLeftover",props:{leftover:Object},setup(t){s.useRouter();const r=e.ref(!0);return(n,l)=>{const a=e.resolveComponent("router-link");return e.openBlock(),e.createElementBlock("div",u,[e.createVNode(c.default,{entity:t.leftover,entityType:"leftover",user:n.user,owner:t.leftover.creator,creator:t.leftover.creator,date:t.leftover.createdAt},null,8,["entity","user","owner","creator","date"]),e.createVNode(a,{to:{name:"LeftoverEdit",params:{_id:t.leftover.organization,leftover:t.leftover._id}},class:"cursor-pointer pos-absolute pos-t-regular pos-r-regular radius-extra pd-thin bg-second"},{default:e.withCtx(()=>[e.createVNode(i.default,{class:"i-regular",classes:"fill-white"})]),_:1},8,["to"]),e.createElementVNode("div",f,[e.createElementVNode("div",{onClick:l[0]||(l[0]=o=>r.value=!r.value),class:"flex-v-center flex"},[e.createElementVNode("span",{class:e.normalizeClass(["flex-child flex-child-shrink-0 capitalize w-max mn-r-thin t-medium radius-big pd-b-nano pd-t-nano pd-r-thin pd-l-thin",{"bg-green":t.leftover.type==="stock-in","bg-red":t.leftover.type==="stock-out"}])},e.toDisplayString(t.leftover.type),3),e.createElementVNode("span",v,"Positions "+e.toDisplayString(t.leftover.positions.length),1),t.leftover.order?(e.openBlock(),e.createElementBlock("span",h,"|")):e.createCommentVNode("",!0),t.leftover.order?(e.openBlock(),e.createElementBlock("span",p,"For order "+e.toDisplayString(t.leftover.order),1)):e.createCommentVNode("",!0),t.leftover.comment?(e.openBlock(),e.createElementBlock("span",k,"|")):e.createCommentVNode("",!0),t.leftover.comment?(e.openBlock(),e.createElementBlock("p",g,"Comment: "+e.toDisplayString(t.leftover.comment),1)):e.createCommentVNode("",!0)]),e.createVNode(e.Transition,{name:"fade"},{default:e.withCtx(()=>[r.value?(e.openBlock(),e.createElementBlock("div",y,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(t.leftover.positions,o=>(e.openBlock(),e.createElementBlock("div",V,[e.createElementVNode("div",N,[e.createElementVNode("span",null,e.toDisplayString(o.name),1),E,e.createElementVNode("span",x,[e.createTextVNode(e.toDisplayString(o.price)+" ",1),e.createElementVNode("span",B,e.toDisplayString(n.returnCurrency()),1)])]),e.createElementVNode("div",C,[e.createTextVNode(e.toDisplayString(o.quantity)+" ",1),e.createElementVNode("span",w,e.toDisplayString(o.type),1)])]))),256))])):e.createCommentVNode("",!0)]),_:1})])])}}},_=d.default(S,[["__scopeId","data-v-1fed0c02"]]);exports.default=_;
1
+ "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vue"),s=require("vue-router"),c=require("../../../globals/views/components/blocks/CardHeader.vue.cjs"),i=require("../../../icons/navigation/IconEdit.vue.cjs"),d=require("../../../../../../_virtual/_plugin-vue_export-helper.cjs");;/* empty css */const m=t=>(e.pushScopeId("data-v-bebbf16b"),t=t(),e.popScopeId(),t),u={class:"flex-column pos-relative flex-wrap"},f={class:"mn-t-small w-100 bg-white radius-small pd-small spoiler"},v={class:"flex-child flex-child-shrink-0"},h={key:0,class:"mn-r-thin mn-l-thin t-transp"},p={key:1,class:"flex-child flex-child-shrink-0"},k={key:2,class:"mn-r-thin mn-l-thin t-transp"},g={key:3,class:"t-truncate"},y={key:0},V={class:"mn-t-small w-100 mn-b-thin flex"},N={class:"w-50 flex"},E=m(()=>e.createElementVNode("span",{class:"mn-r-thin mn-l-thin t-transp"},"|",-1)),b={class:"w-50"},x={class:"t-transp"},B={class:"t-right w-50"},C={class:"t-transp"},w={__name:"CardLeftover",props:{leftover:Object},setup(t){s.useRouter();const r=e.ref(!0);return(n,l)=>{const a=e.resolveComponent("router-link");return e.openBlock(),e.createElementBlock("div",u,[e.createVNode(c.default,{entity:t.leftover,entityType:"leftover",user:n.user,owner:t.leftover.creator,creator:t.leftover.creator,date:t.leftover.createdAt},null,8,["entity","user","owner","creator","date"]),e.createVNode(a,{to:{name:"LeftoverEdit",params:{_id:t.leftover.organization,leftover:t.leftover._id}},class:"cursor-pointer pos-absolute pos-t-regular pos-r-regular radius-extra pd-thin bg-second"},{default:e.withCtx(()=>[e.createVNode(i.default,{class:"i-regular",classes:"fill-white"})]),_:1},8,["to"]),e.createElementVNode("div",f,[e.createElementVNode("div",{onClick:l[0]||(l[0]=o=>r.value=!r.value),class:"flex-v-center flex"},[e.createElementVNode("span",{class:e.normalizeClass(["flex-child flex-child-shrink-0 capitalize w-max mn-r-thin t-medium radius-big pd-b-nano pd-t-nano pd-r-thin pd-l-thin",{"bg-green":t.leftover.type==="stock-in","bg-red":t.leftover.type==="stock-out"}])},e.toDisplayString(t.leftover.type),3),e.createElementVNode("span",v,"Positions "+e.toDisplayString(t.leftover.positions.length),1),t.leftover.order?(e.openBlock(),e.createElementBlock("span",h,"|")):e.createCommentVNode("",!0),t.leftover.order?(e.openBlock(),e.createElementBlock("span",p,"For order "+e.toDisplayString(t.leftover.order),1)):e.createCommentVNode("",!0),t.leftover.comment?(e.openBlock(),e.createElementBlock("span",k,"|")):e.createCommentVNode("",!0),t.leftover.comment?(e.openBlock(),e.createElementBlock("p",g,"Comment: "+e.toDisplayString(t.leftover.comment),1)):e.createCommentVNode("",!0)]),e.createVNode(e.Transition,{name:"fade"},{default:e.withCtx(()=>[r.value?(e.openBlock(),e.createElementBlock("div",y,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(t.leftover.positions,o=>(e.openBlock(),e.createElementBlock("div",V,[e.createElementVNode("div",N,[e.createElementVNode("span",null,e.toDisplayString(o.name),1),E,e.createElementVNode("span",b,[e.createTextVNode(e.toDisplayString(o.price)+" ",1),e.createElementVNode("span",x,e.toDisplayString(n.returnCurrency()),1)])]),e.createElementVNode("div",B,[e.createTextVNode(e.toDisplayString(o.quantity)+" ",1),e.createElementVNode("span",C,e.toDisplayString(o.type),1)])]))),256))])):e.createCommentVNode("",!0)]),_:1})])])}}},S=d.default(w,[["__scopeId","data-v-bebbf16b"]]);exports.default=S;
@@ -1,10 +1,10 @@
1
- import { ref as h, resolveComponent as v, openBlock as s, createElementBlock as o, createVNode as a, withCtx as m, createElementVNode as t, normalizeClass as p, toDisplayString as r, createCommentVNode as l, Transition as x, Fragment as y, renderList as _, createTextVNode as f, pushScopeId as k, popScopeId as g } from "vue";
2
- import { useRouter as w } from "vue-router";
3
- import b from "../../../globals/views/components/blocks/CardHeader.vue.js";
1
+ import { ref as h, resolveComponent as v, openBlock as s, createElementBlock as o, createVNode as a, withCtx as m, createElementVNode as t, normalizeClass as p, toDisplayString as r, createCommentVNode as l, Transition as b, Fragment as x, renderList as y, createTextVNode as f, pushScopeId as _, popScopeId as k } from "vue";
2
+ import { useRouter as g } from "vue-router";
3
+ import w from "../../../globals/views/components/blocks/CardHeader.vue.js";
4
4
  import C from "../../../icons/navigation/IconEdit.vue.js";
5
5
  import I from "../../../../../../_virtual/_plugin-vue_export-helper.js";
6
6
  /* empty css */
7
- const L = (e) => (k("data-v-1fed0c02"), e = e(), g(), e), N = { class: "flex-column pos-relative flex-wrap" }, S = { class: "mn-t-small w-100 bg-white radius-small pd-small spoiler" }, V = { class: "flex-child flex-child-shrink-0" }, z = {
7
+ const L = (e) => (_("data-v-bebbf16b"), e = e(), k(), e), N = { class: "flex-column pos-relative flex-wrap" }, S = { class: "mn-t-small w-100 bg-white radius-small pd-small spoiler" }, V = { class: "flex-child flex-child-shrink-0" }, z = {
8
8
  key: 0,
9
9
  class: "mn-r-thin mn-l-thin t-transp"
10
10
  }, E = {
@@ -22,12 +22,12 @@ const L = (e) => (k("data-v-1fed0c02"), e = e(), g(), e), N = { class: "flex-col
22
22
  leftover: Object
23
23
  },
24
24
  setup(e) {
25
- w();
25
+ g();
26
26
  const i = h(!0);
27
27
  return (c, d) => {
28
28
  const u = v("router-link");
29
29
  return s(), o("div", N, [
30
- a(b, {
30
+ a(w, {
31
31
  entity: e.leftover,
32
32
  entityType: "leftover",
33
33
  user: c.user,
@@ -70,10 +70,10 @@ const L = (e) => (k("data-v-1fed0c02"), e = e(), g(), e), N = { class: "flex-col
70
70
  e.leftover.comment ? (s(), o("span", T, "|")) : l("", !0),
71
71
  e.leftover.comment ? (s(), o("p", $, "Comment: " + r(e.leftover.comment), 1)) : l("", !0)
72
72
  ]),
73
- a(x, { name: "fade" }, {
73
+ a(b, { name: "fade" }, {
74
74
  default: m(() => [
75
75
  i.value ? (s(), o("div", B, [
76
- (s(!0), o(y, null, _(e.leftover.positions, (n) => (s(), o("div", F, [
76
+ (s(!0), o(x, null, y(e.leftover.positions, (n) => (s(), o("div", F, [
77
77
  t("div", j, [
78
78
  t("span", null, r(n.name), 1),
79
79
  q,
@@ -95,7 +95,7 @@ const L = (e) => (k("data-v-1fed0c02"), e = e(), g(), e), N = { class: "flex-col
95
95
  ]);
96
96
  };
97
97
  }
98
- }, U = /* @__PURE__ */ I(R, [["__scopeId", "data-v-1fed0c02"]]);
98
+ }, U = /* @__PURE__ */ I(R, [["__scopeId", "data-v-bebbf16b"]]);
99
99
  export {
100
100
  U as default
101
101
  };
@@ -1 +1 @@
1
- "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vue"),n=require("vue-i18n"),i=require("../../../icons/navigation/IconEdit.vue.cjs"),l=require("../elements/THC.vue.cjs"),u=require("../elements/Price.vue.cjs"),s=require("../../../icons/placeholders/PlaceholderImage.vue.cjs"),d=["src"],m={class:"pd-medium t-left product-card-content"},g={class:"mn-b-thin t-semi h4"},h={key:1,class:"mn-b-small t-transp p-small"},k={__name:"CardProduct",props:{product:{type:Object},user:{type:[Object,String]},type:{type:Object}},setup(t){return n.useI18n(),(o,f)=>{var c,r;const a=e.resolveComponent("router-link");return e.openBlock(),e.createElementBlock("div",{class:e.normalizeClass(["radius-big cols-1 o-hidden pos-relative",t.product.information[2]&&t.product.information[2].value==="AAAA"?"bg-black t-white":"bg-white"])},[t.user&&t.user.roles&&(t.user.roles.includes("ROLE_MODERATOR")||t.user.roles.includes("ROLE_ADMIN"))?(e.openBlock(),e.createBlock(a,{key:0,to:{name:"ProductEdit",params:{_id:o.$route.params.organization,product:t.product._id}},class:"z-index-2 cursor-pointer pos-absolute pos-t-regular pos-r-regular radius-extra pd-thin bg-second"},{default:e.withCtx(()=>[e.createVNode(i.default,{class:"i-regular",classes:"fill-white"})]),_:1},8,["to"])):e.createCommentVNode("",!0),e.createElementVNode("div",{class:e.normalizeClass(["o-hidden w-100 pos-relative aspect-1x1",t.product.information[2]&&t.product.information[2].value==="AAAA"?"bg-black":"bg-white"])},[t.product.images[0]?(e.openBlock(),e.createElementBlock("img",{key:0,src:(o.FILE_SERVER_URL||"")+t.product.images[0].split("/").slice(0,-1).join("/")+"/thumbnail_"+t.product.images[0].split("/").pop(),class:"pos-absolute object-fit-cover h-max-100 w-100"},null,8,d)):(e.openBlock(),e.createBlock(s.default,{key:1,class:"pos-absolute h-100 w-100"})),((c=t.product.information)==null?void 0:c.length)>0&&((r=t.product.information[1])==null?void 0:r.name)==="THC"?(e.openBlock(),e.createBlock(l.default,{key:2,product:t.product},null,8,["product"])):e.createCommentVNode("",!0)],2),e.createElementVNode("div",m,[t.product.information.length>0?(e.openBlock(),e.createElementBlock("p",{key:0,class:e.normalizeClass(["t-semi h6",t.product.information[2]&&t.product.information[2].value==="AAAA"?"t-violet":"t-main"])},e.toDisplayString(t.product.information[0].value),3)):e.createCommentVNode("",!0),e.createElementVNode("p",g,e.toDisplayString(t.product.name),1),t.product.description&&!t.product.localization?(e.openBlock(),e.createElementBlock("p",h,e.toDisplayString(t.product.description.substring(0,99))+"... ",1)):e.createCommentVNode("",!0),e.createVNode(u.default,{product:t.product,size:"small",class:e.normalizeClass(t.product.information[2]&&t.product.information[2].value==="AAAA"?"bg-third t-white":"")},null,8,["product","class"])])],2)}}};exports.default=k;
1
+ "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vue"),n=require("vue-i18n"),i=require("../../../icons/navigation/IconEdit.vue.cjs"),l=require("../elements/THC.vue.cjs"),u=require("../elements/Price.vue.cjs"),s=require("../../../icons/placeholders/PlaceholderImage.vue.cjs"),d=["src"],m={class:"pd-medium t-left product-card-content"},g={class:"mn-b-thin t-semi h4"},h={key:1,class:"mn-b-small t-transp p-small"},k={__name:"CardProduct",props:{product:{type:Object},user:{type:[Object,String]},type:{type:Object}},setup(t){return n.useI18n(),(o,f)=>{var c,r;const a=e.resolveComponent("router-link");return e.openBlock(),e.createElementBlock("div",{class:e.normalizeClass(["radius-big cols-1 o-hidden pos-relative",t.product.information[2]&&t.product.information[2].value==="AAAA"?"bg-black t-white":"bg-white"])},[t.user&&t.user.roles&&(t.user.roles.includes("ROLE_MODERATOR")||t.user.roles.includes("ROLE_ADMIN"))?(e.openBlock(),e.createBlock(a,{key:0,to:{name:"ProductEdit",params:{_id:o.$route.params.organization,product:t.product._id}},class:"z-index-2 cursor-pointer pos-absolute pos-t-regular pos-r-regular radius-extra pd-thin bg-second"},{default:e.withCtx(()=>[e.createVNode(i.default,{class:"i-regular",classes:"fill-white"})]),_:1},8,["to"])):e.createCommentVNode("",!0),e.createElementVNode("div",{class:e.normalizeClass(["o-hidden w-100 pos-relative aspect-1x1",t.product.information[2]&&t.product.information[2].value==="AAAA"?"bg-black":"bg-white"])},[t.product.images[0]?(e.openBlock(),e.createElementBlock("img",{key:0,loading:"lazy",src:(o.FILE_SERVER_URL||"")+t.product.images[0].split("/").slice(0,-1).join("/")+"/thumbnail_"+t.product.images[0].split("/").pop(),class:"pos-absolute object-fit-cover h-max-100 w-100"},null,8,d)):(e.openBlock(),e.createBlock(s.default,{key:1,class:"pos-absolute h-100 w-100"})),((c=t.product.information)==null?void 0:c.length)>0&&((r=t.product.information[1])==null?void 0:r.name)==="THC"?(e.openBlock(),e.createBlock(l.default,{key:2,product:t.product},null,8,["product"])):e.createCommentVNode("",!0)],2),e.createElementVNode("div",m,[t.product.information.length>0?(e.openBlock(),e.createElementBlock("p",{key:0,class:e.normalizeClass(["t-semi h6",t.product.information[2]&&t.product.information[2].value==="AAAA"?"t-violet":"t-main"])},e.toDisplayString(t.product.information[0].value),3)):e.createCommentVNode("",!0),e.createElementVNode("p",g,e.toDisplayString(t.product.name),1),t.product.description&&!t.product.localization?(e.openBlock(),e.createElementBlock("p",h,e.toDisplayString(t.product.description.substring(0,99))+"... ",1)):e.createCommentVNode("",!0),e.createVNode(u.default,{product:t.product,size:"small",class:e.normalizeClass(t.product.information[2]&&t.product.information[2].value==="AAAA"?"bg-third t-white":"")},null,8,["product","class"])])],2)}}};exports.default=k;
@@ -57,6 +57,7 @@ const v = ["src"], y = { class: "pd-medium t-left product-card-content" }, w = {
57
57
  }, [
58
58
  t.product.images[0] ? (e(), o("img", {
59
59
  key: 0,
60
+ loading: "lazy",
60
61
  src: (l.FILE_SERVER_URL || "") + t.product.images[0].split("/").slice(0, -1).join("/") + "/thumbnail_" + t.product.images[0].split("/").pop(),
61
62
  class: "pos-absolute object-fit-cover h-max-100 w-100"
62
63
  }, null, 8, v)) : (e(), a(k, {
@@ -1 +1 @@
1
- "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vue"),M=require("../../../../components/Loader/Loader.vue2.cjs");;/* empty css */const b=require("../../../../../../_virtual/_plugin-vue_export-helper.cjs"),k={class:"product-360-viewer"},y=e.createStaticVNode('<svg class="pos-absolute z-index-2 pos-b-0 pd-small" width="73" height="50" viewBox="0 0 73 50" fill="none" xmlns="http://www.w3.org/2000/svg" data-v-c6fa6581><path d="M42.5934 17.2017C42.5934 20.8208 39.8428 23.7544 36.45 23.7544C33.0573 23.7544 30.3066 20.8208 30.3066 17.2017C30.3066 13.5826 33.0573 10.6484 36.45 10.6484C39.8428 10.6484 42.5934 13.5826 42.5934 17.2017Z" fill="rgb(var(--black))" fill-opacity="0.1" data-v-c6fa6581></path><path d="M22.5953 29.4883H50.3053C53.7389 29.4883 56.5197 26.778 56.5197 23.4405V10.8396C56.5197 7.49996 53.739 4.79176 50.3053 4.79176H48.8712C48.2747 2.05313 45.7826 0 42.7962 0H30.1063C27.1179 0 24.6257 2.053 24.0313 4.78967H22.5971C19.1656 4.78967 16.3828 7.49788 16.3828 10.8375V23.4384C16.3807 26.778 19.1634 29.4882 22.595 29.4882L22.5953 29.4883ZM36.449 8.31471C41.4535 8.31471 45.5123 12.2648 45.5123 17.1352C45.5123 22.0062 41.4535 25.9582 36.449 25.9582C31.4445 25.9582 27.3856 22.0081 27.3856 17.1377C27.3856 12.2673 31.4445 8.31471 36.449 8.31471ZM20.9092 9.32597H24.0182C24.9472 9.32597 25.7019 10.0584 25.7019 10.9625C25.7019 11.8686 24.9493 12.6011 24.0182 12.6011H20.9092C19.9823 12.6011 19.2254 11.8707 19.2254 10.9625C19.2275 10.0604 19.9822 9.32597 20.9092 9.32597Z" fill="rgb(var(--black))" fill-opacity="0.1" data-v-c6fa6581></path><path d="M58.8645 12.2878C58.8645 12.2878 77.1839 21.8549 65.5604 32.0445C63.6718 33.6967 55.2747 38.9138 42.5947 39.9368V45.0519C50.0424 44.2514 61.7635 41.887 68.4037 34.9253C82.5323 20.1097 58.8657 12.2871 58.8657 12.2871L58.8645 12.2878Z" fill="rgb(var(--black))" fill-opacity="0.1" data-v-c6fa6581></path><path d="M37.6664 41.209L29.1818 35.5097C28.077 34.7658 27.1702 35.2358 27.1702 36.5516V39.5855C16.2598 38.0408 9.07761 33.565 7.35125 32.0517C-4.2894 21.858 14.0557 12.2871 14.0557 12.2871C14.0557 12.2871 -9.64257 20.1134 4.5039 34.9343C10.2723 40.9769 19.8619 43.5552 27.1712 44.656V44.952V48.5701C27.1712 49.8901 28.078 50.3554 29.1827 49.6141L37.6673 43.9127C38.7757 43.1683 38.7757 41.9525 37.6673 41.2092L37.6664 41.209Z" fill="rgb(var(--black))" fill-opacity="0.1" data-v-c6fa6581></path></svg>',1),V={key:0,class:"h-100 w-100 transition-ease"},I=["src"],B={__name:"Images360",props:{imagePath:{type:String,required:!0},imageCount:{type:Number,default:36},autoRotateSpeed:{type:Number,default:100}},setup(m){const n=m,r=e.ref(0),c=e.ref(!1),u=e.ref(0),v=e.ref(0);e.ref(!0);const g=async()=>{const t=[];for(let a=1;a<=n.imageCount;a++){const l=new Image;l.src=`${n.imagePath}/${a}.jpg`;try{await l.decode(),v.value++}catch(d){console.warn(`Failed to decode ${n.imagePath}/${a}.jpg:`,d)}t.push(l)}return t},C=e.computed(()=>Math.round(v.value/n.imageCount*100)),s=e.ref([]),o=e.ref(""),h=e.ref(null);e.watch(r,t=>{o.value=s.value[t]||""});function p(t){c.value=!0,u.value=t.clientX||t.touches[0].clientX}function f(t){if(!c.value)return;const a=t.clientX||t.touches[0].clientX,l=a-u.value;if(Math.abs(l)>=5){const d=l>0?1:-1;r.value=(r.value+d)%n.imageCount,r.value<0&&(r.value=n.imageCount-1),u.value=a}}function i(){c.value=!1}let _=null;const w=()=>{s.value=[]};return e.onMounted(async()=>{s.value=await g(),o.value=s.value[0]||""}),e.onUnmounted(()=>{clearInterval(_),w()}),(t,a)=>(e.openBlock(),e.createElementBlock("div",k,[y,e.createVNode(e.Transition,{name:"scale5",css:!h.value,appear:""},{default:e.withCtx(()=>[o.value?(e.openBlock(),e.createElementBlock("div",V,[o.value?(e.openBlock(),e.createElementBlock("img",{key:o.value,class:"h-100 w-100 transition-ease",src:(t.FILE_SERVER_URL||"")+o.value.src,alt:"360 product view",onMousedown:p,onMousemove:f,onMouseup:i,onMouseleave:i,onTouchstart:p,onTouchmove:f,onTouchend:i,onDragstart:a[0]||(a[0]=e.withModifiers(()=>{},["prevent"]))},null,40,I)):e.createCommentVNode("",!0)])):e.createCommentVNode("",!0)]),_:1},8,["css"]),e.createVNode(e.Transition,{name:"scale5"},{default:e.withCtx(()=>[o.value?e.createCommentVNode("",!0):(e.openBlock(),e.createBlock(M.default,{key:0,progress:C.value,class:"center z-index-5"},null,8,["progress"]))]),_:1})]))}},L=b.default(B,[["__scopeId","data-v-c6fa6581"]]);exports.default=L;
1
+ "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vue"),w=require("../../../../components/Loader/Loader.vue2.cjs");;/* empty css */const M=require("../../../../../../_virtual/_plugin-vue_export-helper.cjs"),k={class:"product-360-viewer"},y=e.createStaticVNode('<svg class="pos-absolute z-index-2 pos-b-0 pd-small" width="73" height="50" viewBox="0 0 73 50" fill="none" xmlns="http://www.w3.org/2000/svg" data-v-e552bc5f><path d="M42.5934 17.2017C42.5934 20.8208 39.8428 23.7544 36.45 23.7544C33.0573 23.7544 30.3066 20.8208 30.3066 17.2017C30.3066 13.5826 33.0573 10.6484 36.45 10.6484C39.8428 10.6484 42.5934 13.5826 42.5934 17.2017Z" fill="rgb(var(--black))" fill-opacity="0.1" data-v-e552bc5f></path><path d="M22.5953 29.4883H50.3053C53.7389 29.4883 56.5197 26.778 56.5197 23.4405V10.8396C56.5197 7.49996 53.739 4.79176 50.3053 4.79176H48.8712C48.2747 2.05313 45.7826 0 42.7962 0H30.1063C27.1179 0 24.6257 2.053 24.0313 4.78967H22.5971C19.1656 4.78967 16.3828 7.49788 16.3828 10.8375V23.4384C16.3807 26.778 19.1634 29.4882 22.595 29.4882L22.5953 29.4883ZM36.449 8.31471C41.4535 8.31471 45.5123 12.2648 45.5123 17.1352C45.5123 22.0062 41.4535 25.9582 36.449 25.9582C31.4445 25.9582 27.3856 22.0081 27.3856 17.1377C27.3856 12.2673 31.4445 8.31471 36.449 8.31471ZM20.9092 9.32597H24.0182C24.9472 9.32597 25.7019 10.0584 25.7019 10.9625C25.7019 11.8686 24.9493 12.6011 24.0182 12.6011H20.9092C19.9823 12.6011 19.2254 11.8707 19.2254 10.9625C19.2275 10.0604 19.9822 9.32597 20.9092 9.32597Z" fill="rgb(var(--black))" fill-opacity="0.1" data-v-e552bc5f></path><path d="M58.8645 12.2878C58.8645 12.2878 77.1839 21.8549 65.5604 32.0445C63.6718 33.6967 55.2747 38.9138 42.5947 39.9368V45.0519C50.0424 44.2514 61.7635 41.887 68.4037 34.9253C82.5323 20.1097 58.8657 12.2871 58.8657 12.2871L58.8645 12.2878Z" fill="rgb(var(--black))" fill-opacity="0.1" data-v-e552bc5f></path><path d="M37.6664 41.209L29.1818 35.5097C28.077 34.7658 27.1702 35.2358 27.1702 36.5516V39.5855C16.2598 38.0408 9.07761 33.565 7.35125 32.0517C-4.2894 21.858 14.0557 12.2871 14.0557 12.2871C14.0557 12.2871 -9.64257 20.1134 4.5039 34.9343C10.2723 40.9769 19.8619 43.5552 27.1712 44.656V44.952V48.5701C27.1712 49.8901 28.078 50.3554 29.1827 49.6141L37.6673 43.9127C38.7757 43.1683 38.7757 41.9525 37.6673 41.2092L37.6664 41.209Z" fill="rgb(var(--black))" fill-opacity="0.1" data-v-e552bc5f></path></svg>',1),V={key:0,class:"h-100 w-100 transition-ease"},I=["src"],B={__name:"Images360",props:{imagePath:{type:String,required:!0},imageCount:{type:Number,default:36},autoRotateSpeed:{type:Number,default:100}},setup(g){const n=g,r=e.ref(0),c=e.ref(!1),u=e.ref(0),v=e.ref(0);e.ref(!0);const m=async()=>{const t=[];for(let a=1;a<=n.imageCount;a++){const l=new Image;l.src=`${n.imagePath}/${a}.jpg`;try{await l.decode(),v.value++}catch(d){console.warn(`Failed to decode ${n.imagePath}/${a}.jpg:`,d)}t.push(l)}return t},C=e.computed(()=>Math.round(v.value/n.imageCount*100)),s=e.ref([]),o=e.ref(""),h=e.ref(null);e.watch(r,t=>{o.value=s.value[t]||""});function p(t){c.value=!0,u.value=t.clientX||t.touches[0].clientX}function f(t){if(!c.value)return;const a=t.clientX||t.touches[0].clientX,l=a-u.value;if(Math.abs(l)>=5){const d=l>0?1:-1;r.value=(r.value+d)%n.imageCount,r.value<0&&(r.value=n.imageCount-1),u.value=a}}function i(){c.value=!1}let b=null;const _=()=>{s.value=[]};return e.onMounted(async()=>{s.value=await m(),o.value=s.value[0]||""}),e.onUnmounted(()=>{clearInterval(b),_()}),(t,a)=>(e.openBlock(),e.createElementBlock("div",k,[y,e.createVNode(e.Transition,{name:"scale5",css:!h.value,appear:""},{default:e.withCtx(()=>[o.value?(e.openBlock(),e.createElementBlock("div",V,[o.value?(e.openBlock(),e.createElementBlock("img",{loading:"lazy",key:o.value,class:"h-100 w-100 transition-ease",src:(t.FILE_SERVER_URL||"")+o.value.src,alt:"360 product view",onMousedown:p,onMousemove:f,onMouseup:i,onMouseleave:i,onTouchstart:p,onTouchmove:f,onTouchend:i,onDragstart:a[0]||(a[0]=e.withModifiers(()=>{},["prevent"]))},null,40,I)):e.createCommentVNode("",!0)])):e.createCommentVNode("",!0)]),_:1},8,["css"]),e.createVNode(e.Transition,{name:"scale5"},{default:e.withCtx(()=>[o.value?e.createCommentVNode("",!0):(e.openBlock(),e.createBlock(w.default,{key:0,progress:C.value,class:"center z-index-5"},null,8,["progress"]))]),_:1})]))}},L=M.default(B,[["__scopeId","data-v-e552bc5f"]]);exports.default=L;
@@ -1,11 +1,11 @@
1
- import { ref as a, computed as L, watch as x, onMounted as R, onUnmounted as H, openBlock as c, createElementBlock as p, createVNode as h, Transition as _, withCtx as w, withModifiers as X, createCommentVNode as m, createBlock as Z, createStaticVNode as N } from "vue";
1
+ import { ref as a, computed as L, watch as x, onMounted as R, onUnmounted as H, openBlock as c, createElementBlock as p, createVNode as h, Transition as b, withCtx as _, withModifiers as X, createCommentVNode as m, createBlock as Z, createStaticVNode as N } from "vue";
2
2
  import B from "../../../../components/Loader/Loader.vue2.js";
3
3
  /* empty css */
4
4
  import E from "../../../../../../_virtual/_plugin-vue_export-helper.js";
5
- const P = { class: "product-360-viewer" }, S = /* @__PURE__ */ N('<svg class="pos-absolute z-index-2 pos-b-0 pd-small" width="73" height="50" viewBox="0 0 73 50" fill="none" xmlns="http://www.w3.org/2000/svg" data-v-c6fa6581><path d="M42.5934 17.2017C42.5934 20.8208 39.8428 23.7544 36.45 23.7544C33.0573 23.7544 30.3066 20.8208 30.3066 17.2017C30.3066 13.5826 33.0573 10.6484 36.45 10.6484C39.8428 10.6484 42.5934 13.5826 42.5934 17.2017Z" fill="rgb(var(--black))" fill-opacity="0.1" data-v-c6fa6581></path><path d="M22.5953 29.4883H50.3053C53.7389 29.4883 56.5197 26.778 56.5197 23.4405V10.8396C56.5197 7.49996 53.739 4.79176 50.3053 4.79176H48.8712C48.2747 2.05313 45.7826 0 42.7962 0H30.1063C27.1179 0 24.6257 2.053 24.0313 4.78967H22.5971C19.1656 4.78967 16.3828 7.49788 16.3828 10.8375V23.4384C16.3807 26.778 19.1634 29.4882 22.595 29.4882L22.5953 29.4883ZM36.449 8.31471C41.4535 8.31471 45.5123 12.2648 45.5123 17.1352C45.5123 22.0062 41.4535 25.9582 36.449 25.9582C31.4445 25.9582 27.3856 22.0081 27.3856 17.1377C27.3856 12.2673 31.4445 8.31471 36.449 8.31471ZM20.9092 9.32597H24.0182C24.9472 9.32597 25.7019 10.0584 25.7019 10.9625C25.7019 11.8686 24.9493 12.6011 24.0182 12.6011H20.9092C19.9823 12.6011 19.2254 11.8707 19.2254 10.9625C19.2275 10.0604 19.9822 9.32597 20.9092 9.32597Z" fill="rgb(var(--black))" fill-opacity="0.1" data-v-c6fa6581></path><path d="M58.8645 12.2878C58.8645 12.2878 77.1839 21.8549 65.5604 32.0445C63.6718 33.6967 55.2747 38.9138 42.5947 39.9368V45.0519C50.0424 44.2514 61.7635 41.887 68.4037 34.9253C82.5323 20.1097 58.8657 12.2871 58.8657 12.2871L58.8645 12.2878Z" fill="rgb(var(--black))" fill-opacity="0.1" data-v-c6fa6581></path><path d="M37.6664 41.209L29.1818 35.5097C28.077 34.7658 27.1702 35.2358 27.1702 36.5516V39.5855C16.2598 38.0408 9.07761 33.565 7.35125 32.0517C-4.2894 21.858 14.0557 12.2871 14.0557 12.2871C14.0557 12.2871 -9.64257 20.1134 4.5039 34.9343C10.2723 40.9769 19.8619 43.5552 27.1712 44.656V44.952V48.5701C27.1712 49.8901 28.078 50.3554 29.1827 49.6141L37.6673 43.9127C38.7757 43.1683 38.7757 41.9525 37.6673 41.2092L37.6664 41.209Z" fill="rgb(var(--black))" fill-opacity="0.1" data-v-c6fa6581></path></svg>', 1), T = {
5
+ const P = { class: "product-360-viewer" }, S = /* @__PURE__ */ N('<svg class="pos-absolute z-index-2 pos-b-0 pd-small" width="73" height="50" viewBox="0 0 73 50" fill="none" xmlns="http://www.w3.org/2000/svg" data-v-e552bc5f><path d="M42.5934 17.2017C42.5934 20.8208 39.8428 23.7544 36.45 23.7544C33.0573 23.7544 30.3066 20.8208 30.3066 17.2017C30.3066 13.5826 33.0573 10.6484 36.45 10.6484C39.8428 10.6484 42.5934 13.5826 42.5934 17.2017Z" fill="rgb(var(--black))" fill-opacity="0.1" data-v-e552bc5f></path><path d="M22.5953 29.4883H50.3053C53.7389 29.4883 56.5197 26.778 56.5197 23.4405V10.8396C56.5197 7.49996 53.739 4.79176 50.3053 4.79176H48.8712C48.2747 2.05313 45.7826 0 42.7962 0H30.1063C27.1179 0 24.6257 2.053 24.0313 4.78967H22.5971C19.1656 4.78967 16.3828 7.49788 16.3828 10.8375V23.4384C16.3807 26.778 19.1634 29.4882 22.595 29.4882L22.5953 29.4883ZM36.449 8.31471C41.4535 8.31471 45.5123 12.2648 45.5123 17.1352C45.5123 22.0062 41.4535 25.9582 36.449 25.9582C31.4445 25.9582 27.3856 22.0081 27.3856 17.1377C27.3856 12.2673 31.4445 8.31471 36.449 8.31471ZM20.9092 9.32597H24.0182C24.9472 9.32597 25.7019 10.0584 25.7019 10.9625C25.7019 11.8686 24.9493 12.6011 24.0182 12.6011H20.9092C19.9823 12.6011 19.2254 11.8707 19.2254 10.9625C19.2275 10.0604 19.9822 9.32597 20.9092 9.32597Z" fill="rgb(var(--black))" fill-opacity="0.1" data-v-e552bc5f></path><path d="M58.8645 12.2878C58.8645 12.2878 77.1839 21.8549 65.5604 32.0445C63.6718 33.6967 55.2747 38.9138 42.5947 39.9368V45.0519C50.0424 44.2514 61.7635 41.887 68.4037 34.9253C82.5323 20.1097 58.8657 12.2871 58.8657 12.2871L58.8645 12.2878Z" fill="rgb(var(--black))" fill-opacity="0.1" data-v-e552bc5f></path><path d="M37.6664 41.209L29.1818 35.5097C28.077 34.7658 27.1702 35.2358 27.1702 36.5516V39.5855C16.2598 38.0408 9.07761 33.565 7.35125 32.0517C-4.2894 21.858 14.0557 12.2871 14.0557 12.2871C14.0557 12.2871 -9.64257 20.1134 4.5039 34.9343C10.2723 40.9769 19.8619 43.5552 27.1712 44.656V44.952V48.5701C27.1712 49.8901 28.078 50.3554 29.1827 49.6141L37.6673 43.9127C38.7757 43.1683 38.7757 41.9525 37.6673 41.2092L37.6664 41.209Z" fill="rgb(var(--black))" fill-opacity="0.1" data-v-e552bc5f></path></svg>', 1), T = {
6
6
  key: 0,
7
7
  class: "h-100 w-100 transition-ease"
8
- }, $ = ["src"], j = {
8
+ }, $ = ["src"], z = {
9
9
  __name: "Images360",
10
10
  props: {
11
11
  imagePath: {
@@ -21,35 +21,35 @@ const P = { class: "product-360-viewer" }, S = /* @__PURE__ */ N('<svg class="po
21
21
  default: 100
22
22
  }
23
23
  },
24
- setup(M) {
25
- const s = M, l = a(0), i = a(!1), u = a(0), f = a(0);
24
+ setup(w) {
25
+ const n = w, l = a(0), i = a(!1), u = a(0), g = a(0);
26
26
  a(!0);
27
- const b = async () => {
27
+ const y = async () => {
28
28
  const e = [];
29
- for (let t = 1; t <= s.imageCount; t++) {
30
- const n = new Image();
31
- n.src = `${s.imagePath}/${t}.jpg`;
29
+ for (let t = 1; t <= n.imageCount; t++) {
30
+ const s = new Image();
31
+ s.src = `${n.imagePath}/${t}.jpg`;
32
32
  try {
33
- await n.decode(), f.value++;
33
+ await s.decode(), g.value++;
34
34
  } catch (v) {
35
- console.warn(`Failed to decode ${s.imagePath}/${t}.jpg:`, v);
35
+ console.warn(`Failed to decode ${n.imagePath}/${t}.jpg:`, v);
36
36
  }
37
- e.push(n);
37
+ e.push(s);
38
38
  }
39
39
  return e;
40
- }, y = L(() => Math.round(f.value / s.imageCount * 100)), r = a([]), o = a(""), I = a(null);
40
+ }, M = L(() => Math.round(g.value / n.imageCount * 100)), r = a([]), o = a(""), I = a(null);
41
41
  x(l, (e) => {
42
42
  o.value = r.value[e] || "";
43
43
  });
44
- function g(e) {
44
+ function f(e) {
45
45
  i.value = !0, u.value = e.clientX || e.touches[0].clientX;
46
46
  }
47
47
  function C(e) {
48
48
  if (!i.value) return;
49
- const t = e.clientX || e.touches[0].clientX, n = t - u.value;
50
- if (Math.abs(n) >= 5) {
51
- const v = n > 0 ? 1 : -1;
52
- l.value = (l.value + v) % s.imageCount, l.value < 0 && (l.value = s.imageCount - 1), u.value = t;
49
+ const t = e.clientX || e.touches[0].clientX, s = t - u.value;
50
+ if (Math.abs(s) >= 5) {
51
+ const v = s > 0 ? 1 : -1;
52
+ l.value = (l.value + v) % n.imageCount, l.value < 0 && (l.value = n.imageCount - 1), u.value = t;
53
53
  }
54
54
  }
55
55
  function d() {
@@ -60,28 +60,29 @@ const P = { class: "product-360-viewer" }, S = /* @__PURE__ */ N('<svg class="po
60
60
  r.value = [];
61
61
  };
62
62
  return R(async () => {
63
- r.value = await b(), o.value = r.value[0] || "";
63
+ r.value = await y(), o.value = r.value[0] || "";
64
64
  }), H(() => {
65
65
  clearInterval(k), V();
66
66
  }), (e, t) => (c(), p("div", P, [
67
67
  S,
68
- h(_, {
68
+ h(b, {
69
69
  name: "scale5",
70
70
  css: !I.value,
71
71
  appear: ""
72
72
  }, {
73
- default: w(() => [
73
+ default: _(() => [
74
74
  o.value ? (c(), p("div", T, [
75
75
  o.value ? (c(), p("img", {
76
+ loading: "lazy",
76
77
  key: o.value,
77
78
  class: "h-100 w-100 transition-ease",
78
79
  src: (e.FILE_SERVER_URL || "") + o.value.src,
79
80
  alt: "360 product view",
80
- onMousedown: g,
81
+ onMousedown: f,
81
82
  onMousemove: C,
82
83
  onMouseup: d,
83
84
  onMouseleave: d,
84
- onTouchstart: g,
85
+ onTouchstart: f,
85
86
  onTouchmove: C,
86
87
  onTouchend: d,
87
88
  onDragstart: t[0] || (t[0] = X(() => {
@@ -91,11 +92,11 @@ const P = { class: "product-360-viewer" }, S = /* @__PURE__ */ N('<svg class="po
91
92
  ]),
92
93
  _: 1
93
94
  }, 8, ["css"]),
94
- h(_, { name: "scale5" }, {
95
- default: w(() => [
95
+ h(b, { name: "scale5" }, {
96
+ default: _(() => [
96
97
  o.value ? m("", !0) : (c(), Z(B, {
97
98
  key: 0,
98
- progress: y.value,
99
+ progress: M.value,
99
100
  class: "center z-index-5"
100
101
  }, null, 8, ["progress"]))
101
102
  ]),
@@ -103,7 +104,7 @@ const P = { class: "product-360-viewer" }, S = /* @__PURE__ */ N('<svg class="po
103
104
  })
104
105
  ]));
105
106
  }
106
- }, D = /* @__PURE__ */ E(j, [["__scopeId", "data-v-c6fa6581"]]);
107
+ }, D = /* @__PURE__ */ E(z, [["__scopeId", "data-v-e552bc5f"]]);
107
108
  export {
108
109
  D as default
109
110
  };
@@ -1 +1 @@
1
- "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vue"),c=require("../../../../components/Popup/Popup.vue2.cjs"),i=require("../../../../components/PhotoViewer/PhotoViewer.vue.cjs");;/* empty css */const p=require("../../../../../../_virtual/_plugin-vue_export-helper.cjs"),d={class:"o-scroll product-images"},_={class:"no-responsive flex flex-nowrap gap-thin"},m=["src","onClick"],h={__name:"ImagesThumbnails",props:{images:{type:Array,required:!0}},setup(r){const t=e.ref(!1),l=e.ref(null),n=o=>{l.value=o,t.value=!0},u=()=>{t.value=!1};return(o,g)=>(e.openBlock(),e.createElementBlock("div",d,[e.createElementVNode("div",_,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(r.images,(s,a)=>(e.openBlock(),e.createElementBlock("img",{key:a,src:(o.FILE_SERVER_URL||"")+s,onClick:v=>n(s),class:"flex-child flex-child-grow-1 aspect-1x1 radius-semi bg-white o-hidden thumbnail"},null,8,m))),128))]),e.createVNode(c.default,{onClosePopup:u,isPopupOpen:t.value,class:"radius-medium o-hidden"},{default:e.withCtx(()=>[e.createVNode(i.default,{photoUrl:(o.FILE_SERVER_URL||"")+l.value},null,8,["photoUrl"])]),_:1},8,["isPopupOpen"])]))}},f=p.default(h,[["__scopeId","data-v-103087bb"]]);exports.default=f;
1
+ "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vue"),c=require("../../../../components/Popup/Popup.vue2.cjs"),i=require("../../../../components/PhotoViewer/PhotoViewer.vue.cjs");;/* empty css */const p=require("../../../../../../_virtual/_plugin-vue_export-helper.cjs"),d={class:"o-scroll product-images"},_={class:"no-responsive flex flex-nowrap gap-thin"},m=["src","onClick"],h={__name:"ImagesThumbnails",props:{images:{type:Array,required:!0}},setup(r){const l=e.ref(!1),t=e.ref(null),n=o=>{t.value=o,l.value=!0},u=()=>{l.value=!1};return(o,g)=>(e.openBlock(),e.createElementBlock("div",d,[e.createElementVNode("div",_,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(r.images,(s,a)=>(e.openBlock(),e.createElementBlock("img",{loading:"lazy",key:a,src:(o.FILE_SERVER_URL||"")+s,onClick:v=>n(s),class:"flex-child flex-child-grow-1 aspect-1x1 radius-semi bg-white o-hidden thumbnail"},null,8,m))),128))]),e.createVNode(c.default,{onClosePopup:u,isPopupOpen:l.value,class:"radius-medium o-hidden"},{default:e.withCtx(()=>[e.createVNode(i.default,{photoUrl:(o.FILE_SERVER_URL||"")+t.value},null,8,["photoUrl"])]),_:1},8,["isPopupOpen"])]))}},f=p.default(h,[["__scopeId","data-v-48231055"]]);exports.default=f;