@ozdao/prometheus-framework 0.2.198 → 0.2.199

Sign up to get free protection for your applications and to get access to all the features.
Files changed (463) hide show
  1. package/dist/builder.js +3 -10
  2. package/dist/builder.mjs +3 -10
  3. package/dist/events.server.js +1 -1
  4. package/dist/events.server.mjs +1 -1
  5. package/dist/node_modules/@vuepic/vue-datepicker/dist/vue-datepicker.cjs +1 -0
  6. package/dist/node_modules/@vuepic/vue-datepicker/dist/vue-datepicker.js +5042 -0
  7. package/dist/node_modules/date-fns/_lib/addLeadingZeros.cjs +1 -0
  8. package/dist/node_modules/date-fns/_lib/addLeadingZeros.js +7 -0
  9. package/dist/node_modules/date-fns/_lib/defaultOptions.cjs +1 -0
  10. package/dist/node_modules/date-fns/_lib/defaultOptions.js +7 -0
  11. package/dist/node_modules/date-fns/_lib/format/formatters.cjs +1 -0
  12. package/dist/node_modules/date-fns/_lib/format/formatters.js +518 -0
  13. package/dist/node_modules/date-fns/_lib/format/lightFormatters.cjs +1 -0
  14. package/dist/node_modules/date-fns/_lib/format/lightFormatters.js +59 -0
  15. package/dist/node_modules/date-fns/_lib/format/longFormatters.cjs +1 -0
  16. package/dist/node_modules/date-fns/_lib/format/longFormatters.js +52 -0
  17. package/dist/node_modules/date-fns/_lib/getTimezoneOffsetInMilliseconds.cjs +1 -0
  18. package/dist/node_modules/date-fns/_lib/getTimezoneOffsetInMilliseconds.js +18 -0
  19. package/dist/node_modules/date-fns/_lib/protectedTokens.cjs +1 -0
  20. package/dist/node_modules/date-fns/_lib/protectedTokens.js +20 -0
  21. package/dist/node_modules/date-fns/add.cjs +1 -0
  22. package/dist/node_modules/date-fns/add.js +20 -0
  23. package/dist/node_modules/date-fns/addDays.cjs +1 -0
  24. package/dist/node_modules/date-fns/addDays.js +10 -0
  25. package/dist/node_modules/date-fns/addHours.cjs +1 -0
  26. package/dist/node_modules/date-fns/addHours.js +9 -0
  27. package/dist/node_modules/date-fns/addMilliseconds.cjs +1 -0
  28. package/dist/node_modules/date-fns/addMilliseconds.js +10 -0
  29. package/dist/node_modules/date-fns/addMonths.cjs +1 -0
  30. package/dist/node_modules/date-fns/addMonths.js +20 -0
  31. package/dist/node_modules/date-fns/addQuarters.cjs +1 -0
  32. package/dist/node_modules/date-fns/addQuarters.js +9 -0
  33. package/dist/node_modules/date-fns/addYears.cjs +1 -0
  34. package/dist/node_modules/date-fns/addYears.js +8 -0
  35. package/dist/node_modules/date-fns/compareAsc.cjs +1 -0
  36. package/dist/node_modules/date-fns/compareAsc.js +9 -0
  37. package/dist/node_modules/date-fns/constants.cjs +1 -0
  38. package/dist/node_modules/date-fns/constants.js +8 -0
  39. package/dist/node_modules/date-fns/constructFrom.cjs +1 -0
  40. package/dist/node_modules/date-fns/constructFrom.js +7 -0
  41. package/dist/node_modules/date-fns/differenceInCalendarDays.cjs +1 -0
  42. package/dist/node_modules/date-fns/differenceInCalendarDays.js +11 -0
  43. package/dist/node_modules/date-fns/differenceInCalendarYears.cjs +1 -0
  44. package/dist/node_modules/date-fns/differenceInCalendarYears.js +9 -0
  45. package/dist/node_modules/date-fns/differenceInYears.cjs +1 -0
  46. package/dist/node_modules/date-fns/differenceInYears.js +13 -0
  47. package/dist/node_modules/date-fns/eachDayOfInterval.cjs +1 -0
  48. package/dist/node_modules/date-fns/eachDayOfInterval.js +16 -0
  49. package/dist/node_modules/date-fns/eachQuarterOfInterval.cjs +1 -0
  50. package/dist/node_modules/date-fns/eachQuarterOfInterval.js +17 -0
  51. package/dist/node_modules/date-fns/endOfQuarter.cjs +1 -0
  52. package/dist/node_modules/date-fns/endOfQuarter.js +9 -0
  53. package/dist/node_modules/date-fns/endOfWeek.cjs +1 -0
  54. package/dist/node_modules/date-fns/endOfWeek.js +11 -0
  55. package/dist/node_modules/date-fns/endOfYear.cjs +1 -0
  56. package/dist/node_modules/date-fns/endOfYear.js +9 -0
  57. package/dist/node_modules/date-fns/format.cjs +1 -0
  58. package/dist/node_modules/date-fns/format.js +59 -0
  59. package/dist/node_modules/date-fns/getDay.cjs +1 -0
  60. package/dist/node_modules/date-fns/getDay.js +8 -0
  61. package/dist/node_modules/date-fns/getDayOfYear.cjs +1 -0
  62. package/dist/node_modules/date-fns/getDayOfYear.js +11 -0
  63. package/dist/node_modules/date-fns/getDaysInMonth.cjs +1 -0
  64. package/dist/node_modules/date-fns/getDaysInMonth.js +10 -0
  65. package/dist/node_modules/date-fns/getDefaultOptions.cjs +1 -0
  66. package/dist/node_modules/date-fns/getDefaultOptions.js +8 -0
  67. package/dist/node_modules/date-fns/getHours.cjs +1 -0
  68. package/dist/node_modules/date-fns/getHours.js +8 -0
  69. package/dist/node_modules/date-fns/getISODay.cjs +1 -0
  70. package/dist/node_modules/date-fns/getISODay.js +9 -0
  71. package/dist/node_modules/date-fns/getISOWeek.cjs +1 -0
  72. package/dist/node_modules/date-fns/getISOWeek.js +12 -0
  73. package/dist/node_modules/date-fns/getISOWeekYear.cjs +1 -0
  74. package/dist/node_modules/date-fns/getISOWeekYear.js +15 -0
  75. package/dist/node_modules/date-fns/getMinutes.cjs +1 -0
  76. package/dist/node_modules/date-fns/getMinutes.js +8 -0
  77. package/dist/node_modules/date-fns/getMonth.cjs +1 -0
  78. package/dist/node_modules/date-fns/getMonth.js +8 -0
  79. package/dist/node_modules/date-fns/getQuarter.cjs +1 -0
  80. package/dist/node_modules/date-fns/getQuarter.js +9 -0
  81. package/dist/node_modules/date-fns/getSeconds.cjs +1 -0
  82. package/dist/node_modules/date-fns/getSeconds.js +8 -0
  83. package/dist/node_modules/date-fns/getWeek.cjs +1 -0
  84. package/dist/node_modules/date-fns/getWeek.js +12 -0
  85. package/dist/node_modules/date-fns/getWeekYear.cjs +1 -0
  86. package/dist/node_modules/date-fns/getWeekYear.js +17 -0
  87. package/dist/node_modules/date-fns/getYear.cjs +1 -0
  88. package/dist/node_modules/date-fns/getYear.js +8 -0
  89. package/dist/node_modules/date-fns/isAfter.cjs +1 -0
  90. package/dist/node_modules/date-fns/isAfter.js +9 -0
  91. package/dist/node_modules/date-fns/isBefore.cjs +1 -0
  92. package/dist/node_modules/date-fns/isBefore.js +9 -0
  93. package/dist/node_modules/date-fns/isDate.cjs +1 -0
  94. package/dist/node_modules/date-fns/isDate.js +7 -0
  95. package/dist/node_modules/date-fns/isEqual.cjs +1 -0
  96. package/dist/node_modules/date-fns/isEqual.js +9 -0
  97. package/dist/node_modules/date-fns/isSameQuarter.cjs +1 -0
  98. package/dist/node_modules/date-fns/isSameQuarter.js +9 -0
  99. package/dist/node_modules/date-fns/isValid.cjs +1 -0
  100. package/dist/node_modules/date-fns/isValid.js +12 -0
  101. package/dist/node_modules/date-fns/locale/_lib/buildFormatLongFn.cjs +1 -0
  102. package/dist/node_modules/date-fns/locale/_lib/buildFormatLongFn.js +9 -0
  103. package/dist/node_modules/date-fns/locale/_lib/buildLocalizeFn.cjs +1 -0
  104. package/dist/node_modules/date-fns/locale/_lib/buildLocalizeFn.js +18 -0
  105. package/dist/node_modules/date-fns/locale/_lib/buildMatchFn.cjs +1 -0
  106. package/dist/node_modules/date-fns/locale/_lib/buildMatchFn.js +31 -0
  107. package/dist/node_modules/date-fns/locale/_lib/buildMatchPatternFn.cjs +1 -0
  108. package/dist/node_modules/date-fns/locale/_lib/buildMatchPatternFn.js +15 -0
  109. package/dist/node_modules/date-fns/locale/en-US/_lib/formatDistance.cjs +1 -0
  110. package/dist/node_modules/date-fns/locale/en-US/_lib/formatDistance.js +70 -0
  111. package/dist/node_modules/date-fns/locale/en-US/_lib/formatLong.cjs +1 -0
  112. package/dist/node_modules/date-fns/locale/en-US/_lib/formatLong.js +33 -0
  113. package/dist/node_modules/date-fns/locale/en-US/_lib/formatRelative.cjs +1 -0
  114. package/dist/node_modules/date-fns/locale/en-US/_lib/formatRelative.js +11 -0
  115. package/dist/node_modules/date-fns/locale/en-US/_lib/localize.cjs +1 -0
  116. package/dist/node_modules/date-fns/locale/en-US/_lib/localize.js +155 -0
  117. package/dist/node_modules/date-fns/locale/en-US/_lib/match.cjs +1 -0
  118. package/dist/node_modules/date-fns/locale/en-US/_lib/match.js +110 -0
  119. package/dist/node_modules/date-fns/locale/en-US.cjs +1 -0
  120. package/dist/node_modules/date-fns/locale/en-US.js +21 -0
  121. package/dist/node_modules/date-fns/parse/_lib/Parser.cjs +1 -0
  122. package/dist/node_modules/date-fns/parse/_lib/Parser.js +22 -0
  123. package/dist/node_modules/date-fns/parse/_lib/Setter.cjs +1 -0
  124. package/dist/node_modules/date-fns/parse/_lib/Setter.js +40 -0
  125. package/dist/node_modules/date-fns/parse/_lib/constants.cjs +1 -0
  126. package/dist/node_modules/date-fns/parse/_lib/constants.js +49 -0
  127. package/dist/node_modules/date-fns/parse/_lib/parsers/AMPMMidnightParser.cjs +1 -0
  128. package/dist/node_modules/date-fns/parse/_lib/parsers/AMPMMidnightParser.js +49 -0
  129. package/dist/node_modules/date-fns/parse/_lib/parsers/AMPMParser.cjs +1 -0
  130. package/dist/node_modules/date-fns/parse/_lib/parsers/AMPMParser.js +49 -0
  131. package/dist/node_modules/date-fns/parse/_lib/parsers/DateParser.cjs +1 -0
  132. package/dist/node_modules/date-fns/parse/_lib/parsers/DateParser.js +61 -0
  133. package/dist/node_modules/date-fns/parse/_lib/parsers/DayOfYearParser.cjs +1 -0
  134. package/dist/node_modules/date-fns/parse/_lib/parsers/DayOfYearParser.js +51 -0
  135. package/dist/node_modules/date-fns/parse/_lib/parsers/DayParser.cjs +1 -0
  136. package/dist/node_modules/date-fns/parse/_lib/parsers/DayParser.js +45 -0
  137. package/dist/node_modules/date-fns/parse/_lib/parsers/DayPeriodParser.cjs +1 -0
  138. package/dist/node_modules/date-fns/parse/_lib/parsers/DayPeriodParser.js +49 -0
  139. package/dist/node_modules/date-fns/parse/_lib/parsers/EraParser.cjs +1 -0
  140. package/dist/node_modules/date-fns/parse/_lib/parsers/EraParser.js +30 -0
  141. package/dist/node_modules/date-fns/parse/_lib/parsers/ExtendedYearParser.cjs +1 -0
  142. package/dist/node_modules/date-fns/parse/_lib/parsers/ExtendedYearParser.js +21 -0
  143. package/dist/node_modules/date-fns/parse/_lib/parsers/FractionOfSecondParser.cjs +1 -0
  144. package/dist/node_modules/date-fns/parse/_lib/parsers/FractionOfSecondParser.js +22 -0
  145. package/dist/node_modules/date-fns/parse/_lib/parsers/Hour0To11Parser.cjs +1 -0
  146. package/dist/node_modules/date-fns/parse/_lib/parsers/Hour0To11Parser.js +32 -0
  147. package/dist/node_modules/date-fns/parse/_lib/parsers/Hour0to23Parser.cjs +1 -0
  148. package/dist/node_modules/date-fns/parse/_lib/parsers/Hour0to23Parser.js +32 -0
  149. package/dist/node_modules/date-fns/parse/_lib/parsers/Hour1To24Parser.cjs +1 -0
  150. package/dist/node_modules/date-fns/parse/_lib/parsers/Hour1To24Parser.js +33 -0
  151. package/dist/node_modules/date-fns/parse/_lib/parsers/Hour1to12Parser.cjs +1 -0
  152. package/dist/node_modules/date-fns/parse/_lib/parsers/Hour1to12Parser.js +33 -0
  153. package/dist/node_modules/date-fns/parse/_lib/parsers/ISODayParser.cjs +1 -0
  154. package/dist/node_modules/date-fns/parse/_lib/parsers/ISODayParser.js +99 -0
  155. package/dist/node_modules/date-fns/parse/_lib/parsers/ISOTimezoneParser.cjs +1 -0
  156. package/dist/node_modules/date-fns/parse/_lib/parsers/ISOTimezoneParser.js +48 -0
  157. package/dist/node_modules/date-fns/parse/_lib/parsers/ISOTimezoneWithZParser.cjs +1 -0
  158. package/dist/node_modules/date-fns/parse/_lib/parsers/ISOTimezoneWithZParser.js +48 -0
  159. package/dist/node_modules/date-fns/parse/_lib/parsers/ISOWeekParser.cjs +1 -0
  160. package/dist/node_modules/date-fns/parse/_lib/parsers/ISOWeekParser.js +49 -0
  161. package/dist/node_modules/date-fns/parse/_lib/parsers/ISOWeekYearParser.cjs +1 -0
  162. package/dist/node_modules/date-fns/parse/_lib/parsers/ISOWeekYearParser.js +40 -0
  163. package/dist/node_modules/date-fns/parse/_lib/parsers/LocalDayParser.cjs +1 -0
  164. package/dist/node_modules/date-fns/parse/_lib/parsers/LocalDayParser.js +74 -0
  165. package/dist/node_modules/date-fns/parse/_lib/parsers/LocalWeekParser.cjs +1 -0
  166. package/dist/node_modules/date-fns/parse/_lib/parsers/LocalWeekParser.js +48 -0
  167. package/dist/node_modules/date-fns/parse/_lib/parsers/LocalWeekYearParser.cjs +1 -0
  168. package/dist/node_modules/date-fns/parse/_lib/parsers/LocalWeekYearParser.js +69 -0
  169. package/dist/node_modules/date-fns/parse/_lib/parsers/MinuteParser.cjs +1 -0
  170. package/dist/node_modules/date-fns/parse/_lib/parsers/MinuteParser.js +32 -0
  171. package/dist/node_modules/date-fns/parse/_lib/parsers/MonthParser.cjs +1 -0
  172. package/dist/node_modules/date-fns/parse/_lib/parsers/MonthParser.js +71 -0
  173. package/dist/node_modules/date-fns/parse/_lib/parsers/QuarterParser.cjs +1 -0
  174. package/dist/node_modules/date-fns/parse/_lib/parsers/QuarterParser.js +70 -0
  175. package/dist/node_modules/date-fns/parse/_lib/parsers/SecondParser.cjs +1 -0
  176. package/dist/node_modules/date-fns/parse/_lib/parsers/SecondParser.js +32 -0
  177. package/dist/node_modules/date-fns/parse/_lib/parsers/StandAloneLocalDayParser.cjs +1 -0
  178. package/dist/node_modules/date-fns/parse/_lib/parsers/StandAloneLocalDayParser.js +74 -0
  179. package/dist/node_modules/date-fns/parse/_lib/parsers/StandAloneMonthParser.cjs +1 -0
  180. package/dist/node_modules/date-fns/parse/_lib/parsers/StandAloneMonthParser.js +71 -0
  181. package/dist/node_modules/date-fns/parse/_lib/parsers/StandAloneQuarterParser.cjs +1 -0
  182. package/dist/node_modules/date-fns/parse/_lib/parsers/StandAloneQuarterParser.js +70 -0
  183. package/dist/node_modules/date-fns/parse/_lib/parsers/TimestampMillisecondsParser.cjs +1 -0
  184. package/dist/node_modules/date-fns/parse/_lib/parsers/TimestampMillisecondsParser.js +22 -0
  185. package/dist/node_modules/date-fns/parse/_lib/parsers/TimestampSecondsParser.cjs +1 -0
  186. package/dist/node_modules/date-fns/parse/_lib/parsers/TimestampSecondsParser.js +22 -0
  187. package/dist/node_modules/date-fns/parse/_lib/parsers/YearParser.cjs +1 -0
  188. package/dist/node_modules/date-fns/parse/_lib/parsers/YearParser.js +49 -0
  189. package/dist/node_modules/date-fns/parse/_lib/parsers.cjs +1 -0
  190. package/dist/node_modules/date-fns/parse/_lib/parsers.js +67 -0
  191. package/dist/node_modules/date-fns/parse/_lib/utils.cjs +1 -0
  192. package/dist/node_modules/date-fns/parse/_lib/utils.js +103 -0
  193. package/dist/node_modules/date-fns/parse.cjs +1 -0
  194. package/dist/node_modules/date-fns/parse.js +90 -0
  195. package/dist/node_modules/date-fns/set.cjs +1 -0
  196. package/dist/node_modules/date-fns/set.js +11 -0
  197. package/dist/node_modules/date-fns/setDay.cjs +1 -0
  198. package/dist/node_modules/date-fns/setDay.js +12 -0
  199. package/dist/node_modules/date-fns/setHours.cjs +1 -0
  200. package/dist/node_modules/date-fns/setHours.js +9 -0
  201. package/dist/node_modules/date-fns/setISODay.cjs +1 -0
  202. package/dist/node_modules/date-fns/setISODay.js +11 -0
  203. package/dist/node_modules/date-fns/setISOWeek.cjs +1 -0
  204. package/dist/node_modules/date-fns/setISOWeek.js +10 -0
  205. package/dist/node_modules/date-fns/setMilliseconds.cjs +1 -0
  206. package/dist/node_modules/date-fns/setMilliseconds.js +9 -0
  207. package/dist/node_modules/date-fns/setMinutes.cjs +1 -0
  208. package/dist/node_modules/date-fns/setMinutes.js +9 -0
  209. package/dist/node_modules/date-fns/setMonth.cjs +1 -0
  210. package/dist/node_modules/date-fns/setMonth.js +13 -0
  211. package/dist/node_modules/date-fns/setSeconds.cjs +1 -0
  212. package/dist/node_modules/date-fns/setSeconds.js +9 -0
  213. package/dist/node_modules/date-fns/setWeek.cjs +1 -0
  214. package/dist/node_modules/date-fns/setWeek.js +10 -0
  215. package/dist/node_modules/date-fns/setYear.cjs +1 -0
  216. package/dist/node_modules/date-fns/setYear.js +10 -0
  217. package/dist/node_modules/date-fns/startOfDay.cjs +1 -0
  218. package/dist/node_modules/date-fns/startOfDay.js +9 -0
  219. package/dist/node_modules/date-fns/startOfISOWeek.cjs +1 -0
  220. package/dist/node_modules/date-fns/startOfISOWeek.js +8 -0
  221. package/dist/node_modules/date-fns/startOfISOWeekYear.cjs +1 -0
  222. package/dist/node_modules/date-fns/startOfISOWeekYear.js +11 -0
  223. package/dist/node_modules/date-fns/startOfMonth.cjs +1 -0
  224. package/dist/node_modules/date-fns/startOfMonth.js +9 -0
  225. package/dist/node_modules/date-fns/startOfQuarter.cjs +1 -0
  226. package/dist/node_modules/date-fns/startOfQuarter.js +9 -0
  227. package/dist/node_modules/date-fns/startOfWeek.cjs +1 -0
  228. package/dist/node_modules/date-fns/startOfWeek.js +11 -0
  229. package/dist/node_modules/date-fns/startOfWeekYear.cjs +1 -0
  230. package/dist/node_modules/date-fns/startOfWeekYear.js +13 -0
  231. package/dist/node_modules/date-fns/startOfYear.cjs +1 -0
  232. package/dist/node_modules/date-fns/startOfYear.js +10 -0
  233. package/dist/node_modules/date-fns/sub.cjs +1 -0
  234. package/dist/node_modules/date-fns/sub.js +19 -0
  235. package/dist/node_modules/date-fns/subDays.cjs +1 -0
  236. package/dist/node_modules/date-fns/subDays.js +8 -0
  237. package/dist/node_modules/date-fns/subMonths.cjs +1 -0
  238. package/dist/node_modules/date-fns/subMonths.js +8 -0
  239. package/dist/node_modules/date-fns/subYears.cjs +1 -0
  240. package/dist/node_modules/date-fns/subYears.js +8 -0
  241. package/dist/node_modules/date-fns/toDate.cjs +1 -0
  242. package/dist/node_modules/date-fns/toDate.js +8 -0
  243. package/dist/node_modules/date-fns/transpose.cjs +1 -0
  244. package/dist/node_modules/date-fns/transpose.js +18 -0
  245. package/dist/prometheus-framework/src/components/EditImages/EditImages.vue.cjs +1 -1
  246. package/dist/prometheus-framework/src/components/EditImages/EditImages.vue.js +16 -15
  247. package/dist/prometheus-framework/src/components/PhotoViewer/PhotoViewer.vue.cjs +1 -1
  248. package/dist/prometheus-framework/src/components/PhotoViewer/PhotoViewer.vue.js +13 -12
  249. package/dist/prometheus-framework/src/components/UploadImage/UploadImage.vue.cjs +1 -1
  250. package/dist/prometheus-framework/src/components/UploadImage/UploadImage.vue.js +12 -11
  251. package/dist/prometheus-framework/src/modules/auth/views/components/pages/SignIn.vue.cjs +1 -1
  252. package/dist/prometheus-framework/src/modules/auth/views/components/pages/SignIn.vue.js +6 -5
  253. package/dist/prometheus-framework/src/modules/backoffice/components/pages/Dashboard.vue.cjs +1 -1
  254. package/dist/prometheus-framework/src/modules/backoffice/components/pages/Dashboard.vue.js +1 -1
  255. package/dist/prometheus-framework/src/modules/backoffice/components/partials/Sidebar.vue.cjs +1 -1
  256. package/dist/prometheus-framework/src/modules/backoffice/components/partials/Sidebar.vue.js +1 -1
  257. package/dist/prometheus-framework/src/modules/community/components/blocks/CardBlogpost.vue.cjs +1 -1
  258. package/dist/prometheus-framework/src/modules/community/components/blocks/CardBlogpost.vue.js +11 -10
  259. package/dist/prometheus-framework/src/modules/community/components/layouts/Community.vue.cjs +1 -1
  260. package/dist/prometheus-framework/src/modules/community/components/layouts/Community.vue.js +1 -1
  261. package/dist/prometheus-framework/src/modules/community/components/pages/Community.vue.cjs +1 -1
  262. package/dist/prometheus-framework/src/modules/community/components/pages/Community.vue.js +1 -1
  263. package/dist/prometheus-framework/src/modules/community/components/pages/CreateBlogPost.vue.cjs +1 -1
  264. package/dist/prometheus-framework/src/modules/community/components/pages/CreateBlogPost.vue.js +1 -1
  265. package/dist/prometheus-framework/src/modules/constructor/components/elements/Image.vue.cjs +1 -1
  266. package/dist/prometheus-framework/src/modules/constructor/components/elements/Image.vue.js +11 -9
  267. package/dist/prometheus-framework/src/modules/constructor/components/elements/ImageUpload.vue.cjs +1 -1
  268. package/dist/prometheus-framework/src/modules/constructor/components/elements/ImageUpload.vue.js +8 -7
  269. package/dist/prometheus-framework/src/modules/events/components/blocks/CardEvent.vue.cjs +1 -1
  270. package/dist/prometheus-framework/src/modules/events/components/blocks/CardEvent.vue.js +6 -4
  271. package/dist/prometheus-framework/src/modules/events/components/elements/ButtonCheck.vue.cjs +1 -1
  272. package/dist/prometheus-framework/src/modules/events/components/elements/ButtonCheck.vue.js +1 -1
  273. package/dist/prometheus-framework/src/modules/events/components/pages/EditEvent.vue.cjs +1 -1
  274. package/dist/prometheus-framework/src/modules/events/components/pages/EditEvent.vue.js +7 -6
  275. package/dist/prometheus-framework/src/modules/events/components/pages/EditEventTickets.vue.cjs +1 -1
  276. package/dist/prometheus-framework/src/modules/events/components/pages/EditEventTickets.vue.js +16 -15
  277. package/dist/prometheus-framework/src/modules/events/components/sections/HeroEvent.vue.cjs +1 -1
  278. package/dist/prometheus-framework/src/modules/events/components/sections/HeroEvent.vue.js +11 -8
  279. package/dist/prometheus-framework/src/modules/events/components/sections/SectionPreviousEvents.vue.cjs +1 -1
  280. package/dist/prometheus-framework/src/modules/events/components/sections/SectionPreviousEvents.vue.js +7 -6
  281. package/dist/prometheus-framework/src/modules/events/components/sections/SectionSpecialGuests.vue.cjs +1 -1
  282. package/dist/prometheus-framework/src/modules/events/components/sections/SectionSpecialGuests.vue.js +9 -8
  283. package/dist/prometheus-framework/src/modules/gallery/components/pages/Gallery.vue.cjs +1 -1
  284. package/dist/prometheus-framework/src/modules/gallery/components/pages/Gallery.vue.js +5 -4
  285. package/dist/prometheus-framework/src/modules/gallery/components/sections/BackofficeGallery.vue.cjs +1 -1
  286. package/dist/prometheus-framework/src/modules/gallery/components/sections/BackofficeGallery.vue.js +27 -25
  287. package/dist/prometheus-framework/src/modules/globals/views/components/blocks/CardHeader.vue.cjs +1 -1
  288. package/dist/prometheus-framework/src/modules/globals/views/components/blocks/CardHeader.vue.js +22 -20
  289. package/dist/prometheus-framework/src/modules/globals/views/components/layouts/App.vue.cjs +1 -1
  290. package/dist/prometheus-framework/src/modules/globals/views/components/layouts/App.vue.js +87 -93
  291. package/dist/prometheus-framework/src/modules/globals/views/components/layouts/Client.vue.cjs +1 -1
  292. package/dist/prometheus-framework/src/modules/globals/views/components/layouts/Client.vue.js +142 -73
  293. package/dist/prometheus-framework/src/modules/globals/views/components/partials/Header.vue.cjs +1 -1
  294. package/dist/prometheus-framework/src/modules/globals/views/components/partials/Header.vue.js +1 -1
  295. package/dist/prometheus-framework/src/modules/globals/views/components/partials/NavigationBar.vue.cjs +1 -0
  296. package/dist/prometheus-framework/src/modules/globals/views/components/partials/NavigationBar.vue.js +110 -0
  297. package/dist/prometheus-framework/src/modules/landing/components/sections/MobileApp.vue.cjs +1 -1
  298. package/dist/prometheus-framework/src/modules/landing/components/sections/MobileApp.vue.js +8 -7
  299. package/dist/prometheus-framework/src/modules/legal/components/pages/Legal.vue.cjs +1 -1
  300. package/dist/prometheus-framework/src/modules/legal/components/pages/Legal.vue.js +1 -1
  301. package/dist/prometheus-framework/src/modules/orders/components/blocks/CardOrder.vue.cjs +1 -1
  302. package/dist/prometheus-framework/src/modules/orders/components/blocks/CardOrder.vue.js +2 -2
  303. package/dist/prometheus-framework/src/modules/orders/components/blocks/CardOrderItem.vue.cjs +1 -1
  304. package/dist/prometheus-framework/src/modules/orders/components/blocks/CardOrderItem.vue.js +19 -18
  305. package/dist/prometheus-framework/src/modules/orders/components/pages/OrderBackoffice.vue.cjs +1 -1
  306. package/dist/prometheus-framework/src/modules/orders/components/pages/OrderBackoffice.vue.js +124 -132
  307. package/dist/prometheus-framework/src/modules/orders/components/pages/OrderCreateBackoffice.vue.cjs +1 -1
  308. package/dist/prometheus-framework/src/modules/orders/components/pages/OrderCreateBackoffice.vue.js +2 -2
  309. package/dist/prometheus-framework/src/modules/orders/components/pages/Orders.vue.cjs +1 -1
  310. package/dist/prometheus-framework/src/modules/orders/components/pages/Orders.vue.js +2 -4
  311. package/dist/prometheus-framework/src/modules/orders/components/sections/FormAddCustomer.vue.cjs +1 -1
  312. package/dist/prometheus-framework/src/modules/orders/components/sections/FormAddCustomer.vue.js +1 -1
  313. package/dist/prometheus-framework/src/modules/orders/components/sections/FormCustomerDetails.vue.cjs +1 -1
  314. package/dist/prometheus-framework/src/modules/orders/components/sections/FormCustomerDetails.vue.js +1 -1
  315. package/dist/prometheus-framework/src/modules/orders/components/sections/FormPayment.vue.cjs +1 -1
  316. package/dist/prometheus-framework/src/modules/orders/components/sections/FormPayment.vue.js +1 -1
  317. package/dist/prometheus-framework/src/modules/organizations/components/blocks/CardOrganization.vue.cjs +1 -1
  318. package/dist/prometheus-framework/src/modules/organizations/components/blocks/CardOrganization.vue.js +2 -1
  319. package/dist/prometheus-framework/src/modules/organizations/components/blocks/DepartmentSub.vue.cjs +1 -1
  320. package/dist/prometheus-framework/src/modules/organizations/components/blocks/DepartmentSub.vue.js +5 -5
  321. package/dist/prometheus-framework/src/modules/organizations/components/pages/DepartmentEdit.vue.cjs +1 -1
  322. package/dist/prometheus-framework/src/modules/organizations/components/pages/DepartmentEdit.vue.js +2 -2
  323. package/dist/prometheus-framework/src/modules/organizations/components/pages/Members.vue.cjs +1 -1
  324. package/dist/prometheus-framework/src/modules/organizations/components/pages/Members.vue.js +2 -2
  325. package/dist/prometheus-framework/src/modules/organizations/components/pages/Organization.vue.cjs +1 -1
  326. package/dist/prometheus-framework/src/modules/organizations/components/pages/Organization.vue.js +76 -70
  327. package/dist/prometheus-framework/src/modules/organizations/components/pages/OrganizationBackoffice.vue.cjs +1 -1
  328. package/dist/prometheus-framework/src/modules/organizations/components/pages/OrganizationBackoffice.vue.js +1 -1
  329. package/dist/prometheus-framework/src/modules/organizations/components/pages/OrganizationEdit.vue.cjs +1 -1
  330. package/dist/prometheus-framework/src/modules/organizations/components/pages/OrganizationEdit.vue.js +2 -2
  331. package/dist/prometheus-framework/src/modules/organizations/components/sections/DetailsTab.vue.cjs +1 -1
  332. package/dist/prometheus-framework/src/modules/organizations/components/sections/DetailsTab.vue.js +2 -1
  333. package/dist/prometheus-framework/src/modules/organizations/components/sections/Documents.vue.cjs +1 -1
  334. package/dist/prometheus-framework/src/modules/organizations/components/sections/Documents.vue.js +1 -1
  335. package/dist/prometheus-framework/src/modules/organizations/components/sections/MembersAdd.vue.cjs +1 -1
  336. package/dist/prometheus-framework/src/modules/organizations/components/sections/MembersAdd.vue.js +1 -1
  337. package/dist/prometheus-framework/src/modules/organizations/components/sections/Organizations.vue.cjs +1 -1
  338. package/dist/prometheus-framework/src/modules/organizations/components/sections/Organizations.vue.js +3 -3
  339. package/dist/prometheus-framework/src/modules/pages/views/components/partials/SidebarPages.vue.cjs +1 -1
  340. package/dist/prometheus-framework/src/modules/pages/views/components/partials/SidebarPages.vue.js +1 -1
  341. package/dist/prometheus-framework/src/modules/products/components/blocks/CardLeftover.vue.cjs +1 -1
  342. package/dist/prometheus-framework/src/modules/products/components/blocks/CardLeftover.vue.js +9 -9
  343. package/dist/prometheus-framework/src/modules/products/components/blocks/CardPosition.vue.cjs +1 -1
  344. package/dist/prometheus-framework/src/modules/products/components/blocks/CardPosition.vue.js +1 -1
  345. package/dist/prometheus-framework/src/modules/products/components/blocks/CardProduct.vue.cjs +1 -1
  346. package/dist/prometheus-framework/src/modules/products/components/blocks/CardProduct.vue.js +1 -0
  347. package/dist/prometheus-framework/src/modules/products/components/blocks/Images360.vue.cjs +1 -1
  348. package/dist/prometheus-framework/src/modules/products/components/blocks/Images360.vue.js +28 -27
  349. package/dist/prometheus-framework/src/modules/products/components/blocks/ImagesThumbnails.vue.cjs +1 -1
  350. package/dist/prometheus-framework/src/modules/products/components/blocks/ImagesThumbnails.vue.js +14 -13
  351. package/dist/prometheus-framework/src/modules/products/components/pages/CategoryEdit.vue.cjs +1 -1
  352. package/dist/prometheus-framework/src/modules/products/components/pages/CategoryEdit.vue.js +1 -1
  353. package/dist/prometheus-framework/src/modules/products/components/pages/EditLeftover.vue.cjs +1 -1
  354. package/dist/prometheus-framework/src/modules/products/components/pages/EditLeftover.vue.js +2 -2
  355. package/dist/prometheus-framework/src/modules/products/components/pages/ProductEdit.vue.cjs +1 -1
  356. package/dist/prometheus-framework/src/modules/products/components/pages/ProductEdit.vue.js +1 -1
  357. package/dist/prometheus-framework/src/modules/products/components/sections/EditProductInfo.vue.cjs +1 -1
  358. package/dist/prometheus-framework/src/modules/products/components/sections/EditProductInfo.vue.js +1 -1
  359. package/dist/prometheus-framework/src/modules/products/components/sections/HeroRecommendation.vue.cjs +1 -1
  360. package/dist/prometheus-framework/src/modules/products/components/sections/HeroRecommendation.vue.js +3 -2
  361. package/dist/prometheus-framework/src/modules/products/components/sections/SectionProduct.vue.cjs +1 -1
  362. package/dist/prometheus-framework/src/modules/products/components/sections/SectionProduct.vue.js +1 -0
  363. package/dist/prometheus-framework/src/modules/reports/components/sections/FormReport.vue.cjs +1 -1
  364. package/dist/prometheus-framework/src/modules/reports/components/sections/FormReport.vue.js +2 -2
  365. package/dist/prometheus-framework/src/modules/spots/components/blocks/CardSpot.vue.cjs +1 -1
  366. package/dist/prometheus-framework/src/modules/spots/components/blocks/CardSpot.vue.js +1 -1
  367. package/dist/prometheus-framework/src/modules/spots/components/blocks/SpotMemberModify.vue.cjs +1 -1
  368. package/dist/prometheus-framework/src/modules/spots/components/blocks/SpotMemberModify.vue.js +1 -1
  369. package/dist/prometheus-framework/src/modules/spots/components/blocks/SpotSub.vue.cjs +1 -1
  370. package/dist/prometheus-framework/src/modules/spots/components/blocks/SpotSub.vue.js +1 -1
  371. package/dist/prometheus-framework/src/modules/spots/components/pages/SpotEdit.vue.cjs +1 -1
  372. package/dist/prometheus-framework/src/modules/spots/components/pages/SpotEdit.vue.js +2 -2
  373. package/dist/prometheus-framework/src/modules/users/components/blocks/CardUser.vue.cjs +1 -1
  374. package/dist/prometheus-framework/src/modules/users/components/blocks/CardUser.vue.js +3 -2
  375. package/dist/prometheus-framework/src/modules/users/components/pages/Profile.vue.cjs +1 -1
  376. package/dist/prometheus-framework/src/modules/users/components/pages/Profile.vue.js +8 -7
  377. package/dist/prometheus-framework/src/modules/wallet/views/components/blocks/CryptoDeposit.vue.cjs +1 -1
  378. package/dist/prometheus-framework/src/modules/wallet/views/components/blocks/CryptoDeposit.vue.js +1 -1
  379. package/dist/prometheus-framework/src/modules/wallet/views/components/elements/ConnectMetamask.vue.cjs +1 -1
  380. package/dist/prometheus-framework/src/modules/wallet/views/components/elements/ConnectMetamask.vue.js +12 -9
  381. package/dist/prometheus-framework/src/modules/wallet/views/components/pages/Wallet.vue.cjs +1 -1
  382. package/dist/prometheus-framework/src/modules/wallet/views/components/pages/Wallet.vue.js +3 -3
  383. package/dist/prometheus-framework.cjs.js +22 -22
  384. package/dist/prometheus-framework.es.js +3228 -3201
  385. package/dist/style.css +1 -1
  386. package/dist/tickets.controller-CB549rZT.mjs +402 -0
  387. package/dist/tickets.controller-yqXXLR62.js +401 -0
  388. package/dist/wallet.server.js +1 -1
  389. package/dist/wallet.server.mjs +1 -1
  390. package/package.json +1 -2
  391. package/src/builder/webpack/webpack.config.base.js +2 -2
  392. package/src/builder/webpack/webpack.config.client.js +1 -1
  393. package/src/builder/webpack/webpack.config.spa.js +0 -6
  394. package/src/components/AskToLogin/AskToLogin.vue +1 -1
  395. package/src/components/EditImages/EditImages.vue +1 -1
  396. package/src/components/Error/Error.vue +1 -1
  397. package/src/components/PhotoViewer/PhotoViewer.vue +1 -1
  398. package/src/components/UploadImage/UploadImage.vue +1 -1
  399. package/src/modules/auth/views/components/pages/EnterCode.vue +1 -1
  400. package/src/modules/auth/views/components/pages/EnterPassword.vue +1 -1
  401. package/src/modules/auth/views/components/pages/ResetPassword.vue +1 -1
  402. package/src/modules/auth/views/components/pages/SignIn.vue +1 -1
  403. package/src/modules/auth/views/components/pages/SignUp.vue +1 -1
  404. package/src/modules/backoffice/components/admin/FastOrders.vue +1 -1
  405. package/src/modules/chats/components/blocks/ChatMessage.vue +1 -1
  406. package/src/modules/community/components/blocks/CardBlogpost.vue +1 -1
  407. package/src/modules/constructor/components/elements/Image.vue +2 -2
  408. package/src/modules/constructor/components/elements/ImageUpload.vue +1 -1
  409. package/src/modules/events/components/blocks/CardEvent.vue +2 -2
  410. package/src/modules/events/components/pages/EditEvent.vue +12 -1
  411. package/src/modules/events/components/pages/EditEventTickets.vue +1 -1
  412. package/src/modules/events/components/pages/Event.vue +1 -1
  413. package/src/modules/events/components/sections/HeroEvent.vue +4 -4
  414. package/src/modules/events/components/sections/SectionPreviousEvents.vue +1 -1
  415. package/src/modules/events/components/sections/SectionSpecialGuests.vue +1 -1
  416. package/src/modules/events/controllers/utils/templateEmail.js +1 -1
  417. package/src/modules/events/controllers/utils/templateTicket.js +1 -1
  418. package/src/modules/gallery/components/pages/Gallery.vue +1 -1
  419. package/src/modules/gallery/components/sections/BackofficeGallery.vue +2 -2
  420. package/src/modules/globals/views/components/blocks/CardHeader.vue +2 -2
  421. package/src/modules/globals/views/components/layouts/App.vue +15 -39
  422. package/src/modules/globals/views/components/layouts/Client.vue +89 -45
  423. package/src/modules/globals/views/components/partials/Footer.vue +7 -7
  424. package/src/modules/globals/views/components/partials/NavigationBar.vue +39 -16
  425. package/src/modules/globals/views/components/sections/Walkthrough.vue +2 -2
  426. package/src/modules/landing/components/sections/Examples.vue +1 -1
  427. package/src/modules/landing/components/sections/HowItWorksSection.vue +3 -3
  428. package/src/modules/landing/components/sections/HowToBuyWDR.vue +1 -1
  429. package/src/modules/landing/components/sections/InstagramSection.vue +2 -2
  430. package/src/modules/landing/components/sections/MobileApp.vue +1 -1
  431. package/src/modules/landing/components/sections/SectionEarn.vue +2 -2
  432. package/src/modules/landing/components/sections/SectionFeature.vue +1 -1
  433. package/src/modules/landing/components/sections/SectionFeaturesImages.vue +1 -1
  434. package/src/modules/landing/components/sections/SectionHeroToken.vue +1 -1
  435. package/src/modules/landing/components/sections/SectionsSection.vue +4 -4
  436. package/src/modules/landing/components/sections/WhatIsWDRSection.vue +3 -3
  437. package/src/modules/landing/router/landing.js +1 -1
  438. package/src/modules/orders/components/blocks/CardOrder.vue +7 -7
  439. package/src/modules/orders/components/blocks/CardOrderItem.vue +1 -1
  440. package/src/modules/orders/components/blocks/CardOrderVar1.vue +1 -1
  441. package/src/modules/orders/components/pages/OrderBackoffice.vue +3 -4
  442. package/src/modules/orders/components/pages/Orders.vue +0 -3
  443. package/src/modules/orders/components/pages/Orders_refact.vue +7 -7
  444. package/src/modules/orders/components/sections/AskToLogin.vue +1 -1
  445. package/src/modules/organizations/components/blocks/CardOrganization.vue +2 -2
  446. package/src/modules/organizations/components/blocks/Contacts.vue +4 -4
  447. package/src/modules/organizations/components/blocks/DepartmentSub.vue +1 -1
  448. package/src/modules/organizations/components/pages/Organization.vue +3 -3
  449. package/src/modules/organizations/components/sections/DetailsTab.vue +1 -1
  450. package/src/modules/products/components/blocks/CardLeftover.vue +1 -1
  451. package/src/modules/products/components/blocks/CardProduct.vue +1 -1
  452. package/src/modules/products/components/blocks/EditFilters.vue +1 -1
  453. package/src/modules/products/components/blocks/Images360.vue +1 -1
  454. package/src/modules/products/components/blocks/ImagesThumbnails.vue +1 -1
  455. package/src/modules/products/components/sections/HeroRecommendation.vue +1 -1
  456. package/src/modules/products/components/sections/MenuSection.vue +1 -1
  457. package/src/modules/products/components/sections/ProductInformationSection.vue +5 -5
  458. package/src/modules/products/components/sections/SectionProduct.vue +1 -1
  459. package/src/modules/spots/components/blocks/SpotSub.vue +1 -1
  460. package/src/modules/users/components/blocks/CardUser.vue +1 -1
  461. package/src/modules/users/components/pages/Profile.vue +1 -1
  462. package/src/modules/wallet/views/components/elements/ConnectMetamask.vue +3 -3
  463. package/src/modules/wallet/views/components/pages/Wallet.vue +4 -4
