@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 +1 @@
1
- "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vue"),i=require("vue-i18n"),r=require("../../../icons/labels/LabelAppStore.vue.cjs"),l=require("../../../icons/labels/LabelGooglePlay.vue.cjs");;/* empty css */const c={id:"mobileApp"},d={class:"pos-relative cols-2 pd-thin o-hidden bg-black t-white radius-extra"},u={class:"z-index-1 h-100"},p=["src"],m={class:"pd-big flex flex-h-center flex-column z-index-1 w-1/2"},f={class:"mn-t-medium mn-b-semi w-m-40r"},h={class:"t-transp mn-b-big p-big w-m-33r"},_={class:"mn-b-big gap-medium cols-2"},g={class:"feature"},b={class:"mn-b-thin"},y={class:"t-transp p-medium"},E={class:"feature"},v={class:"mn-b-thin"},N={class:"t-transp p-medium"},V={class:"feature"},S={class:"mn-b-thin"},k={class:"t-transp p-medium"},w={class:"feature"},x={class:"mn-b-thin"},D={class:"t-transp p-medium"},A={class:"w-m-25r flex-nowrap flex gap-medium"},I=["href","target"],z={key:0,class:"z-index-2 radius-big bg-main t-semi uppercase pd-l-thin pd-r-thin pos-absolute pos-r-10-negative pos-t-10-negative"},L=["href","target"],B={key:0,class:"z-index-2 pd-l-thin pd-r-thin radius-big bg-main t-semi uppercase pos-absolute pos-r-10-negative pos-t-10-negative"},C={__name:"MobileApp",props:{mockupImage:{type:String,default:"/landing/mockup.jpg"},bgImage:{type:String,default:""},textData:{type:Object,default:()=>({messages:{en:{title:"Explore the Cannabis World at Your Fingertips",description:"Intuitive, Efficient, and Customized for Your Cannabis Needs",features:{soonLabel:"Soon",instantUpdates:{title:"Instant Updates",text:"Receive real-time notifications for new product releases and community updates. Always stay in the loop."},locate:{title:"Locate with Ease",text:"Discover nearby dispensaries and cannabis events with our integrated geolocation services."},wallet:{title:"Wallet Integration",text:"Quickly and securely manage your transactions with integrated digital wallet functionality. Safety and convenience come together."},customization:{title:"Customization by AI",text:"Experience the AI difference with personalized recommendations based on your preferences and trends in the community."}}}}})}},setup(n){const a=n,{t,te:s}=i.useI18n(a.textData);return(o,P)=>(e.openBlock(),e.createElementBlock("div",c,[e.createElementVNode("section",d,[e.createElementVNode("div",u,[e.createElementVNode("img",{src:(o.FILE_SERVER_URL||"")+n.mockupImage,alt:"Desktop App Mockup",class:"radius-extra h-100 w-100 object-fit-cover"},null,8,p)]),e.createElementVNode("div",m,[e.createElementVNode("h2",f,e.toDisplayString(e.unref(t)("title")),1),e.createElementVNode("p",h,e.toDisplayString(e.unref(t)("description")),1),e.createElementVNode("div",_,[e.createElementVNode("div",g,[e.createElementVNode("h4",b,e.toDisplayString(e.unref(t)("features.instantUpdates.title")),1),e.createElementVNode("p",y,e.toDisplayString(e.unref(t)("features.instantUpdates.text")),1)]),e.createElementVNode("div",E,[e.createElementVNode("h4",v,e.toDisplayString(e.unref(t)("features.locate.title")),1),e.createElementVNode("p",N,e.toDisplayString(e.unref(t)("features.locate.text")),1)]),e.createElementVNode("div",V,[e.createElementVNode("h4",S,e.toDisplayString(e.unref(t)("features.wallet.title")),1),e.createElementVNode("p",k,e.toDisplayString(e.unref(t)("features.wallet.text")),1)]),e.createElementVNode("div",w,[e.createElementVNode("h4",x,e.toDisplayString(e.unref(t)("features.customization.title")),1),e.createElementVNode("p",D,e.toDisplayString(e.unref(t)("features.customization.text")),1)])]),e.createElementVNode("div",A,[e.createElementVNode("a",{href:e.unref(s)("features.linkAppStore")?e.unref(t)("features.linkAppStore"):null,target:e.unref(s)("features.linkAppStore")?"_blank":null,class:"pos-relative w-100 h-100"},[e.unref(s)("features.soonLabel")?(e.openBlock(),e.createElementBlock("span",z,e.toDisplayString(e.unref(t)("features.soonLabel")),1)):e.createCommentVNode("",!0),e.createVNode(r.default,{class:"w-100 h-100",alt:"Download on App Store"})],8,I),e.createElementVNode("a",{href:e.unref(s)("features.linkGooglePlay")?e.unref(t)("features.linkGooglePlay"):null,target:e.unref(s)("features.linkGooglePlay")?"_blank":null,class:"pos-relative w-100 h-100"},[e.unref(s)("features.soonLabel")?(e.openBlock(),e.createElementBlock("span",B,e.toDisplayString(e.unref(t)("features.soonLabel")),1)):e.createCommentVNode("",!0),e.createVNode(l.default,{class:"w-100 h-100",alt:"Download on Google Play"})],8,L)])])])]))}};exports.default=C;
1
+ "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vue"),i=require("vue-i18n"),r=require("../../../icons/labels/LabelAppStore.vue.cjs"),l=require("../../../icons/labels/LabelGooglePlay.vue.cjs");;/* empty css */const c={id:"mobileApp"},d={class:"pos-relative cols-2 pd-thin o-hidden bg-black t-white radius-extra"},u={class:"z-index-1 h-100"},p=["src"],m={class:"pd-big flex flex-h-center flex-column z-index-1 w-1/2"},f={class:"mn-t-medium mn-b-semi w-m-40r"},h={class:"t-transp mn-b-big p-big w-m-33r"},_={class:"mn-b-big gap-medium cols-2"},g={class:"feature"},b={class:"mn-b-thin"},y={class:"t-transp p-medium"},E={class:"feature"},v={class:"mn-b-thin"},N={class:"t-transp p-medium"},V={class:"feature"},S={class:"mn-b-thin"},k={class:"t-transp p-medium"},w={class:"feature"},x={class:"mn-b-thin"},D={class:"t-transp p-medium"},z={class:"w-m-25r flex-nowrap flex gap-medium"},A=["href","target"],I={key:0,class:"z-index-2 radius-big bg-main t-semi uppercase pd-l-thin pd-r-thin pos-absolute pos-r-10-negative pos-t-10-negative"},L=["href","target"],B={key:0,class:"z-index-2 pd-l-thin pd-r-thin radius-big bg-main t-semi uppercase pos-absolute pos-r-10-negative pos-t-10-negative"},C={__name:"MobileApp",props:{mockupImage:{type:String,default:"/landing/mockup.jpg"},bgImage:{type:String,default:""},textData:{type:Object,default:()=>({messages:{en:{title:"Explore the Cannabis World at Your Fingertips",description:"Intuitive, Efficient, and Customized for Your Cannabis Needs",features:{soonLabel:"Soon",instantUpdates:{title:"Instant Updates",text:"Receive real-time notifications for new product releases and community updates. Always stay in the loop."},locate:{title:"Locate with Ease",text:"Discover nearby dispensaries and cannabis events with our integrated geolocation services."},wallet:{title:"Wallet Integration",text:"Quickly and securely manage your transactions with integrated digital wallet functionality. Safety and convenience come together."},customization:{title:"Customization by AI",text:"Experience the AI difference with personalized recommendations based on your preferences and trends in the community."}}}}})}},setup(n){const a=n,{t,te:s}=i.useI18n(a.textData);return(o,P)=>(e.openBlock(),e.createElementBlock("div",c,[e.createElementVNode("section",d,[e.createElementVNode("div",u,[e.createElementVNode("img",{loading:"lazy",src:(o.FILE_SERVER_URL||"")+n.mockupImage,alt:"Desktop App Mockup",class:"radius-extra h-100 w-100 object-fit-cover"},null,8,p)]),e.createElementVNode("div",m,[e.createElementVNode("h2",f,e.toDisplayString(e.unref(t)("title")),1),e.createElementVNode("p",h,e.toDisplayString(e.unref(t)("description")),1),e.createElementVNode("div",_,[e.createElementVNode("div",g,[e.createElementVNode("h4",b,e.toDisplayString(e.unref(t)("features.instantUpdates.title")),1),e.createElementVNode("p",y,e.toDisplayString(e.unref(t)("features.instantUpdates.text")),1)]),e.createElementVNode("div",E,[e.createElementVNode("h4",v,e.toDisplayString(e.unref(t)("features.locate.title")),1),e.createElementVNode("p",N,e.toDisplayString(e.unref(t)("features.locate.text")),1)]),e.createElementVNode("div",V,[e.createElementVNode("h4",S,e.toDisplayString(e.unref(t)("features.wallet.title")),1),e.createElementVNode("p",k,e.toDisplayString(e.unref(t)("features.wallet.text")),1)]),e.createElementVNode("div",w,[e.createElementVNode("h4",x,e.toDisplayString(e.unref(t)("features.customization.title")),1),e.createElementVNode("p",D,e.toDisplayString(e.unref(t)("features.customization.text")),1)])]),e.createElementVNode("div",z,[e.createElementVNode("a",{href:e.unref(s)("features.linkAppStore")?e.unref(t)("features.linkAppStore"):null,target:e.unref(s)("features.linkAppStore")?"_blank":null,class:"pos-relative w-100 h-100"},[e.unref(s)("features.soonLabel")?(e.openBlock(),e.createElementBlock("span",I,e.toDisplayString(e.unref(t)("features.soonLabel")),1)):e.createCommentVNode("",!0),e.createVNode(r.default,{class:"w-100 h-100",alt:"Download on App Store"})],8,A),e.createElementVNode("a",{href:e.unref(s)("features.linkGooglePlay")?e.unref(t)("features.linkGooglePlay"):null,target:e.unref(s)("features.linkGooglePlay")?"_blank":null,class:"pos-relative w-100 h-100"},[e.unref(s)("features.soonLabel")?(e.openBlock(),e.createElementBlock("span",B,e.toDisplayString(e.unref(t)("features.soonLabel")),1)):e.createCommentVNode("",!0),e.createVNode(l.default,{class:"w-100 h-100",alt:"Download on Google Play"})],8,L)])])])]))}};exports.default=C;
@@ -3,7 +3,7 @@ import { useI18n as u } from "vue-i18n";
3
3
  import m from "../../../icons/labels/LabelAppStore.vue.js";