@@ -0,0 +1,110 @@
1
+ import { openBlock as e, createElementBlock as a, createVNode as r, Transition as m, withCtx as n, unref as o, createBlock as c, createCommentVNode as k, resolveDynamicComponent as y, toDisplayString as w, createElementVNode as b } from "vue";
2
+ import { useRouter as C, useRoute as v } from "vue-router";
3
+ import { useI18n as x } from "vue-i18n";
4
+ import L from "../../../../icons/entities/IconShopcart.vue.js";
5
+ import B from "../../../../icons/entities/IconProfile.vue.js";
6
+ import I from "../../../../../components/Button/Button.vue2.js";
7
+ import "../../store/globals.js";
8
+ import { actions as N, getters as S } from "../../../../orders/store/shopcart.js";
9
+ import { state as p } from "../../../../auth/views/store/auth.js";
10
+ /* empty css */
11
+ const $ = { class: "pos-sticky w-100 z-index-4 br-b br-solid br-black-transp flex-center flex t-center pd-medium bg-white" }, T = /* @__PURE__ */ b("path", {
12
+ fill: "rgb(var(--main))",
13
+ d: "M9.70312 20.7969C10.125 21.2188 10.8281 21.2188 11.2969 20.7969C11.7188 20.375 11.7188 19.6719 11.2969 19.2031L3.42188 11L11.2969 2.79688C11.7188 2.32813 11.7188 1.625 11.2969 1.20313C10.8281 0.734377 10.125 0.781252 9.70312 1.20313L1.07812 10.2031C0.84375 10.4375 0.75 10.7188 0.75 11C0.75 11.2813 0.84375 11.5625 1.07812 11.7969L9.70312 20.7969Z"
14
+ }, null, -1), V = [
15
+ T
16
+ ], z = {
17
+ key: 1,
18
+ class: "t-semi h-2r h4 d-block"
19
+ }, F = {
20
+ __name: "NavigationBar",
21
+ props: {
22
+ theme: {
23
+ type: String,
24
+ default: "light"
25
+ },
26
+ logotype: {
27
+ type: Object
28
+ }
29
+ },
30
+ setup(d) {
31
+ const u = d, s = C(), t = v(), { t: A, mergeLocaleMessage: D, locale: h } = x();
32
+ function _() {
33
+ var l;
34
+ (l = t.query) != null && l.afterAuth ? s.push({ name: "Home" }) : s.back();
35
+ }
36
+ function g() {
37
+ p.access.status === !1 ? s.push({ name: "Sign In" }) : s.push({ name: "User Profile", params: { _id: p.user._id } });
38
+ }
39
+ return (l, i) => (e(), a("header", $, [
40
+ r(m, {
41
+ name: "slideIn",
42
+ mode: "out-in"
43
+ }, {
44
+ default: n(() => [
45
+ o(t).meta.title_hide ? (e(), c(I, {
46
+ key: 0,
47
+ submit: (f) => N.toggleShopcart(),
48
+ counter: S.cartTotalAmount,
49
+ showSucces: !1,
50
+ showLoader: !1,
51
+ class: "header-shopcart pd-zero mn-l-auto"
52
+ }, {
53
+ default: n(() => [
54
+ r(L, {
55
+ class: "i-semi",
56
+ fill: "#00ff88"
57
+ })
58
+ ]),
59
+ _: 1
60
+ }, 8, ["submit", "counter"])) : k("", !0)
61
+ ]),
62
+ _: 1
63
+ }),
64
+ r(m, {
65
+ name: "slideIn",
66
+ mode: "out-in"
67
+ }, {
68
+ default: n(() => [
69
+ o(t).meta.title_hide ? (e(), c(B, {
70
+ key: 0,
71
+ onClick: i[0] || (i[0] = (f) => g()),
72
+ class: "header-profile i-semi",
73
+ fill: "#00ff88"
74
+ })) : (e(), a("svg", {
75
+ key: 1,
76
+ onClick: i[1] || (i[1] = (f) => _()),
77
+ class: "i-semi header-arrow",
78
+ width: "12",
79
+ height: "22",
80
+ viewBox: "0 0 12 22",
81
+ fill: "none",
82
+ xmlns: "http://www.w3.org/2000/svg"
83
+ }, V))
84
+ ]),
85
+ _: 1
86
+ }),
87
+ r(m, {
88
+ name: "slideIn",
89
+ mode: "out-in"
90
+ }, {
91
+ default: n(() => [
92
+ (e(), a("div", {
93
+ key: o(t).meta.title_hide,
94
+ class: "header-title"
95
+ }, [
96
+ u.logotype && o(t).meta.title_hide ? (e(), c(y(u.logotype), {
97
+ key: 0,
98
+ theme: d.theme,
99
+ class: "h-2r w-auto cursor-pointer"
100
+ }, null, 8, ["theme"])) : (e(), a("p", z, w(o(t).meta.title[o(h).toLowerCase()]), 1))
101
+ ]))
102
+ ]),
103
+ _: 1
104
+ })
105
+ ]));
106
+ }
107
+ };
108
+ export {
109
+ F as default
110
+ };
@@ -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");;/* empty css */;/* empty css */;/* empty css */const a=require("../../../../components/Menu/Menu.vue.cjs"),r=require("../../../../components/Menu/MenuItem.vue.cjs"),n=require("vue-router");require("../../../auth/views/store/auth.cjs");require("./Legal.vue2.cjs");const u={class:"for-transition w-100 pd-medium"},l=e.createStaticVNode('<div class="bg-light radius-medium pd-medium mn-b-small"><h2 class="mn-b-small">About No More Snow CO., LTD.</h2><p class="mn-b-small"> Welcome to NO MORE SNOW CO., LTD.! We are dedicated to providing top-notch services and creating a trustworthy environment for our users. Your trust and safety are our priority, and we are committed to being transparent about our policies and practices. </p><p class="mn-b-small"> If you have any questions, concerns, or feedback, please do not hesitate to contact us through the following details. Our team is always here to assist you! </p><p class="mn-b-small"> Address: 10/3 Laemsai Rd, Karon, Mueang Phuket District, Phuket 83100<br> Telephone: +660803202142<br> Email: <a href="mailto:hello@thecommunephuket.com">hello@thecommunephuket.com</a><br> Website: <a href="https://thecommunephuket.com" target="_blank">https://thecommunephuket.com</a></p></div>',1),i=e.createElementVNode("span",null,"Terms of Use",-1),c=e.createElementVNode("span",null,"Privacy Policy",-1),d=e.createElementVNode("span",null,"Cookie Policy",-1),m=e.createElementVNode("span",null,"EULA",-1),p={__name:"Legal",setup(h){n.useRoute();const o=n.useRouter();return e.ref(!1),(f,t)=>(e.openBlock(),e.createElementBlock("div",u,[l,e.createVNode(a.default,{class:"bg-light"},{default:e.withCtx(()=>[e.createVNode(r.default,{onClick:t[0]||(t[0]=s=>e.unref(o).push({name:"Terms of Use"})),class:"cursor-pointer"},{default:e.withCtx(()=>[i]),_:1}),e.createVNode(r.default,{onClick:t[1]||(t[1]=s=>e.unref(o).push({name:"Privacy Policy"})),class:"cursor-pointer"},{default:e.withCtx(()=>[c]),_:1}),e.createVNode(r.default,{onClick:t[2]||(t[2]=s=>e.unref(o).push({name:"Cookie Policy"})),class:"cursor-pointer"},{default:e.withCtx(()=>[d]),_:1}),e.createVNode(r.default,{onClick:t[3]||(t[3]=s=>e.unref(o).push({name:"EULA"})),class:"cursor-pointer"},{default:e.withCtx(()=>[m]),_:1})]),_:1})]))}};exports.default=p;
1
+ "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vue");;/* empty css */;/* empty css */;/* empty css */const a=require("../../../../components/Menu/Menu.vue2.cjs"),r=require("../../../../components/Menu/MenuItem.vue.cjs"),n=require("vue-router");require("../../../auth/views/store/auth.cjs");require("./Legal.vue2.cjs");const u={class:"for-transition w-100 pd-medium"},l=e.createStaticVNode('<div class="bg-light radius-medium pd-medium mn-b-small"><h2 class="mn-b-small">About No More Snow CO., LTD.</h2><p class="mn-b-small"> Welcome to NO MORE SNOW CO., LTD.! We are dedicated to providing top-notch services and creating a trustworthy environment for our users. Your trust and safety are our priority, and we are committed to being transparent about our policies and practices. </p><p class="mn-b-small"> If you have any questions, concerns, or feedback, please do not hesitate to contact us through the following details. Our team is always here to assist you! </p><p class="mn-b-small"> Address: 10/3 Laemsai Rd, Karon, Mueang Phuket District, Phuket 83100<br> Telephone: +660803202142<br> Email: <a href="mailto:hello@thecommunephuket.com">hello@thecommunephuket.com</a><br> Website: <a href="https://thecommunephuket.com" target="_blank">https://thecommunephuket.com</a></p></div>',1),i=e.createElementVNode("span",null,"Terms of Use",-1),c=e.createElementVNode("span",null,"Privacy Policy",-1),d=e.createElementVNode("span",null,"Cookie Policy",-1),m=e.createElementVNode("span",null,"EULA",-1),p={__name:"Legal",setup(h){n.useRoute();const o=n.useRouter();return e.ref(!1),(f,t)=>(e.openBlock(),e.createElementBlock("div",u,[l,e.createVNode(a.default,{class:"bg-light"},{default:e.withCtx(()=>[e.createVNode(r.default,{onClick:t[0]||(t[0]=s=>e.unref(o).push({name:"Terms of Use"})),class:"cursor-pointer"},{default:e.withCtx(()=>[i]),_:1}),e.createVNode(r.default,{onClick:t[1]||(t[1]=s=>e.unref(o).push({name:"Privacy Policy"})),class:"cursor-pointer"},{default:e.withCtx(()=>[c]),_:1}),e.createVNode(r.default,{onClick:t[2]||(t[2]=s=>e.unref(o).push({name:"Cookie Policy"})),class:"cursor-pointer"},{default:e.withCtx(()=>[d]),_:1}),e.createVNode(r.default,{onClick:t[3]||(t[3]=s=>e.unref(o).push({name:"EULA"})),class:"cursor-pointer"},{default:e.withCtx(()=>[m]),_:1})]),_:1})]))}};exports.default=p;
@@ -2,7 +2,7 @@ import { ref as l, openBlock as m, createElementBlock as u, createVNode as t, wi
2
2
  /* empty css */
3
3
  /* empty css */
4
4
  /* empty css */
5
- import p from "../../../../components/Menu/Menu.vue.js";
5
+ import p from "../../../../components/Menu/Menu.vue2.js";
6
6
  import n from "../../../../components/Menu/MenuItem.vue.js";
7
7
  import { useRoute as d, useRouter as h } from "vue-router";
8
8
  import "../../../auth/views/store/auth.js";
@@ -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.vue.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;