4
4
  import h from "../../../icons/labels/LabelGooglePlay.vue.js";
5
5
  /* empty css */
6
- const _ = { id: "mobileApp" }, f = { class: "pos-relative cols-2 pd-thin o-hidden bg-black t-white radius-extra" }, g = { class: "z-index-1 h-100" }, b = ["src"], x = { class: "pd-big flex flex-h-center flex-column z-index-1 w-1/2" }, v = { class: "mn-t-medium mn-b-semi w-m-40r" }, w = { class: "t-transp mn-b-big p-big w-m-33r" }, y = { class: "mn-b-big gap-medium cols-2" }, k = { class: "feature" }, A = { class: "mn-b-thin" }, S = { class: "t-transp p-medium" }, z = { class: "feature" }, I = { class: "mn-b-thin" }, L = { class: "t-transp p-medium" }, E = { class: "feature" }, D = { class: "mn-b-thin" }, C = { class: "t-transp p-medium" }, G = { class: "feature" }, P = { class: "mn-b-thin" }, U = { class: "t-transp p-medium" }, N = { class: "w-m-25r flex-nowrap flex gap-medium" }, R = ["href", "target"], V = {
6
+ const _ = { id: "mobileApp" }, f = { class: "pos-relative cols-2 pd-thin o-hidden bg-black t-white radius-extra" }, g = { class: "z-index-1 h-100" }, b = ["src"], x = { class: "pd-big flex flex-h-center flex-column z-index-1 w-1/2" }, y = { class: "mn-t-medium mn-b-semi w-m-40r" }, v = { class: "t-transp mn-b-big p-big w-m-33r" }, w = { class: "mn-b-big gap-medium cols-2" }, k = { class: "feature" }, z = { class: "mn-b-thin" }, A = { class: "t-transp p-medium" }, S = { class: "feature" }, I = { class: "mn-b-thin" }, L = { class: "t-transp p-medium" }, E = { class: "feature" }, D = { class: "mn-b-thin" }, C = { class: "t-transp p-medium" }, G = { class: "feature" }, P = { class: "mn-b-thin" }, U = { class: "t-transp p-medium" }, N = { class: "w-m-25r flex-nowrap flex gap-medium" }, R = ["href", "target"], V = {
7
7
  key: 0,
8
8
  class: "z-index-2 radius-big bg-main t-semi uppercase pd-l-thin pd-r-thin pos-absolute pos-r-10-negative pos-t-10-negative"
9
9
  }, j = ["href", "target"], B = {
@@ -57,20 +57,21 @@ const _ = { id: "mobileApp" }, f = { class: "pos-relative cols-2 pd-thin o-hidde
57
57
  e("section", f, [
58
58
  e("div", g, [
59
59
  e("img", {
60
+ loading: "lazy",
60
61
  src: (p.FILE_SERVER_URL || "") + l.mockupImage,
61
62
  alt: "Desktop App Mockup",
62
63
  class: "radius-extra h-100 w-100 object-fit-cover"
63
64
  }, null, 8, b)
64
65
  ]),
65
66
  e("div", x, [
66
- e("h2", v, a(t(s)("title")), 1),
67
- e("p", w, a(t(s)("description")), 1),
68
- e("div", y, [
67
+ e("h2", y, a(t(s)("title")), 1),
68
+ e("p", v, a(t(s)("description")), 1),
69
+ e("div", w, [
69
70
  e("div", k, [
70
- e("h4", A, a(t(s)("features.instantUpdates.title")), 1),
71
- e("p", S, a(t(s)("features.instantUpdates.text")), 1)
71
+ e("h4", z, a(t(s)("features.instantUpdates.title")), 1),
72
+ e("p", A, a(t(s)("features.instantUpdates.text")), 1)
72
73
  ]),
73
- e("div", z, [
74
+ e("div", S, [
74
75
  e("h4", I, a(t(s)("features.locate.title")), 1),
75
76
  e("p", L, a(t(s)("features.locate.text")), 1)
76
77
  ]),
@@ -1 +1 @@
1
- "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vue"),d=require("vue-router");;/* empty css */const i=require("../../../../../../_virtual/_plugin-vue_export-helper.cjs"),o=t=>(e.pushScopeId("data-v-43fdd511"),t=t(),e.popScopeId(),t),m={class:"pd-big mn-regular order-customer-card col"},u={class:"mn-regular flex-center flex-nowrap flex w-100"},p={class:"w-100 t-medium p-big"},y={class:"flex-nowrap flex"},h={class:"mn-r-bold pd-r-big br-right-dark w-66"},k=o(()=>e.createElementVNode("ul",{class:"mn-semi"},null,-1)),v=o(()=>e.createElementVNode("p",{class:"mn-small t-medium p-big"}," Adress and delivery ",-1)),E={class:"mn-small"},N={key:0,class:"w-"},V={key:1,class:"w-"},g={key:2,class:"w-"},_={class:"w-40"},B={class:"mn-small w-100 t-medium p-big"},C=o(()=>e.createElementVNode("span",{class:"t-transp"},"Order:",-1)),S={key:0,class:"mn-medium w-100"},D=o(()=>e.createElementVNode("span",{class:"t-transp"},"Estimated shipping date:",-1)),f=o(()=>e.createElementVNode("br",null,null,-1)),b={key:1,class:"mn-medium w-100"},w=o(()=>e.createElementVNode("span",{class:"t-transp"},"Shipping date:",-1)),P=o(()=>e.createElementVNode("br",null,null,-1)),T={key:2,class:"mn-medium w-100"},x=o(()=>e.createElementVNode("span",{class:"t-transp"},"Type of delivery:",-1)),I=o(()=>e.createElementVNode("br",null,null,-1)),$=o(()=>e.createElementVNode("hr",{class:"mn-medium"},null,-1)),M=o(()=>e.createElementVNode("p",{class:"t-transp"},"In total",-1)),O={key:3,class:"mn-semi flex"},A=o(()=>e.createElementVNode("p",{class:"t-transp"},"Delivery",-1)),q={key:0},F={key:1},R={key:2},Y={class:"mn-semi intotal flex-bottom flex"},j=o(()=>e.createElementVNode("p",{class:"t-transp"},"In total to pay",-1)),z={key:0,class:"p-big t-semi"},H={key:1,class:"p-big t-semi"},K={key:2,class:"p-big t-semi"},G={key:3,class:"p-big t-semi"},J={key:4,class:"mn-semi"},L={key:5,class:"t-transp"},Q={__name:"CardOrder",props:{order:Object},setup(t){d.useRouter();function l(r){var s=new Date(r),c=(s.getMonth()+1).toString(),n=(s.getDate()+6).toString();return(n[1]?n:"0"+n[0])+"/"+(c[1]?c:"0"+c[0])}function a(r){var s=new Date(r),c=(s.getMonth()+1).toString(),n=(s.getDate()+1).toString();return(n[1]?n:"0"+n[0])+"/"+(c[1]?c:"0"+c[0])}return(r,s)=>(e.openBlock(),e.createElementBlock("div",m,[e.createElementVNode("p",u,[e.createElementVNode("span",p,e.toDisplayString(t.order.status),1)]),e.createElementVNode("div",y,[e.createElementVNode("div",h,[k,v,e.createElementVNode("p",E,e.toDisplayString(t.order.delivery.adress),1),t.order.delivery.type==="Post"?(e.openBlock(),e.createElementBlock("p",N," You have chosen delivery using the courier service CDEK. Estimated delivery date "+e.toDisplayString(l(t.order.createdAt))+". ",1)):e.createCommentVNode("",!0),t.order.delivery.type==="Courier"?(e.openBlock(),e.createElementBlock("p",V," You have chosen delivery by courier. Estimated delivery date "+e.toDisplayString(a(t.order.createdAt))+". ",1)):e.createCommentVNode("",!0),t.order.delivery.type==="Pickup"?(e.openBlock(),e.createElementBlock("p",g," You have chosen to receive the order in the Moscow store. ")):e.createCommentVNode("",!0)]),e.createElementVNode("div",_,[e.createElementVNode("p",B,[C,e.createTextVNode(" №"+e.toDisplayString(t.order._id.slice(0,8)),1)]),t.order.delivery.type==="Post"?(e.openBlock(),e.createElementBlock("p",S,[D,f,e.createTextVNode(e.toDisplayString(l(t.order.createdAt)),1)])):e.createCommentVNode("",!0),t.order.delivery.type==="Courier"?(e.openBlock(),e.createElementBlock("p",b,[w,P,e.createTextVNode(e.toDisplayString(a(t.order.createdAt)),1)])):e.createCommentVNode("",!0),t.order.delivery.type==="Pickup"?(e.openBlock(),e.createElementBlock("p",T,[x,I,e.createTextVNode("Pickup ")])):e.createCommentVNode("",!0),$,e.createElementVNode("div",{class:e.normalizeClass([{"mn-semi":t.order.delivery.type==""},"flex"])},[M,e.createElementVNode("p",null,"$ "+e.toDisplayString(r.cartTotalPrice),1)],2),t.order.delivery.type!==""?(e.openBlock(),e.createElementBlock("div",O,[A,t.order.delivery.type==="Pickup"?(e.openBlock(),e.createElementBlock("p",q,"Free")):e.createCommentVNode("",!0),t.order.delivery.type==="Post"?(e.openBlock(),e.createElementBlock("p",F,"$ 10")):e.createCommentVNode("",!0),t.order.delivery.type==="Courier"?(e.openBlock(),e.createElementBlock("p",R,"$ 20")):e.createCommentVNode("",!0)])):e.createCommentVNode("",!0),e.createElementVNode("div",Y,[j,t.order.delivery.type===""?(e.openBlock(),e.createElementBlock("p",z,"$ "+e.toDisplayString(r.cartTotalPrice),1)):e.createCommentVNode("",!0),t.order.delivery.type==="Pickup"?(e.openBlock(),e.createElementBlock("p",H,"$ "+e.toDisplayString(r.cartTotalPrice)+" ₽",1)):e.createCommentVNode("",!0),t.order.delivery.type==="Courier"?(e.openBlock(),e.createElementBlock("p",K,"$ "+e.toDisplayString(r.cartTotalPrice+20),1)):e.createCommentVNode("",!0),t.order.delivery.type==="Post"?(e.openBlock(),e.createElementBlock("p",G,"$ "+e.toDisplayString(r.cartTotalPrice+10),1)):e.createCommentVNode("",!0)]),t.order.status==="Confirmed"?(e.openBlock(),e.createElementBlock("hr",J)):e.createCommentVNode("",!0),r.payment&&r.payment.Status==="CONFIRMED"?(e.openBlock(),e.createElementBlock("span",L,"Paid")):e.createCommentVNode("",!0)])])]))}},U=i.default(Q,[["__scopeId","data-v-43fdd511"]]);exports.default=U;
1
+ "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vue"),d=require("vue-router");;/* empty css */const i=require("../../../../../../_virtual/_plugin-vue_export-helper.cjs"),o=t=>(e.pushScopeId("data-v-e9803d20"),t=t(),e.popScopeId(),t),m={class:"pd-big mn-regular order-customer-card col"},u={class:"mn-regular flex-center flex-nowrap flex w-100"},p={class:"w-100 t-medium p-big"},y={class:"flex-nowrap flex"},h={class:"mn-r-bold pd-r-big br-right-dark w-66"},k=o(()=>e.createElementVNode("ul",{class:"mn-semi"},null,-1)),v=o(()=>e.createElementVNode("p",{class:"mn-small t-medium p-big"}," Adress and delivery ",-1)),E={class:"mn-small"},N={key:0,class:"w-"},V={key:1,class:"w-"},g={key:2,class:"w-"},_={class:"w-40"},B={class:"mn-small w-100 t-medium p-big"},C=o(()=>e.createElementVNode("span",{class:"t-transp"},"Order:",-1)),S={key:0,class:"mn-medium w-100"},D=o(()=>e.createElementVNode("span",{class:"t-transp"},"Estimated shipping date:",-1)),b=o(()=>e.createElementVNode("br",null,null,-1)),f={key:1,class:"mn-medium w-100"},w=o(()=>e.createElementVNode("span",{class:"t-transp"},"Shipping date:",-1)),P=o(()=>e.createElementVNode("br",null,null,-1)),T={key:2,class:"mn-medium w-100"},x=o(()=>e.createElementVNode("span",{class:"t-transp"},"Type of delivery:",-1)),I=o(()=>e.createElementVNode("br",null,null,-1)),$=o(()=>e.createElementVNode("hr",{class:"mn-medium"},null,-1)),M=o(()=>e.createElementVNode("p",{class:"t-transp"},"In total",-1)),O={key:3,class:"mn-semi flex"},A=o(()=>e.createElementVNode("p",{class:"t-transp"},"Delivery",-1)),q={key:0},F={key:1},R={key:2},Y={class:"mn-semi intotal flex-bottom flex"},j=o(()=>e.createElementVNode("p",{class:"t-transp"},"In total to pay",-1)),z={key:0,class:"p-big t-semi"},H={key:1,class:"p-big t-semi"},K={key:2,class:"p-big t-semi"},G={key:3,class:"p-big t-semi"},J={key:4,class:"mn-semi"},L={key:5,class:"t-transp"},Q={__name:"CardOrder",props:{order:Object},setup(t){d.useRouter();function l(r){var s=new Date(r),c=(s.getMonth()+1).toString(),n=(s.getDate()+6).toString();return(n[1]?n:"0"+n[0])+"/"+(c[1]?c:"0"+c[0])}function a(r){var s=new Date(r),c=(s.getMonth()+1).toString(),n=(s.getDate()+1).toString();return(n[1]?n:"0"+n[0])+"/"+(c[1]?c:"0"+c[0])}return(r,s)=>(e.openBlock(),e.createElementBlock("div",m,[e.createElementVNode("p",u,[e.createElementVNode("span",p,e.toDisplayString(t.order.status),1)]),e.createElementVNode("div",y,[e.createElementVNode("div",h,[k,v,e.createElementVNode("p",E,e.toDisplayString(t.order.delivery.adress),1),t.order.delivery.type==="Post"?(e.openBlock(),e.createElementBlock("p",N," You have chosen delivery using the courier service CDEK. Estimated delivery date "+e.toDisplayString(l(t.order.createdAt))+". ",1)):e.createCommentVNode("",!0),t.order.delivery.type==="Courier"?(e.openBlock(),e.createElementBlock("p",V," You have chosen delivery by courier. Estimated delivery date "+e.toDisplayString(a(t.order.createdAt))+". ",1)):e.createCommentVNode("",!0),t.order.delivery.type==="Pickup"?(e.openBlock(),e.createElementBlock("p",g," You have chosen to receive the order in the Moscow store. ")):e.createCommentVNode("",!0)]),e.createElementVNode("div",_,[e.createElementVNode("p",B,[C,e.createTextVNode(" №"+e.toDisplayString(t.order._id.slice(0,8)),1)]),t.order.delivery.type==="Post"?(e.openBlock(),e.createElementBlock("p",S,[D,b,e.createTextVNode(e.toDisplayString(l(t.order.createdAt)),1)])):e.createCommentVNode("",!0),t.order.delivery.type==="Courier"?(e.openBlock(),e.createElementBlock("p",f,[w,P,e.createTextVNode(e.toDisplayString(a(t.order.createdAt)),1)])):e.createCommentVNode("",!0),t.order.delivery.type==="Pickup"?(e.openBlock(),e.createElementBlock("p",T,[x,I,e.createTextVNode("Pickup ")])):e.createCommentVNode("",!0),$,e.createElementVNode("div",{class:e.normalizeClass([{"mn-semi":t.order.delivery.type==""},"flex"])},[M,e.createElementVNode("p",null,"$ "+e.toDisplayString(r.cartTotalPrice),1)],2),t.order.delivery.type!==""?(e.openBlock(),e.createElementBlock("div",O,[A,t.order.delivery.type==="Pickup"?(e.openBlock(),e.createElementBlock("p",q,"Free")):e.createCommentVNode("",!0),t.order.delivery.type==="Post"?(e.openBlock(),e.createElementBlock("p",F,"$ 10")):e.createCommentVNode("",!0),t.order.delivery.type==="Courier"?(e.openBlock(),e.createElementBlock("p",R,"$ 20")):e.createCommentVNode("",!0)])):e.createCommentVNode("",!0),e.createElementVNode("div",Y,[j,t.order.delivery.type===""?(e.openBlock(),e.createElementBlock("p",z,"$ "+e.toDisplayString(r.cartTotalPrice),1)):e.createCommentVNode("",!0),t.order.delivery.type==="Pickup"?(e.openBlock(),e.createElementBlock("p",H,"$ "+e.toDisplayString(r.cartTotalPrice)+" ₽",1)):e.createCommentVNode("",!0),t.order.delivery.type==="Courier"?(e.openBlock(),e.createElementBlock("p",K,"$ "+e.toDisplayString(r.cartTotalPrice+20),1)):e.createCommentVNode("",!0),t.order.delivery.type==="Post"?(e.openBlock(),e.createElementBlock("p",G,"$ "+e.toDisplayString(r.cartTotalPrice+10),1)):e.createCommentVNode("",!0)]),t.order.status==="Confirmed"?(e.openBlock(),e.createElementBlock("hr",J)):e.createCommentVNode("",!0),r.payment&&r.payment.Status==="CONFIRMED"?(e.openBlock(),e.createElementBlock("span",L,"Paid")):e.createCommentVNode("",!0)])])]))}},U=i.default(Q,[["__scopeId","data-v-e9803d20"]]);exports.default=U;
@@ -2,7 +2,7 @@ import { openBlock as s, createElementBlock as r, createElementVNode as t, toDis
2
2
  import { useRouter as _ } from "vue-router";
3
3
  /* empty css */
4
4
  import g from "../../../../../../_virtual/_plugin-vue_export-helper.js";
5
- const d = (e) => (p("data-v-43fdd511"), e = e(), v(), e), k = { class: "pd-big mn-regular order-customer-card col" }, f = { class: "mn-regular flex-center flex-nowrap flex w-100" }, b = { class: "w-100 t-medium p-big" }, w = { class: "flex-nowrap flex" }, P = { class: "mn-r-bold pd-r-big br-right-dark w-66" }, D = /* @__PURE__ */ d(() => /* @__PURE__ */ t("ul", { class: "mn-semi" }, null, -1)), S = /* @__PURE__ */ d(() => /* @__PURE__ */ t("p", { class: "mn-small t-medium p-big" }, " Adress and delivery ", -1)), C = { class: "mn-small" }, T = {
5
+ const d = (e) => (p("data-v-e9803d20"), e = e(), v(), e), k = { class: "pd-big mn-regular order-customer-card col" }, f = { class: "mn-regular flex-center flex-nowrap flex w-100" }, b = { class: "w-100 t-medium p-big" }, w = { class: "flex-nowrap flex" }, P = { class: "mn-r-bold pd-r-big br-right-dark w-66" }, D = /* @__PURE__ */ d(() => /* @__PURE__ */ t("ul", { class: "mn-semi" }, null, -1)), S = /* @__PURE__ */ d(() => /* @__PURE__ */ t("p", { class: "mn-small t-medium p-big" }, " Adress and delivery ", -1)), C = { class: "mn-small" }, T = {
6
6
  key: 0,
7
7
  class: "w-"
8
8
  }, x = {
@@ -115,7 +115,7 @@ const d = (e) => (p("data-v-43fdd511"), e = e(), v(), e), k = { class: "pd-big m
115
115
  ])
116
116
  ]));
117
117
  }
118
- }, ne = /* @__PURE__ */ g(re, [["__scopeId", "data-v-43fdd511"]]);
118
+ }, ne = /* @__PURE__ */ g(re, [["__scopeId", "data-v-e9803d20"]]);
119
119
  export {
120
120
  ne as default
121
121
  };
@@ -1 +1 @@
1
- "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vue"),u=require("vue-router"),m=require("../../../icons/navigation/IconAdd.vue.cjs"),p=require("../../../icons/navigation/IconMinus.vue.cjs"),g=require("../../../icons/navigation/IconDelete.vue.cjs"),h=require("../../../icons/placeholders/PlaceholderImage.vue.cjs"),k={class:"gap-small pos-relative cols-1"},v={class:"pos-relative w-100 gap-thin flex-stretch flex-nowrap flex"},y={class:"bg-light h-100 o-hidden pos-relative radius-small aspect-1x1",style:{flex:"1 0 auto"}},f=["src"],B={class:"w-100 pos-relative"},V={class:"t-truncate t-medium"},N={key:0,class:"t-transp"},b={key:1,class:"t-transp"},E={key:2,class:"t-transp"},C={class:"t-main t-demi"},S={key:0},D={key:1,class:"pd-r-small t-transp t-transp p-medium line-through price"},q={key:0,class:"mn-t-thin gap-thin flex-nojustify flex"},x={__name:"CardOrderItem",props:{product:Object,editable:Boolean,increase:Function,decrease:Function,remove:Function},emits:["increase","decrease","remove"],setup(t,{emit:a}){u.useRouter();const s=a,c=t;function i(o){c.increase&&c.increase(o),s("increase",o)}function l(o){c.decrease&&c.decrease(o),s("decrease",o)}function d(o){c.remove&&c.remove(o),s("remove",o)}return(o,r)=>(e.openBlock(),e.createElementBlock("div",k,[e.createElementVNode("div",v,[e.createElementVNode("div",y,[t.product.images[0]?(e.openBlock(),e.createElementBlock("img",{key:0,class:"w-100 object-fit-cover pos-absolute h-100",src:(o.FILE_SERVER_URL||"")+t.product.images[0]},null,8,f)):e.createCommentVNode("",!0),t.product.images[0]?e.createCommentVNode("",!0):(e.openBlock(),e.createBlock(h.default,{key:1,class:"bg-light pos-absolute radius-small w-100 h-100"}))]),e.createElementVNode("div",B,[e.createElementVNode("p",V,[e.createTextVNode(e.toDisplayString(t.product.name)+" ",1),t.product.size?(e.openBlock(),e.createElementBlock("span",N,", "+e.toDisplayString(t.product.size),1)):e.createCommentVNode("",!0),typeof t.product.color=="string"&&t.product.size?(e.openBlock(),e.createElementBlock("span",b,", ")):e.createCommentVNode("",!0),typeof t.product.color=="string"?(e.openBlock(),e.createElementBlock("span",E,e.toDisplayString(t.product.color),1)):e.createCommentVNode("",!0)]),e.createElementVNode("p",C,[t.product.quantity?(e.openBlock(),e.createElementBlock("span",S,e.toDisplayString(t.product.quantity)+" x ",1)):e.createCommentVNode("",!0),e.createTextVNode(e.toDisplayString(t.product.price)+" "+e.toDisplayString(o.returnCurrency())+" ",1),t.product.sale?(e.openBlock(),e.createElementBlock("span",D,e.toDisplayString(t.product.price/100*(100+t.product.sale))+" "+e.toDisplayString(o.returnCurrency()),1)):e.createCommentVNode("",!0)]),t.editable?(e.openBlock(),e.createElementBlock("div",q,[e.createVNode(m.default,{onClick:r[0]||(r[0]=n=>i(t.product)),class:"hover-scale-1 cursor-pointer bg-light i-big pd-thin radius-small"}),e.createVNode(p.default,{onClick:r[1]||(r[1]=n=>l(t.product)),class:"hover-scale-1 cursor-pointer bg-light i-big pd-thin radius-small"}),e.createVNode(g.default,{onClick:r[2]||(r[2]=n=>d(t.product)),class:"hover-scale-1 cursor-pointer bg-light i-big pd-thin radius-small"})])):e.createCommentVNode("",!0)])])]))}};exports.default=x;
1
+ "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vue"),u=require("vue-router"),m=require("../../../icons/navigation/IconAdd.vue.cjs"),p=require("../../../icons/navigation/IconMinus.vue.cjs"),g=require("../../../icons/navigation/IconDelete.vue.cjs"),h=require("../../../icons/placeholders/PlaceholderImage.vue.cjs"),k={class:"gap-small pos-relative cols-1"},v={class:"pos-relative w-100 gap-thin flex-stretch flex-nowrap flex"},y={class:"bg-light h-100 o-hidden pos-relative radius-small aspect-1x1",style:{flex:"1 0 auto"}},f=["src"],B={class:"w-100 pos-relative"},V={class:"t-truncate t-medium"},N={key:0,class:"t-transp"},b={key:1,class:"t-transp"},E={key:2,class:"t-transp"},C={class:"t-main t-demi"},S={key:0},D={key:1,class:"pd-r-small t-transp t-transp p-medium line-through price"},q={key:0,class:"mn-t-thin gap-thin flex-nojustify flex"},x={__name:"CardOrderItem",props:{product:Object,editable:Boolean,increase:Function,decrease:Function,remove:Function},emits:["increase","decrease","remove"],setup(t,{emit:a}){u.useRouter();const n=a,c=t;function i(o){c.increase&&c.increase(o),n("increase",o)}function l(o){c.decrease&&c.decrease(o),n("decrease",o)}function d(o){c.remove&&c.remove(o),n("remove",o)}return(o,r)=>(e.openBlock(),e.createElementBlock("div",k,[e.createElementVNode("div",v,[e.createElementVNode("div",y,[t.product.images[0]?(e.openBlock(),e.createElementBlock("img",{key:0,loading:"lazy",class:"w-100 object-fit-cover pos-absolute h-100",src:(o.FILE_SERVER_URL||"")+t.product.images[0]},null,8,f)):e.createCommentVNode("",!0),t.product.images[0]?e.createCommentVNode("",!0):(e.openBlock(),e.createBlock(h.default,{key:1,class:"bg-light pos-absolute radius-small w-100 h-100"}))]),e.createElementVNode("div",B,[e.createElementVNode("p",V,[e.createTextVNode(e.toDisplayString(t.product.name)+" ",1),t.product.size?(e.openBlock(),e.createElementBlock("span",N,", "+e.toDisplayString(t.product.size),1)):e.createCommentVNode("",!0),typeof t.product.color=="string"&&t.product.size?(e.openBlock(),e.createElementBlock("span",b,", ")):e.createCommentVNode("",!0),typeof t.product.color=="string"?(e.openBlock(),e.createElementBlock("span",E,e.toDisplayString(t.product.color),1)):e.createCommentVNode("",!0)]),e.createElementVNode("p",C,[t.product.quantity?(e.openBlock(),e.createElementBlock("span",S,e.toDisplayString(t.product.quantity)+" x ",1)):e.createCommentVNode("",!0),e.createTextVNode(e.toDisplayString(t.product.price)+" "+e.toDisplayString(o.returnCurrency())+" ",1),t.product.sale?(e.openBlock(),e.createElementBlock("span",D,e.toDisplayString(t.product.price/100*(100+t.product.sale))+" "+e.toDisplayString(o.returnCurrency()),1)):e.createCommentVNode("",!0)]),t.editable?(e.openBlock(),e.createElementBlock("div",q,[e.createVNode(m.default,{onClick:r[0]||(r[0]=s=>i(t.product)),class:"hover-scale-1 cursor-pointer bg-light i-big pd-thin radius-small"}),e.createVNode(p.default,{onClick:r[1]||(r[1]=s=>l(t.product)),class:"hover-scale-1 cursor-pointer bg-light i-big pd-thin radius-small"}),e.createVNode(g.default,{onClick:r[2]||(r[2]=s=>d(t.product)),class:"hover-scale-1 cursor-pointer bg-light i-big pd-thin radius-small"})])):e.createCommentVNode("",!0)])])]))}};exports.default=x;
@@ -1,4 +1,4 @@
1
- import { openBlock as s, createElementBlock as i, createElementVNode as n, createCommentVNode as r, createBlock as v, createTextVNode as m, toDisplayString as o, createVNode as d } from "vue";
1
+ import { openBlock as s, createElementBlock as i, createElementVNode as n, createCommentVNode as o, createBlock as v, createTextVNode as m, toDisplayString as r, createVNode as d } from "vue";
2
2
  import { useRouter as y } from "vue-router";
3
3
  import b from "../../../icons/navigation/IconAdd.vue.js";
4
4
  import k from "../../../icons/navigation/IconMinus.vue.js";
@@ -7,16 +7,16 @@ import C from "../../../icons/placeholders/PlaceholderImage.vue.js";
7
7
  const $ = { class: "gap-small pos-relative cols-1" }, w = { class: "pos-relative w-100 gap-thin flex-stretch flex-nowrap flex" }, E = {
8
8
  class: "bg-light h-100 o-hidden pos-relative radius-small aspect-1x1",
9
9
  style: { flex: "1 0 auto" }
10
- }, V = ["src"], B = { class: "w-100 pos-relative" }, F = { class: "t-truncate t-medium" }, N = {
10
+ }, V = ["src"], z = { class: "w-100 pos-relative" }, B = { class: "t-truncate t-medium" }, F = {
11
11
  key: 0,
12
12
  class: "t-transp"
13
- }, R = {
13
+ }, N = {
14
14
  key: 1,
15
15
  class: "t-transp"
16
- }, j = {
16
+ }, R = {
17
17
  key: 2,
18
18
  class: "t-transp"
19
- }, z = { class: "t-main t-demi" }, I = { key: 0 }, q = {
19
+ }, j = { class: "t-main t-demi" }, I = { key: 0 }, q = {
20
20
  key: 1,
21
21
  class: "pd-r-small t-transp t-transp p-medium line-through price"
22
22
  }, L = {
@@ -49,25 +49,26 @@ const $ = { class: "gap-small pos-relative cols-1" }, w = { class: "pos-relative
49
49
  n("div", E, [
50
50
  e.product.images[0] ? (s(), i("img", {
51
51
  key: 0,
52
+ loading: "lazy",
52
53
  class: "w-100 object-fit-cover pos-absolute h-100",
53
54
  src: (t.FILE_SERVER_URL || "") + e.product.images[0]
54
- }, null, 8, V)) : r("", !0),
55
- e.product.images[0] ? r("", !0) : (s(), v(C, {
55
+ }, null, 8, V)) : o("", !0),
56
+ e.product.images[0] ? o("", !0) : (s(), v(C, {
56
57
  key: 1,
57
58
  class: "bg-light pos-absolute radius-small w-100 h-100"
58
59
  }))
59
60
  ]),
60
- n("div", B, [
61
- n("p", F, [
62
- m(o(e.product.name) + " ", 1),
63
- e.product.size ? (s(), i("span", N, ", " + o(e.product.size), 1)) : r("", !0),
64
- typeof e.product.color == "string" && e.product.size ? (s(), i("span", R, ", ")) : r("", !0),
65
- typeof e.product.color == "string" ? (s(), i("span", j, o(e.product.color), 1)) : r("", !0)
61
+ n("div", z, [
62
+ n("p", B, [
63
+ m(r(e.product.name) + " ", 1),
64
+ e.product.size ? (s(), i("span", F, ", " + r(e.product.size), 1)) : o("", !0),
65
+ typeof e.product.color == "string" && e.product.size ? (s(), i("span", N, ", ")) : o("", !0),
66
+ typeof e.product.color == "string" ? (s(), i("span", R, r(e.product.color), 1)) : o("", !0)
66
67
  ]),
67
- n("p", z, [
68
- e.product.quantity ? (s(), i("span", I, o(e.product.quantity) + " x ", 1)) : r("", !0),
69
- m(o(e.product.price) + " " + o(t.returnCurrency()) + " ", 1),
70
- e.product.sale ? (s(), i("span", q, o(e.product.price / 100 * (100 + e.product.sale)) + " " + o(t.returnCurrency()), 1)) : r("", !0)
68
+ n("p", j, [
69
+ e.product.quantity ? (s(), i("span", I, r(e.product.quantity) + " x ", 1)) : o("", !0),
70
+ m(r(e.product.price) + " " + r(t.returnCurrency()) + " ", 1),
71
+ e.product.sale ? (s(), i("span", q, r(e.product.price / 100 * (100 + e.product.sale)) + " " + r(t.returnCurrency()), 1)) : o("", !0)
71
72
  ]),
72
73
  e.editable ? (s(), i("div", L, [
73
74
  d(b, {
@@ -82,7 +83,7 @@ const $ = { class: "gap-small pos-relative cols-1" }, w = { class: "pos-relative
82
83
  onClick: a[2] || (a[2] = (u) => g(e.product)),
83
84
  class: "hover-scale-1 cursor-pointer bg-light i-big pd-thin radius-small"
84
85
  })
85
- ])) : r("", !0)
86
+ ])) : o("", !0)
86
87
  ])
87
88
  ])
88
89
  ]));
@@ -1 +1 @@
1
- "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vue"),C=require("vue-router"),O=require("../../../../../node_modules/@vuepic/vue-datepicker/dist/vue-datepicker.cjs");;/* empty css */;/* empty css */const P=require("../../../../components/Popup/Popup.vue2.cjs"),I=require("../../../icons/entities/IconTime.vue.cjs"),B=require("../blocks/CardOrderItem.vue.cjs"),z=require("../../../organizations/components/blocks/CardOrganization.vue.cjs"),M=require("../../../chats/components/pages/ChatPage.vue.cjs"),F=require("../blocks/StatusHistory.vue.cjs"),L=require("../../../globals/views/store/globals.cjs"),d=require("../../store/orders.cjs"),R=require("../../../products/store/products.cjs"),T=require("../../../organizations/store/organizations.cjs");;/* empty css */const A=require("../../../../../../_virtual/_plugin-vue_export-helper.cjs"),l=b=>(e.pushScopeId("data-v-ad498447"),b=b(),e.popScopeId(),b),H={key:0,class:"pd-thin"},U={key:0,class:"mn-b-thin pos-relative w-100 bg-main radius-big pd-medium"},W={class:"mn-b-small flex-nowrap flex"},j={class:"t-medium p-medium"},G={class:"p-small t-transp"},J={class:"flex-nowrap flex gap-thin pos-relative"},K={class:"bg-light mn-b-thin pd-thin radius-extra flex-nowrap flex"},Q={class:"w-max flex-v-center gap-thin flex-nowrap flex pd-thin radius-small bg-white-transp-20"},X={class:"t-medium mn-r-auto"},Y=l(()=>e.createElementVNode("span",{class:"p-small t-transp"},"Estimated Arrival",-1)),Z=l(()=>e.createElementVNode("br",null,null,-1)),$=l(()=>e.createElementVNode("p",{class:"t-medium p-medium mn-b-thin"}," Positions ",-1)),ee={class:"bg-light pd-small radius-small flex gap-thin flex-column mn-b-semi"},te={key:1,class:"gap-thin cols-2"},se={class:"w-100"},ae={class:"mn-b-thin bg-light w-100 o-hidden radius-medium"},le={class:"pd-small flex-nowrap flex"},re={class:"mn-r-auto"},ne=l(()=>e.createElementVNode("span",{class:"d-block t-medium p-medium"},"Order is",-1)),oe=l(()=>e.createElementVNode("span",{class:"t-lh-075 h2 d-block mn-b-small"},"created",-1)),ie={class:"pd-t-nano pd-b-nano pd-r-thin pd-l-thin radius-extra bg-black t-white w-max"},ce={class:"pd-small cols-2 br-t br-black-transp-10 br-solid"},de=l(()=>e.createElementVNode("p",{class:"w-100 t-medium p-medium"}," Phone ",-1)),ue={class:"w-100 t-right"},me={class:"pd-small cols-2 br-t br-black-transp-10 br-solid"},pe=l(()=>e.createElementVNode("p",{class:"t-medium p-medium"}," Address ",-1)),he={class:"w-100 t-right"},_e={class:"pd-small cols-2 br-t br-black-transp-10 br-solid"},be=l(()=>e.createElementVNode("p",{class:"mn-b-small t-medium p-medium"}," Delivery ",-1)),ve={class:"w-100 t-right mn-b-small"},ge={key:2,class:"t-transp"},fe={class:"bg-light radius-big pd-medium mn-r-bold pd-r-big br-right-dark w-100"},Ne=l(()=>e.createElementVNode("h3",{class:"mn-b-small"},"Order Summary",-1)),Ve={class:"flex gap-thin flex-column mn-b-semi"},Ee={class:"mn-b-medium radius-small br-solid br-1px br-black-transp-10 w-100"},ke={class:"pd-small br-solid br-b br-black-transp-10 flex"},ye=l(()=>e.createElementVNode("p",{class:"mn-r-auto t-transp"},"In total",-1)),we={class:"pd-small br-solid br-b br-black-transp-10 flex"},Se=l(()=>e.createElementVNode("p",{class:"mn-r-auto t-transp"},"Delivery",-1)),xe={class:"pd-small flex-bottom flex"},Ce=l(()=>e.createElementVNode("p",{class:"mn-r-auto t-transp"},"In total to pay",-1)),Be={class:"p-big t-semi"},De=l(()=>e.createElementVNode("h3",{class:"mn-b-small"},"Chat With Us",-1)),qe={__name:"OrderBackoffice",setup(b){C.useRouter();const h=C.useRoute(),s=e.ref(null),v=e.ref(null),n=e.ref(null),o=["created","confirmed","packing","in delivery","delivered"],V=["Created","Confirmed","Packing","In Delivery","Delivered"],g=t=>o.slice(t).includes(s.value.status),f=e.ref(!1),E=e.ref(null),N=e.ref([]);function D(t){f.value=!0,typeof t=="number"&&(E.value=t)}function k(){f.value=!1,E.value=null}e.onMounted(async()=>{var a,r;s.value=await d.actions.read({_id:h.params.order}),s.value=s.value[0],v.value=await R.actions.read({organization:s.value.owner.target._id,limit:1e3}),console.log(v.value);const t=v.value.reduce((u,m)=>(u[m._id]=m,u),{});console.log(t),N.value=s.value.positions.map(({_id:u,quantity:m})=>{const p=t[u];return{name:p.name,images:p.images,price:p.price,_id:p._id,quantity:m}}),n.value=await T.actions.read({_id:(a=s.value)==null?void 0:a.owner.target._id,location:(r=L.state.position)==null?void 0:r.location})});let y=e.computed(()=>{var t;return Number((t=s.value)==null?void 0:t.positions.reduce((a,r)=>a+r.price*r.quantity,0))});e.computed(()=>{var t;return Number((t=s.value)==null?void 0:t.positions.reduce((a,r)=>a+r.quantity,0))});function _(t){const a=o.indexOf(t);return a!==-1&&a+1<o.length?o[a+1]:null}function w(t){const a=o.indexOf(t);return t?V[a]:""}async function q(){const t=_(d.state.current.status);t?(d.state.current.status=t,await d.actions.update(d.state.current)):console.error("Next status is void. Must handle somehow."),k()}return(t,a)=>{var r,u,m,p,S,x;return s.value&&n.value?(e.openBlock(),e.createElementBlock("div",H,[s.value?(e.openBlock(),e.createElementBlock("div",U,[e.createElementVNode("div",W,[e.createElementVNode("p",j,[e.createTextVNode(" Order No: "),e.createElementVNode("span",G,"#"+e.toDisplayString(s.value._id),1)])]),e.createElementVNode("div",J,[(e.openBlock(),e.createElementBlock(e.Fragment,null,e.renderList(o,(i,c)=>e.createElementVNode("div",{key:c,class:"w-20"},[e.createElementVNode("div",{class:e.normalizeClass(["bg-light br-anim br-glow radius-extra h-1r w-100",{"br-glow-anim":g(c)},{"t-transp":!g(c)},{blink:s.value.status===o[c]&&_(s.value.status)}])},null,2),e.createElementVNode("div",{class:e.normalizeClass([{"t-transp":!g(c)},"mn-t-thin p-small t-medium uppercase"])},e.toDisplayString(V[c]),3)])),64))])])):e.createCommentVNode("",!0),e.createElementVNode("div",K,[e.createElementVNode("div",Q,[e.createVNode(I.default,{class:"i-semi t-transp",fill:"rgb(var(--black)"}),e.createElementVNode("p",X,[Y,Z,e.createTextVNode(e.toDisplayString(t.formatDate(s.value.deadline)),1)])]),_(s.value.status)&&e.unref(h).name==="Order Edit"?(e.openBlock(),e.createElementBlock("button",{key:0,onClick:D,class:"mn-l-auto bg-black t-white button"}," Mark as "+e.toDisplayString(w(_(s.value.status))),1)):e.createCommentVNode("",!0)]),e.createVNode(P.default,{title:"Change status",onClosePopup:k,isPopupOpen:f.value,class:"bg-white w-min-30r w-max-30r radius-big pd-big"},{default:e.withCtx(()=>[e.createVNode(e.unref(O.default),{modelValue:s.value.deadline,"onUpdate:modelValue":a[0]||(a[0]=i=>s.value.deadline=i),"hide-navigation":["calendar"],flow:["time"],class:"z-index-3 bg-light radius-small pd-small mn-b-thin mn-b-semi"},null,8,["modelValue"]),$,e.createElementVNode("ul",ee,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(N.value,(i,c)=>(e.openBlock(),e.createBlock(B.default,{key:i._id,editable:!1,product:i},null,8,["product"]))),128))]),e.createElementVNode("button",{onClick:q,class:"w-100 bg-black-small t-white button"},e.toDisplayString("Confirm Changing to "+w(_(s.value.status))),1)]),_:1},8,["isPopupOpen"]),s.value?(e.openBlock(),e.createElementBlock("div",te,[e.createElementVNode("div",se,[n.value[0]?(e.openBlock(),e.createBlock(z.default,{key:0,organization:n.value[0],showRating:!0,showFollowers:!1,showProducts:!1,class:"bg-light mn-b-thin w-100 o-hidden radius-big pd-small"},null,8,["organization"])):e.createCommentVNode("",!0),e.createElementVNode("div",ae,[e.createElementVNode("div",le,[e.createElementVNode("div",re,[ne,oe,e.createElementVNode("p",ie,e.toDisplayString(t.formatDate(s.value.createdAt)),1)])]),e.createElementVNode("div",ce,[de,e.createElementVNode("p",ue,e.toDisplayString(((r=s.value.customer.target)==null?void 0:r.number)||"Not specified"),1)]),e.createElementVNode("div",me,[pe,e.createElementVNode("p",he,e.toDisplayString(s.value.delivery.address?s.value.delivery.address.slice(0,64):"Not specified"),1)]),e.createElementVNode("div",_e,[be,e.createElementVNode("p",ve,e.toDisplayString(s.value.delivery.type?s.value.delivery.type:"Not specified"),1)])]),d.state.current.status_history?(e.openBlock(),e.createBlock(F.default,{key:1,statuses:o,statusHistory:d.state.current.status_history,statusCurrent:d.state.current.status,edit:e.unref(h).name==="Order Edit"},null,8,["statusHistory","statusCurrent","edit"])):e.createCommentVNode("",!0),t.payment&&t.payment.Status==="CONFIRMED"?(e.openBlock(),e.createElementBlock("span",ge,"Paid")):e.createCommentVNode("",!0)]),e.createElementVNode("div",fe,[Ne,e.createElementVNode("ul",Ve,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(N.value,(i,c)=>(e.openBlock(),e.createBlock(B.default,{key:i._id,editable:!1,product:i},null,8,["product"]))),128))]),e.createElementVNode("div",Ee,[e.createElementVNode("div",ke,[ye,e.createElementVNode("p",null,e.toDisplayString(e.unref(y))+" "+e.toDisplayString(t.returnCurrency()),1)]),e.createElementVNode("div",we,[Se,e.createElementVNode("p",null,e.toDisplayString(t.returnCurrency())+" "+e.toDisplayString(Math.trunc(100+20*((u=n.value[0])==null?void 0:u.distance)-7,5*(((m=n.value[0])==null?void 0:m.distance)/10))),1)]),e.createElementVNode("div",xe,[Ce,e.createElementVNode("p",Be,e.toDisplayString(t.returnCurrency())+" "+e.toDisplayString(Math.trunc(100+20*((p=n.value[0])==null?void 0:p.distance)-7,5*(((S=n.value[0])==null?void 0:S.distance)/10))+e.unref(y)),1)])]),De,e.createVNode(M.default,{username:e.unref(h).name==="Order Status"?((x=s.value.user)==null?void 0:x.name)||"User":"Weeder Support",chatID:e.unref(h).params.order,class:"radius-semi bg-white o-hidden"},null,8,["username","chatID"])])])):e.createCommentVNode("",!0)])):e.createCommentVNode("",!0)}}},Oe=A.default(qe,[["__scopeId","data-v-ad498447"]]);exports.default=Oe;
1
+ "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vue"),C=require("vue-router");;/* empty css */const q=require("../../../../components/Popup/Popup.vue2.cjs"),P=require("../../../icons/entities/IconTime.vue.cjs"),B=require("../blocks/CardOrderItem.vue.cjs"),I=require("../../../organizations/components/blocks/CardOrganization.vue.cjs"),M=require("../../../chats/components/pages/ChatPage.vue.cjs"),z=require("../blocks/StatusHistory.vue.cjs"),T=require("../../../globals/views/store/globals.cjs"),c=require("../../store/orders.cjs"),F=require("../../../products/store/products.cjs"),L=require("../../../organizations/store/organizations.cjs");;/* empty css */const R=require("../../../../../../_virtual/_plugin-vue_export-helper.cjs"),r=b=>(e.pushScopeId("data-v-5785b6f6"),b=b(),e.popScopeId(),b),A={key:0,class:"pd-thin"},H={key:0,class:"mn-b-thin pos-relative w-100 bg-main radius-big pd-medium"},U={class:"mn-b-small flex-nowrap flex"},W={class:"t-medium p-medium"},j={class:"p-small t-transp"},G={class:"flex-nowrap flex gap-thin pos-relative"},J={class:"bg-light mn-b-thin pd-thin radius-extra flex-nowrap flex"},K={class:"w-max flex-v-center gap-thin flex-nowrap flex pd-thin radius-small bg-white-transp-20"},Q={class:"t-medium mn-r-auto"},X=r(()=>e.createElementVNode("span",{class:"p-small t-transp"},"Estimated Arrival",-1)),Y=r(()=>e.createElementVNode("br",null,null,-1)),Z=r(()=>e.createElementVNode("p",{class:"t-medium p-medium mn-b-thin"}," Positions ",-1)),$={class:"bg-light pd-small radius-small flex gap-thin flex-column mn-b-semi"},ee={key:1,class:"gap-thin cols-2"},te={class:"w-100"},se={class:"mn-b-thin bg-light w-100 o-hidden radius-medium"},ae={class:"pd-small flex-nowrap flex"},re={class:"mn-r-auto"},le=r(()=>e.createElementVNode("span",{class:"d-block t-medium p-medium"},"Order is",-1)),ne=r(()=>e.createElementVNode("span",{class:"t-lh-075 h2 d-block mn-b-small"},"created",-1)),oe={class:"pd-t-nano pd-b-nano pd-r-thin pd-l-thin radius-extra bg-black t-white w-max"},ie={class:"pd-small cols-2 br-t br-black-transp-10 br-solid"},ce=r(()=>e.createElementVNode("p",{class:"w-100 t-medium p-medium"}," Phone ",-1)),de={class:"w-100 t-right"},ue={class:"pd-small cols-2 br-t br-black-transp-10 br-solid"},me=r(()=>e.createElementVNode("p",{class:"t-medium p-medium"}," Address ",-1)),pe={class:"w-100 t-right"},_e={class:"pd-small cols-2 br-t br-black-transp-10 br-solid"},he=r(()=>e.createElementVNode("p",{class:"mn-b-small t-medium p-medium"}," Delivery ",-1)),be={class:"w-100 t-right mn-b-small"},ve={key:2,class:"t-transp"},ge={class:"bg-light radius-big pd-medium mn-r-bold pd-r-big br-right-dark w-100"},fe=r(()=>e.createElementVNode("h3",{class:"mn-b-small"},"Order Summary",-1)),Ne={class:"flex gap-thin flex-column mn-b-semi"},Ve={class:"mn-b-medium radius-small br-solid br-1px br-black-transp-10 w-100"},Ee={class:"pd-small br-solid br-b br-black-transp-10 flex"},ke=r(()=>e.createElementVNode("p",{class:"mn-r-auto t-transp"},"In total",-1)),ye={class:"pd-small br-solid br-b br-black-transp-10 flex"},we=r(()=>e.createElementVNode("p",{class:"mn-r-auto t-transp"},"Delivery",-1)),Se={class:"pd-small flex-bottom flex"},xe=r(()=>e.createElementVNode("p",{class:"mn-r-auto t-transp"},"In total to pay",-1)),Ce={class:"p-big t-semi"},Be=r(()=>e.createElementVNode("h3",{class:"mn-b-small"},"Chat With Us",-1)),De={__name:"OrderBackoffice",setup(b){C.useRouter();const _=C.useRoute(),s=e.ref(null),v=e.ref(null),n=e.ref(null),o=["created","confirmed","packing","in delivery","delivered"],V=["Created","Confirmed","Packing","In Delivery","Delivered"],g=t=>o.slice(t).includes(s.value.status),f=e.ref(!1),E=e.ref(null),N=e.ref([]);function D(t){f.value=!0,typeof t=="number"&&(E.value=t)}function k(){f.value=!1,E.value=null}e.onMounted(async()=>{var a,l;s.value=await c.actions.read({_id:_.params.order}),s.value=s.value[0],v.value=await F.actions.read({organization:s.value.owner.target._id,limit:1e3}),console.log(v.value);const t=v.value.reduce((d,u)=>(d[u._id]=u,d),{});console.log(t),N.value=s.value.positions.map(({_id:d,quantity:u})=>{const m=t[d];return{name:m.name,images:m.images,price:m.price,_id:m._id,quantity:u}}),n.value=await L.actions.read({_id:(a=s.value)==null?void 0:a.owner.target._id,location:(l=T.state.position)==null?void 0:l.location})});let y=e.computed(()=>{var t;return Number((t=s.value)==null?void 0:t.positions.reduce((a,l)=>a+l.price*l.quantity,0))});e.computed(()=>{var t;return Number((t=s.value)==null?void 0:t.positions.reduce((a,l)=>a+l.quantity,0))});function h(t){const a=o.indexOf(t);return a!==-1&&a+1<o.length?o[a+1]:null}function w(t){const a=o.indexOf(t);return t?V[a]:""}async function O(){const t=h(c.state.current.status);t?(c.state.current.status=t,await c.actions.update(c.state.current)):console.error("Next status is void. Must handle somehow."),k()}return(t,a)=>{var l,d,u,m,S,x;return s.value&&n.value?(e.openBlock(),e.createElementBlock("div",A,[s.value?(e.openBlock(),e.createElementBlock("div",H,[e.createElementVNode("div",U,[e.createElementVNode("p",W,[e.createTextVNode(" Order No: "),e.createElementVNode("span",j,"#"+e.toDisplayString(s.value._id),1)])]),e.createElementVNode("div",G,[(e.openBlock(),e.createElementBlock(e.Fragment,null,e.renderList(o,(p,i)=>e.createElementVNode("div",{key:i,class:"w-20"},[e.createElementVNode("div",{class:e.normalizeClass(["bg-light br-anim br-glow radius-extra h-1r w-100",{"br-glow-anim":g(i)},{"t-transp":!g(i)},{blink:s.value.status===o[i]&&h(s.value.status)}])},null,2),e.createElementVNode("div",{class:e.normalizeClass([{"t-transp":!g(i)},"mn-t-thin p-small t-medium uppercase"])},e.toDisplayString(V[i]),3)])),64))])])):e.createCommentVNode("",!0),e.createElementVNode("div",J,[e.createElementVNode("div",K,[e.createVNode(P.default,{class:"i-semi t-transp",fill:"rgb(var(--black)"}),e.createElementVNode("p",Q,[X,Y,e.createTextVNode(e.toDisplayString(t.formatDate(s.value.deadline)),1)])]),h(s.value.status)&&e.unref(_).name==="Order Edit"?(e.openBlock(),e.createElementBlock("button",{key:0,onClick:D,class:"mn-l-auto bg-black t-white button"}," Mark as "+e.toDisplayString(w(h(s.value.status))),1)):e.createCommentVNode("",!0)]),e.createVNode(q.default,{title:"Change status",onClosePopup:k,isPopupOpen:f.value,class:"bg-white w-min-30r w-max-30r radius-big pd-big"},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(s.value.deadline)+" ",1),Z,e.createElementVNode("ul",$,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(N.value,(p,i)=>(e.openBlock(),e.createBlock(B.default,{key:p._id,editable:!1,product:p},null,8,["product"]))),128))]),e.createElementVNode("button",{onClick:O,class:"w-100 bg-black-small t-white button"},e.toDisplayString("Confirm Changing to "+w(h(s.value.status))),1)]),_:1},8,["isPopupOpen"]),s.value?(e.openBlock(),e.createElementBlock("div",ee,[e.createElementVNode("div",te,[n.value[0]?(e.openBlock(),e.createBlock(I.default,{key:0,organization:n.value[0],showRating:!0,showFollowers:!1,showProducts:!1,class:"bg-light mn-b-thin w-100 o-hidden radius-big pd-small"},null,8,["organization"])):e.createCommentVNode("",!0),e.createElementVNode("div",se,[e.createElementVNode("div",ae,[e.createElementVNode("div",re,[le,ne,e.createElementVNode("p",oe,e.toDisplayString(t.formatDate(s.value.createdAt)),1)])]),e.createElementVNode("div",ie,[ce,e.createElementVNode("p",de,e.toDisplayString(((l=s.value.customer.target)==null?void 0:l.number)||"Not specified"),1)]),e.createElementVNode("div",ue,[me,e.createElementVNode("p",pe,e.toDisplayString(s.value.delivery.address?s.value.delivery.address.slice(0,64):"Not specified"),1)]),e.createElementVNode("div",_e,[he,e.createElementVNode("p",be,e.toDisplayString(s.value.delivery.type?s.value.delivery.type:"Not specified"),1)])]),c.state.current.status_history?(e.openBlock(),e.createBlock(z.default,{key:1,statuses:o,statusHistory:c.state.current.status_history,statusCurrent:c.state.current.status,edit:e.unref(_).name==="Order Edit"},null,8,["statusHistory","statusCurrent","edit"])):e.createCommentVNode("",!0),t.payment&&t.payment.Status==="CONFIRMED"?(e.openBlock(),e.createElementBlock("span",ve,"Paid")):e.createCommentVNode("",!0)]),e.createElementVNode("div",ge,[fe,e.createElementVNode("ul",Ne,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(N.value,(p,i)=>(e.openBlock(),e.createBlock(B.default,{key:p._id,editable:!1,product:p},null,8,["product"]))),128))]),e.createElementVNode("div",Ve,[e.createElementVNode("div",Ee,[ke,e.createElementVNode("p",null,e.toDisplayString(e.unref(y))+" "+e.toDisplayString(t.returnCurrency()),1)]),e.createElementVNode("div",ye,[we,e.createElementVNode("p",null,e.toDisplayString(t.returnCurrency())+" "+e.toDisplayString(Math.trunc(100+20*((d=n.value[0])==null?void 0:d.distance)-7,5*(((u=n.value[0])==null?void 0:u.distance)/10))),1)]),e.createElementVNode("div",Se,[xe,e.createElementVNode("p",Ce,e.toDisplayString(t.returnCurrency())+" "+e.toDisplayString(Math.trunc(100+20*((m=n.value[0])==null?void 0:m.distance)-7,5*(((S=n.value[0])==null?void 0:S.distance)/10))+e.unref(y)),1)])]),Be,e.createVNode(M.default,{username:e.unref(_).name==="Order Status"?((x=s.value.user)==null?void 0:x.name)||"User":"Weeder Support",chatID:e.unref(_).params.order,class:"radius-semi bg-white o-hidden"},null,8,["username","chatID"])])])):e.createCommentVNode("",!0)])):e.createCommentVNode("",!0)}}},Oe=R.default(De,[["__scopeId","data-v-5785b6f6"]]);exports.default=Oe;