@ozdao/prometheus-framework 0.2.198 → 0.2.199

Sign up to get free protection for your applications and to get access to all the features.
Files changed (463) hide show
  1. package/dist/builder.js +3 -10
  2. package/dist/builder.mjs +3 -10
  3. package/dist/events.server.js +1 -1
  4. package/dist/events.server.mjs +1 -1
  5. package/dist/node_modules/@vuepic/vue-datepicker/dist/vue-datepicker.cjs +1 -0
  6. package/dist/node_modules/@vuepic/vue-datepicker/dist/vue-datepicker.js +5042 -0
  7. package/dist/node_modules/date-fns/_lib/addLeadingZeros.cjs +1 -0
  8. package/dist/node_modules/date-fns/_lib/addLeadingZeros.js +7 -0
  9. package/dist/node_modules/date-fns/_lib/defaultOptions.cjs +1 -0
  10. package/dist/node_modules/date-fns/_lib/defaultOptions.js +7 -0
  11. package/dist/node_modules/date-fns/_lib/format/formatters.cjs +1 -0
  12. package/dist/node_modules/date-fns/_lib/format/formatters.js +518 -0
  13. package/dist/node_modules/date-fns/_lib/format/lightFormatters.cjs +1 -0
  14. package/dist/node_modules/date-fns/_lib/format/lightFormatters.js +59 -0
  15. package/dist/node_modules/date-fns/_lib/format/longFormatters.cjs +1 -0
  16. package/dist/node_modules/date-fns/_lib/format/longFormatters.js +52 -0
  17. package/dist/node_modules/date-fns/_lib/getTimezoneOffsetInMilliseconds.cjs +1 -0
  18. package/dist/node_modules/date-fns/_lib/getTimezoneOffsetInMilliseconds.js +18 -0
  19. package/dist/node_modules/date-fns/_lib/protectedTokens.cjs +1 -0
  20. package/dist/node_modules/date-fns/_lib/protectedTokens.js +20 -0
  21. package/dist/node_modules/date-fns/add.cjs +1 -0
  22. package/dist/node_modules/date-fns/add.js +20 -0
  23. package/dist/node_modules/date-fns/addDays.cjs +1 -0
  24. package/dist/node_modules/date-fns/addDays.js +10 -0
  25. package/dist/node_modules/date-fns/addHours.cjs +1 -0
  26. package/dist/node_modules/date-fns/addHours.js +9 -0
  27. package/dist/node_modules/date-fns/addMilliseconds.cjs +1 -0
  28. package/dist/node_modules/date-fns/addMilliseconds.js +10 -0
  29. package/dist/node_modules/date-fns/addMonths.cjs +1 -0
  30. package/dist/node_modules/date-fns/addMonths.js +20 -0
  31. package/dist/node_modules/date-fns/addQuarters.cjs +1 -0
  32. package/dist/node_modules/date-fns/addQuarters.js +9 -0
  33. package/dist/node_modules/date-fns/addYears.cjs +1 -0
  34. package/dist/node_modules/date-fns/addYears.js +8 -0
  35. package/dist/node_modules/date-fns/compareAsc.cjs +1 -0
  36. package/dist/node_modules/date-fns/compareAsc.js +9 -0
  37. package/dist/node_modules/date-fns/constants.cjs +1 -0
  38. package/dist/node_modules/date-fns/constants.js +8 -0
  39. package/dist/node_modules/date-fns/constructFrom.cjs +1 -0
  40. package/dist/node_modules/date-fns/constructFrom.js +7 -0
  41. package/dist/node_modules/date-fns/differenceInCalendarDays.cjs +1 -0
  42. package/dist/node_modules/date-fns/differenceInCalendarDays.js +11 -0
  43. package/dist/node_modules/date-fns/differenceInCalendarYears.cjs +1 -0
  44. package/dist/node_modules/date-fns/differenceInCalendarYears.js +9 -0
  45. package/dist/node_modules/date-fns/differenceInYears.cjs +1 -0
  46. package/dist/node_modules/date-fns/differenceInYears.js +13 -0
  47. package/dist/node_modules/date-fns/eachDayOfInterval.cjs +1 -0
  48. package/dist/node_modules/date-fns/eachDayOfInterval.js +16 -0
  49. package/dist/node_modules/date-fns/eachQuarterOfInterval.cjs +1 -0
  50. package/dist/node_modules/date-fns/eachQuarterOfInterval.js +17 -0
  51. package/dist/node_modules/date-fns/endOfQuarter.cjs +1 -0
  52. package/dist/node_modules/date-fns/endOfQuarter.js +9 -0
  53. package/dist/node_modules/date-fns/endOfWeek.cjs +1 -0
  54. package/dist/node_modules/date-fns/endOfWeek.js +11 -0
  55. package/dist/node_modules/date-fns/endOfYear.cjs +1 -0
  56. package/dist/node_modules/date-fns/endOfYear.js +9 -0
  57. package/dist/node_modules/date-fns/format.cjs +1 -0
  58. package/dist/node_modules/date-fns/format.js +59 -0
  59. package/dist/node_modules/date-fns/getDay.cjs +1 -0
  60. package/dist/node_modules/date-fns/getDay.js +8 -0
  61. package/dist/node_modules/date-fns/getDayOfYear.cjs +1 -0
  62. package/dist/node_modules/date-fns/getDayOfYear.js +11 -0
  63. package/dist/node_modules/date-fns/getDaysInMonth.cjs +1 -0
  64. package/dist/node_modules/date-fns/getDaysInMonth.js +10 -0
  65. package/dist/node_modules/date-fns/getDefaultOptions.cjs +1 -0
  66. package/dist/node_modules/date-fns/getDefaultOptions.js +8 -0
  67. package/dist/node_modules/date-fns/getHours.cjs +1 -0
  68. package/dist/node_modules/date-fns/getHours.js +8 -0
  69. package/dist/node_modules/date-fns/getISODay.cjs +1 -0
  70. package/dist/node_modules/date-fns/getISODay.js +9 -0
  71. package/dist/node_modules/date-fns/getISOWeek.cjs +1 -0
  72. package/dist/node_modules/date-fns/getISOWeek.js +12 -0
  73. package/dist/node_modules/date-fns/getISOWeekYear.cjs +1 -0
  74. package/dist/node_modules/date-fns/getISOWeekYear.js +15 -0
  75. package/dist/node_modules/date-fns/getMinutes.cjs +1 -0
  76. package/dist/node_modules/date-fns/getMinutes.js +8 -0
  77. package/dist/node_modules/date-fns/getMonth.cjs +1 -0
  78. package/dist/node_modules/date-fns/getMonth.js +8 -0
  79. package/dist/node_modules/date-fns/getQuarter.cjs +1 -0
  80. package/dist/node_modules/date-fns/getQuarter.js +9 -0
  81. package/dist/node_modules/date-fns/getSeconds.cjs +1 -0
  82. package/dist/node_modules/date-fns/getSeconds.js +8 -0
  83. package/dist/node_modules/date-fns/getWeek.cjs +1 -0
  84. package/dist/node_modules/date-fns/getWeek.js +12 -0
  85. package/dist/node_modules/date-fns/getWeekYear.cjs +1 -0
  86. package/dist/node_modules/date-fns/getWeekYear.js +17 -0
  87. package/dist/node_modules/date-fns/getYear.cjs +1 -0
  88. package/dist/node_modules/date-fns/getYear.js +8 -0
  89. package/dist/node_modules/date-fns/isAfter.cjs +1 -0
  90. package/dist/node_modules/date-fns/isAfter.js +9 -0
  91. package/dist/node_modules/date-fns/isBefore.cjs +1 -0
  92. package/dist/node_modules/date-fns/isBefore.js +9 -0
  93. package/dist/node_modules/date-fns/isDate.cjs +1 -0
  94. package/dist/node_modules/date-fns/isDate.js +7 -0
  95. package/dist/node_modules/date-fns/isEqual.cjs +1 -0
  96. package/dist/node_modules/date-fns/isEqual.js +9 -0
  97. package/dist/node_modules/date-fns/isSameQuarter.cjs +1 -0
  98. package/dist/node_modules/date-fns/isSameQuarter.js +9 -0
  99. package/dist/node_modules/date-fns/isValid.cjs +1 -0
  100. package/dist/node_modules/date-fns/isValid.js +12 -0
  101. package/dist/node_modules/date-fns/locale/_lib/buildFormatLongFn.cjs +1 -0
  102. package/dist/node_modules/date-fns/locale/_lib/buildFormatLongFn.js +9 -0
  103. package/dist/node_modules/date-fns/locale/_lib/buildLocalizeFn.cjs +1 -0
  104. package/dist/node_modules/date-fns/locale/_lib/buildLocalizeFn.js +18 -0
  105. package/dist/node_modules/date-fns/locale/_lib/buildMatchFn.cjs +1 -0
  106. package/dist/node_modules/date-fns/locale/_lib/buildMatchFn.js +31 -0
  107. package/dist/node_modules/date-fns/locale/_lib/buildMatchPatternFn.cjs +1 -0
  108. package/dist/node_modules/date-fns/locale/_lib/buildMatchPatternFn.js +15 -0
  109. package/dist/node_modules/date-fns/locale/en-US/_lib/formatDistance.cjs +1 -0
  110. package/dist/node_modules/date-fns/locale/en-US/_lib/formatDistance.js +70 -0
  111. package/dist/node_modules/date-fns/locale/en-US/_lib/formatLong.cjs +1 -0
  112. package/dist/node_modules/date-fns/locale/en-US/_lib/formatLong.js +33 -0
  113. package/dist/node_modules/date-fns/locale/en-US/_lib/formatRelative.cjs +1 -0
  114. package/dist/node_modules/date-fns/locale/en-US/_lib/formatRelative.js +11 -0
  115. package/dist/node_modules/date-fns/locale/en-US/_lib/localize.cjs +1 -0
  116. package/dist/node_modules/date-fns/locale/en-US/_lib/localize.js +155 -0
  117. package/dist/node_modules/date-fns/locale/en-US/_lib/match.cjs +1 -0
  118. package/dist/node_modules/date-fns/locale/en-US/_lib/match.js +110 -0
  119. package/dist/node_modules/date-fns/locale/en-US.cjs +1 -0
  120. package/dist/node_modules/date-fns/locale/en-US.js +21 -0
  121. package/dist/node_modules/date-fns/parse/_lib/Parser.cjs +1 -0
  122. package/dist/node_modules/date-fns/parse/_lib/Parser.js +22 -0
  123. package/dist/node_modules/date-fns/parse/_lib/Setter.cjs +1 -0
  124. package/dist/node_modules/date-fns/parse/_lib/Setter.js +40 -0
  125. package/dist/node_modules/date-fns/parse/_lib/constants.cjs +1 -0
  126. package/dist/node_modules/date-fns/parse/_lib/constants.js +49 -0
  127. package/dist/node_modules/date-fns/parse/_lib/parsers/AMPMMidnightParser.cjs +1 -0
  128. package/dist/node_modules/date-fns/parse/_lib/parsers/AMPMMidnightParser.js +49 -0
  129. package/dist/node_modules/date-fns/parse/_lib/parsers/AMPMParser.cjs +1 -0
  130. package/dist/node_modules/date-fns/parse/_lib/parsers/AMPMParser.js +49 -0
  131. package/dist/node_modules/date-fns/parse/_lib/parsers/DateParser.cjs +1 -0
  132. package/dist/node_modules/date-fns/parse/_lib/parsers/DateParser.js +61 -0
  133. package/dist/node_modules/date-fns/parse/_lib/parsers/DayOfYearParser.cjs +1 -0
  134. package/dist/node_modules/date-fns/parse/_lib/parsers/DayOfYearParser.js +51 -0
  135. package/dist/node_modules/date-fns/parse/_lib/parsers/DayParser.cjs +1 -0
  136. package/dist/node_modules/date-fns/parse/_lib/parsers/DayParser.js +45 -0
  137. package/dist/node_modules/date-fns/parse/_lib/parsers/DayPeriodParser.cjs +1 -0
  138. package/dist/node_modules/date-fns/parse/_lib/parsers/DayPeriodParser.js +49 -0
  139. package/dist/node_modules/date-fns/parse/_lib/parsers/EraParser.cjs +1 -0
  140. package/dist/node_modules/date-fns/parse/_lib/parsers/EraParser.js +30 -0
  141. package/dist/node_modules/date-fns/parse/_lib/parsers/ExtendedYearParser.cjs +1 -0
  142. package/dist/node_modules/date-fns/parse/_lib/parsers/ExtendedYearParser.js +21 -0
  143. package/dist/node_modules/date-fns/parse/_lib/parsers/FractionOfSecondParser.cjs +1 -0
  144. package/dist/node_modules/date-fns/parse/_lib/parsers/FractionOfSecondParser.js +22 -0
  145. package/dist/node_modules/date-fns/parse/_lib/parsers/Hour0To11Parser.cjs +1 -0
  146. package/dist/node_modules/date-fns/parse/_lib/parsers/Hour0To11Parser.js +32 -0
  147. package/dist/node_modules/date-fns/parse/_lib/parsers/Hour0to23Parser.cjs +1 -0
  148. package/dist/node_modules/date-fns/parse/_lib/parsers/Hour0to23Parser.js +32 -0
  149. package/dist/node_modules/date-fns/parse/_lib/parsers/Hour1To24Parser.cjs +1 -0
  150. package/dist/node_modules/date-fns/parse/_lib/parsers/Hour1To24Parser.js +33 -0
  151. package/dist/node_modules/date-fns/parse/_lib/parsers/Hour1to12Parser.cjs +1 -0
  152. package/dist/node_modules/date-fns/parse/_lib/parsers/Hour1to12Parser.js +33 -0
  153. package/dist/node_modules/date-fns/parse/_lib/parsers/ISODayParser.cjs +1 -0
  154. package/dist/node_modules/date-fns/parse/_lib/parsers/ISODayParser.js +99 -0
  155. package/dist/node_modules/date-fns/parse/_lib/parsers/ISOTimezoneParser.cjs +1 -0
  156. package/dist/node_modules/date-fns/parse/_lib/parsers/ISOTimezoneParser.js +48 -0
  157. package/dist/node_modules/date-fns/parse/_lib/parsers/ISOTimezoneWithZParser.cjs +1 -0
  158. package/dist/node_modules/date-fns/parse/_lib/parsers/ISOTimezoneWithZParser.js +48 -0
  159. package/dist/node_modules/date-fns/parse/_lib/parsers/ISOWeekParser.cjs +1 -0
  160. package/dist/node_modules/date-fns/parse/_lib/parsers/ISOWeekParser.js +49 -0
  161. package/dist/node_modules/date-fns/parse/_lib/parsers/ISOWeekYearParser.cjs +1 -0
  162. package/dist/node_modules/date-fns/parse/_lib/parsers/ISOWeekYearParser.js +40 -0
  163. package/dist/node_modules/date-fns/parse/_lib/parsers/LocalDayParser.cjs +1 -0
  164. package/dist/node_modules/date-fns/parse/_lib/parsers/LocalDayParser.js +74 -0
  165. package/dist/node_modules/date-fns/parse/_lib/parsers/LocalWeekParser.cjs +1 -0
  166. package/dist/node_modules/date-fns/parse/_lib/parsers/LocalWeekParser.js +48 -0
  167. package/dist/node_modules/date-fns/parse/_lib/parsers/LocalWeekYearParser.cjs +1 -0
  168. package/dist/node_modules/date-fns/parse/_lib/parsers/LocalWeekYearParser.js +69 -0
  169. package/dist/node_modules/date-fns/parse/_lib/parsers/MinuteParser.cjs +1 -0
  170. package/dist/node_modules/date-fns/parse/_lib/parsers/MinuteParser.js +32 -0
  171. package/dist/node_modules/date-fns/parse/_lib/parsers/MonthParser.cjs +1 -0
  172. package/dist/node_modules/date-fns/parse/_lib/parsers/MonthParser.js +71 -0
  173. package/dist/node_modules/date-fns/parse/_lib/parsers/QuarterParser.cjs +1 -0
  174. package/dist/node_modules/date-fns/parse/_lib/parsers/QuarterParser.js +70 -0
  175. package/dist/node_modules/date-fns/parse/_lib/parsers/SecondParser.cjs +1 -0
  176. package/dist/node_modules/date-fns/parse/_lib/parsers/SecondParser.js +32 -0
  177. package/dist/node_modules/date-fns/parse/_lib/parsers/StandAloneLocalDayParser.cjs +1 -0
  178. package/dist/node_modules/date-fns/parse/_lib/parsers/StandAloneLocalDayParser.js +74 -0
  179. package/dist/node_modules/date-fns/parse/_lib/parsers/StandAloneMonthParser.cjs +1 -0
  180. package/dist/node_modules/date-fns/parse/_lib/parsers/StandAloneMonthParser.js +71 -0
  181. package/dist/node_modules/date-fns/parse/_lib/parsers/StandAloneQuarterParser.cjs +1 -0
  182. package/dist/node_modules/date-fns/parse/_lib/parsers/StandAloneQuarterParser.js +70 -0
  183. package/dist/node_modules/date-fns/parse/_lib/parsers/TimestampMillisecondsParser.cjs +1 -0
  184. package/dist/node_modules/date-fns/parse/_lib/parsers/TimestampMillisecondsParser.js +22 -0
  185. package/dist/node_modules/date-fns/parse/_lib/parsers/TimestampSecondsParser.cjs +1 -0
  186. package/dist/node_modules/date-fns/parse/_lib/parsers/TimestampSecondsParser.js +22 -0
  187. package/dist/node_modules/date-fns/parse/_lib/parsers/YearParser.cjs +1 -0
  188. package/dist/node_modules/date-fns/parse/_lib/parsers/YearParser.js +49 -0
  189. package/dist/node_modules/date-fns/parse/_lib/parsers.cjs +1 -0
  190. package/dist/node_modules/date-fns/parse/_lib/parsers.js +67 -0
  191. package/dist/node_modules/date-fns/parse/_lib/utils.cjs +1 -0
  192. package/dist/node_modules/date-fns/parse/_lib/utils.js +103 -0
  193. package/dist/node_modules/date-fns/parse.cjs +1 -0
  194. package/dist/node_modules/date-fns/parse.js +90 -0
  195. package/dist/node_modules/date-fns/set.cjs +1 -0
  196. package/dist/node_modules/date-fns/set.js +11 -0
  197. package/dist/node_modules/date-fns/setDay.cjs +1 -0
  198. package/dist/node_modules/date-fns/setDay.js +12 -0
  199. package/dist/node_modules/date-fns/setHours.cjs +1 -0
  200. package/dist/node_modules/date-fns/setHours.js +9 -0
  201. package/dist/node_modules/date-fns/setISODay.cjs +1 -0
  202. package/dist/node_modules/date-fns/setISODay.js +11 -0
  203. package/dist/node_modules/date-fns/setISOWeek.cjs +1 -0
  204. package/dist/node_modules/date-fns/setISOWeek.js +10 -0
  205. package/dist/node_modules/date-fns/setMilliseconds.cjs +1 -0
  206. package/dist/node_modules/date-fns/setMilliseconds.js +9 -0
  207. package/dist/node_modules/date-fns/setMinutes.cjs +1 -0
  208. package/dist/node_modules/date-fns/setMinutes.js +9 -0
  209. package/dist/node_modules/date-fns/setMonth.cjs +1 -0
  210. package/dist/node_modules/date-fns/setMonth.js +13 -0
  211. package/dist/node_modules/date-fns/setSeconds.cjs +1 -0
  212. package/dist/node_modules/date-fns/setSeconds.js +9 -0
  213. package/dist/node_modules/date-fns/setWeek.cjs +1 -0
  214. package/dist/node_modules/date-fns/setWeek.js +10 -0
  215. package/dist/node_modules/date-fns/setYear.cjs +1 -0
  216. package/dist/node_modules/date-fns/setYear.js +10 -0
  217. package/dist/node_modules/date-fns/startOfDay.cjs +1 -0
  218. package/dist/node_modules/date-fns/startOfDay.js +9 -0
  219. package/dist/node_modules/date-fns/startOfISOWeek.cjs +1 -0
  220. package/dist/node_modules/date-fns/startOfISOWeek.js +8 -0
  221. package/dist/node_modules/date-fns/startOfISOWeekYear.cjs +1 -0
  222. package/dist/node_modules/date-fns/startOfISOWeekYear.js +11 -0
  223. package/dist/node_modules/date-fns/startOfMonth.cjs +1 -0
  224. package/dist/node_modules/date-fns/startOfMonth.js +9 -0
  225. package/dist/node_modules/date-fns/startOfQuarter.cjs +1 -0
  226. package/dist/node_modules/date-fns/startOfQuarter.js +9 -0
  227. package/dist/node_modules/date-fns/startOfWeek.cjs +1 -0
  228. package/dist/node_modules/date-fns/startOfWeek.js +11 -0
  229. package/dist/node_modules/date-fns/startOfWeekYear.cjs +1 -0
  230. package/dist/node_modules/date-fns/startOfWeekYear.js +13 -0
  231. package/dist/node_modules/date-fns/startOfYear.cjs +1 -0
  232. package/dist/node_modules/date-fns/startOfYear.js +10 -0
  233. package/dist/node_modules/date-fns/sub.cjs +1 -0
  234. package/dist/node_modules/date-fns/sub.js +19 -0
  235. package/dist/node_modules/date-fns/subDays.cjs +1 -0
  236. package/dist/node_modules/date-fns/subDays.js +8 -0
  237. package/dist/node_modules/date-fns/subMonths.cjs +1 -0
  238. package/dist/node_modules/date-fns/subMonths.js +8 -0
  239. package/dist/node_modules/date-fns/subYears.cjs +1 -0
  240. package/dist/node_modules/date-fns/subYears.js +8 -0
  241. package/dist/node_modules/date-fns/toDate.cjs +1 -0
  242. package/dist/node_modules/date-fns/toDate.js +8 -0
  243. package/dist/node_modules/date-fns/transpose.cjs +1 -0
  244. package/dist/node_modules/date-fns/transpose.js +18 -0
  245. package/dist/prometheus-framework/src/components/EditImages/EditImages.vue.cjs +1 -1
  246. package/dist/prometheus-framework/src/components/EditImages/EditImages.vue.js +16 -15
  247. package/dist/prometheus-framework/src/components/PhotoViewer/PhotoViewer.vue.cjs +1 -1
  248. package/dist/prometheus-framework/src/components/PhotoViewer/PhotoViewer.vue.js +13 -12
  249. package/dist/prometheus-framework/src/components/UploadImage/UploadImage.vue.cjs +1 -1
  250. package/dist/prometheus-framework/src/components/UploadImage/UploadImage.vue.js +12 -11
  251. package/dist/prometheus-framework/src/modules/auth/views/components/pages/SignIn.vue.cjs +1 -1
  252. package/dist/prometheus-framework/src/modules/auth/views/components/pages/SignIn.vue.js +6 -5
  253. package/dist/prometheus-framework/src/modules/backoffice/components/pages/Dashboard.vue.cjs +1 -1
  254. package/dist/prometheus-framework/src/modules/backoffice/components/pages/Dashboard.vue.js +1 -1
  255. package/dist/prometheus-framework/src/modules/backoffice/components/partials/Sidebar.vue.cjs +1 -1
  256. package/dist/prometheus-framework/src/modules/backoffice/components/partials/Sidebar.vue.js +1 -1
  257. package/dist/prometheus-framework/src/modules/community/components/blocks/CardBlogpost.vue.cjs +1 -1
  258. package/dist/prometheus-framework/src/modules/community/components/blocks/CardBlogpost.vue.js +11 -10
  259. package/dist/prometheus-framework/src/modules/community/components/layouts/Community.vue.cjs +1 -1
  260. package/dist/prometheus-framework/src/modules/community/components/layouts/Community.vue.js +1 -1
  261. package/dist/prometheus-framework/src/modules/community/components/pages/Community.vue.cjs +1 -1
  262. package/dist/prometheus-framework/src/modules/community/components/pages/Community.vue.js +1 -1
  263. package/dist/prometheus-framework/src/modules/community/components/pages/CreateBlogPost.vue.cjs +1 -1
  264. package/dist/prometheus-framework/src/modules/community/components/pages/CreateBlogPost.vue.js +1 -1
  265. package/dist/prometheus-framework/src/modules/constructor/components/elements/Image.vue.cjs +1 -1
  266. package/dist/prometheus-framework/src/modules/constructor/components/elements/Image.vue.js +11 -9
  267. package/dist/prometheus-framework/src/modules/constructor/components/elements/ImageUpload.vue.cjs +1 -1
  268. package/dist/prometheus-framework/src/modules/constructor/components/elements/ImageUpload.vue.js +8 -7
  269. package/dist/prometheus-framework/src/modules/events/components/blocks/CardEvent.vue.cjs +1 -1
  270. package/dist/prometheus-framework/src/modules/events/components/blocks/CardEvent.vue.js +6 -4
  271. package/dist/prometheus-framework/src/modules/events/components/elements/ButtonCheck.vue.cjs +1 -1
  272. package/dist/prometheus-framework/src/modules/events/components/elements/ButtonCheck.vue.js +1 -1
  273. package/dist/prometheus-framework/src/modules/events/components/pages/EditEvent.vue.cjs +1 -1
  274. package/dist/prometheus-framework/src/modules/events/components/pages/EditEvent.vue.js +7 -6
  275. package/dist/prometheus-framework/src/modules/events/components/pages/EditEventTickets.vue.cjs +1 -1
  276. package/dist/prometheus-framework/src/modules/events/components/pages/EditEventTickets.vue.js +16 -15
  277. package/dist/prometheus-framework/src/modules/events/components/sections/HeroEvent.vue.cjs +1 -1
  278. package/dist/prometheus-framework/src/modules/events/components/sections/HeroEvent.vue.js +11 -8
  279. package/dist/prometheus-framework/src/modules/events/components/sections/SectionPreviousEvents.vue.cjs +1 -1
  280. package/dist/prometheus-framework/src/modules/events/components/sections/SectionPreviousEvents.vue.js +7 -6
  281. package/dist/prometheus-framework/src/modules/events/components/sections/SectionSpecialGuests.vue.cjs +1 -1
  282. package/dist/prometheus-framework/src/modules/events/components/sections/SectionSpecialGuests.vue.js +9 -8
  283. package/dist/prometheus-framework/src/modules/gallery/components/pages/Gallery.vue.cjs +1 -1
  284. package/dist/prometheus-framework/src/modules/gallery/components/pages/Gallery.vue.js +5 -4
  285. package/dist/prometheus-framework/src/modules/gallery/components/sections/BackofficeGallery.vue.cjs +1 -1
  286. package/dist/prometheus-framework/src/modules/gallery/components/sections/BackofficeGallery.vue.js +27 -25
  287. package/dist/prometheus-framework/src/modules/globals/views/components/blocks/CardHeader.vue.cjs +1 -1
  288. package/dist/prometheus-framework/src/modules/globals/views/components/blocks/CardHeader.vue.js +22 -20
  289. package/dist/prometheus-framework/src/modules/globals/views/components/layouts/App.vue.cjs +1 -1
  290. package/dist/prometheus-framework/src/modules/globals/views/components/layouts/App.vue.js +87 -93
  291. package/dist/prometheus-framework/src/modules/globals/views/components/layouts/Client.vue.cjs +1 -1
  292. package/dist/prometheus-framework/src/modules/globals/views/components/layouts/Client.vue.js +142 -73
  293. package/dist/prometheus-framework/src/modules/globals/views/components/partials/Header.vue.cjs +1 -1
  294. package/dist/prometheus-framework/src/modules/globals/views/components/partials/Header.vue.js +1 -1
  295. package/dist/prometheus-framework/src/modules/globals/views/components/partials/NavigationBar.vue.cjs +1 -0
  296. package/dist/prometheus-framework/src/modules/globals/views/components/partials/NavigationBar.vue.js +110 -0
  297. package/dist/prometheus-framework/src/modules/landing/components/sections/MobileApp.vue.cjs +1 -1
  298. package/dist/prometheus-framework/src/modules/landing/components/sections/MobileApp.vue.js +8 -7
  299. package/dist/prometheus-framework/src/modules/legal/components/pages/Legal.vue.cjs +1 -1
  300. package/dist/prometheus-framework/src/modules/legal/components/pages/Legal.vue.js +1 -1
  301. package/dist/prometheus-framework/src/modules/orders/components/blocks/CardOrder.vue.cjs +1 -1
  302. package/dist/prometheus-framework/src/modules/orders/components/blocks/CardOrder.vue.js +2 -2
  303. package/dist/prometheus-framework/src/modules/orders/components/blocks/CardOrderItem.vue.cjs +1 -1
  304. package/dist/prometheus-framework/src/modules/orders/components/blocks/CardOrderItem.vue.js +19 -18
  305. package/dist/prometheus-framework/src/modules/orders/components/pages/OrderBackoffice.vue.cjs +1 -1
  306. package/dist/prometheus-framework/src/modules/orders/components/pages/OrderBackoffice.vue.js +124 -132
  307. package/dist/prometheus-framework/src/modules/orders/components/pages/OrderCreateBackoffice.vue.cjs +1 -1
  308. package/dist/prometheus-framework/src/modules/orders/components/pages/OrderCreateBackoffice.vue.js +2 -2
  309. package/dist/prometheus-framework/src/modules/orders/components/pages/Orders.vue.cjs +1 -1
  310. package/dist/prometheus-framework/src/modules/orders/components/pages/Orders.vue.js +2 -4
  311. package/dist/prometheus-framework/src/modules/orders/components/sections/FormAddCustomer.vue.cjs +1 -1
  312. package/dist/prometheus-framework/src/modules/orders/components/sections/FormAddCustomer.vue.js +1 -1
  313. package/dist/prometheus-framework/src/modules/orders/components/sections/FormCustomerDetails.vue.cjs +1 -1
  314. package/dist/prometheus-framework/src/modules/orders/components/sections/FormCustomerDetails.vue.js +1 -1
  315. package/dist/prometheus-framework/src/modules/orders/components/sections/FormPayment.vue.cjs +1 -1
  316. package/dist/prometheus-framework/src/modules/orders/components/sections/FormPayment.vue.js +1 -1
  317. package/dist/prometheus-framework/src/modules/organizations/components/blocks/CardOrganization.vue.cjs +1 -1
  318. package/dist/prometheus-framework/src/modules/organizations/components/blocks/CardOrganization.vue.js +2 -1
  319. package/dist/prometheus-framework/src/modules/organizations/components/blocks/DepartmentSub.vue.cjs +1 -1
  320. package/dist/prometheus-framework/src/modules/organizations/components/blocks/DepartmentSub.vue.js +5 -5
  321. package/dist/prometheus-framework/src/modules/organizations/components/pages/DepartmentEdit.vue.cjs +1 -1
  322. package/dist/prometheus-framework/src/modules/organizations/components/pages/DepartmentEdit.vue.js +2 -2
  323. package/dist/prometheus-framework/src/modules/organizations/components/pages/Members.vue.cjs +1 -1
  324. package/dist/prometheus-framework/src/modules/organizations/components/pages/Members.vue.js +2 -2
  325. package/dist/prometheus-framework/src/modules/organizations/components/pages/Organization.vue.cjs +1 -1
  326. package/dist/prometheus-framework/src/modules/organizations/components/pages/Organization.vue.js +76 -70
  327. package/dist/prometheus-framework/src/modules/organizations/components/pages/OrganizationBackoffice.vue.cjs +1 -1
  328. package/dist/prometheus-framework/src/modules/organizations/components/pages/OrganizationBackoffice.vue.js +1 -1
  329. package/dist/prometheus-framework/src/modules/organizations/components/pages/OrganizationEdit.vue.cjs +1 -1
  330. package/dist/prometheus-framework/src/modules/organizations/components/pages/OrganizationEdit.vue.js +2 -2
  331. package/dist/prometheus-framework/src/modules/organizations/components/sections/DetailsTab.vue.cjs +1 -1
  332. package/dist/prometheus-framework/src/modules/organizations/components/sections/DetailsTab.vue.js +2 -1
  333. package/dist/prometheus-framework/src/modules/organizations/components/sections/Documents.vue.cjs +1 -1
  334. package/dist/prometheus-framework/src/modules/organizations/components/sections/Documents.vue.js +1 -1
  335. package/dist/prometheus-framework/src/modules/organizations/components/sections/MembersAdd.vue.cjs +1 -1
  336. package/dist/prometheus-framework/src/modules/organizations/components/sections/MembersAdd.vue.js +1 -1
  337. package/dist/prometheus-framework/src/modules/organizations/components/sections/Organizations.vue.cjs +1 -1
  338. package/dist/prometheus-framework/src/modules/organizations/components/sections/Organizations.vue.js +3 -3
  339. package/dist/prometheus-framework/src/modules/pages/views/components/partials/SidebarPages.vue.cjs +1 -1
  340. package/dist/prometheus-framework/src/modules/pages/views/components/partials/SidebarPages.vue.js +1 -1
  341. package/dist/prometheus-framework/src/modules/products/components/blocks/CardLeftover.vue.cjs +1 -1
  342. package/dist/prometheus-framework/src/modules/products/components/blocks/CardLeftover.vue.js +9 -9
  343. package/dist/prometheus-framework/src/modules/products/components/blocks/CardPosition.vue.cjs +1 -1
  344. package/dist/prometheus-framework/src/modules/products/components/blocks/CardPosition.vue.js +1 -1
  345. package/dist/prometheus-framework/src/modules/products/components/blocks/CardProduct.vue.cjs +1 -1
  346. package/dist/prometheus-framework/src/modules/products/components/blocks/CardProduct.vue.js +1 -0
  347. package/dist/prometheus-framework/src/modules/products/components/blocks/Images360.vue.cjs +1 -1
  348. package/dist/prometheus-framework/src/modules/products/components/blocks/Images360.vue.js +28 -27
  349. package/dist/prometheus-framework/src/modules/products/components/blocks/ImagesThumbnails.vue.cjs +1 -1
  350. package/dist/prometheus-framework/src/modules/products/components/blocks/ImagesThumbnails.vue.js +14 -13
  351. package/dist/prometheus-framework/src/modules/products/components/pages/CategoryEdit.vue.cjs +1 -1
  352. package/dist/prometheus-framework/src/modules/products/components/pages/CategoryEdit.vue.js +1 -1
  353. package/dist/prometheus-framework/src/modules/products/components/pages/EditLeftover.vue.cjs +1 -1
  354. package/dist/prometheus-framework/src/modules/products/components/pages/EditLeftover.vue.js +2 -2
  355. package/dist/prometheus-framework/src/modules/products/components/pages/ProductEdit.vue.cjs +1 -1
  356. package/dist/prometheus-framework/src/modules/products/components/pages/ProductEdit.vue.js +1 -1
  357. package/dist/prometheus-framework/src/modules/products/components/sections/EditProductInfo.vue.cjs +1 -1
  358. package/dist/prometheus-framework/src/modules/products/components/sections/EditProductInfo.vue.js +1 -1
  359. package/dist/prometheus-framework/src/modules/products/components/sections/HeroRecommendation.vue.cjs +1 -1
  360. package/dist/prometheus-framework/src/modules/products/components/sections/HeroRecommendation.vue.js +3 -2
  361. package/dist/prometheus-framework/src/modules/products/components/sections/SectionProduct.vue.cjs +1 -1
  362. package/dist/prometheus-framework/src/modules/products/components/sections/SectionProduct.vue.js +1 -0
  363. package/dist/prometheus-framework/src/modules/reports/components/sections/FormReport.vue.cjs +1 -1
  364. package/dist/prometheus-framework/src/modules/reports/components/sections/FormReport.vue.js +2 -2
  365. package/dist/prometheus-framework/src/modules/spots/components/blocks/CardSpot.vue.cjs +1 -1
  366. package/dist/prometheus-framework/src/modules/spots/components/blocks/CardSpot.vue.js +1 -1
  367. package/dist/prometheus-framework/src/modules/spots/components/blocks/SpotMemberModify.vue.cjs +1 -1
  368. package/dist/prometheus-framework/src/modules/spots/components/blocks/SpotMemberModify.vue.js +1 -1
  369. package/dist/prometheus-framework/src/modules/spots/components/blocks/SpotSub.vue.cjs +1 -1
  370. package/dist/prometheus-framework/src/modules/spots/components/blocks/SpotSub.vue.js +1 -1
  371. package/dist/prometheus-framework/src/modules/spots/components/pages/SpotEdit.vue.cjs +1 -1
  372. package/dist/prometheus-framework/src/modules/spots/components/pages/SpotEdit.vue.js +2 -2
  373. package/dist/prometheus-framework/src/modules/users/components/blocks/CardUser.vue.cjs +1 -1
  374. package/dist/prometheus-framework/src/modules/users/components/blocks/CardUser.vue.js +3 -2
  375. package/dist/prometheus-framework/src/modules/users/components/pages/Profile.vue.cjs +1 -1
  376. package/dist/prometheus-framework/src/modules/users/components/pages/Profile.vue.js +8 -7
  377. package/dist/prometheus-framework/src/modules/wallet/views/components/blocks/CryptoDeposit.vue.cjs +1 -1
  378. package/dist/prometheus-framework/src/modules/wallet/views/components/blocks/CryptoDeposit.vue.js +1 -1
  379. package/dist/prometheus-framework/src/modules/wallet/views/components/elements/ConnectMetamask.vue.cjs +1 -1
  380. package/dist/prometheus-framework/src/modules/wallet/views/components/elements/ConnectMetamask.vue.js +12 -9
  381. package/dist/prometheus-framework/src/modules/wallet/views/components/pages/Wallet.vue.cjs +1 -1
  382. package/dist/prometheus-framework/src/modules/wallet/views/components/pages/Wallet.vue.js +3 -3
  383. package/dist/prometheus-framework.cjs.js +22 -22
  384. package/dist/prometheus-framework.es.js +3228 -3201
  385. package/dist/style.css +1 -1
  386. package/dist/tickets.controller-CB549rZT.mjs +402 -0
  387. package/dist/tickets.controller-yqXXLR62.js +401 -0
  388. package/dist/wallet.server.js +1 -1
  389. package/dist/wallet.server.mjs +1 -1
  390. package/package.json +1 -2
  391. package/src/builder/webpack/webpack.config.base.js +2 -2
  392. package/src/builder/webpack/webpack.config.client.js +1 -1
  393. package/src/builder/webpack/webpack.config.spa.js +0 -6
  394. package/src/components/AskToLogin/AskToLogin.vue +1 -1
  395. package/src/components/EditImages/EditImages.vue +1 -1
  396. package/src/components/Error/Error.vue +1 -1
  397. package/src/components/PhotoViewer/PhotoViewer.vue +1 -1
  398. package/src/components/UploadImage/UploadImage.vue +1 -1
  399. package/src/modules/auth/views/components/pages/EnterCode.vue +1 -1
  400. package/src/modules/auth/views/components/pages/EnterPassword.vue +1 -1
  401. package/src/modules/auth/views/components/pages/ResetPassword.vue +1 -1
  402. package/src/modules/auth/views/components/pages/SignIn.vue +1 -1
  403. package/src/modules/auth/views/components/pages/SignUp.vue +1 -1
  404. package/src/modules/backoffice/components/admin/FastOrders.vue +1 -1
  405. package/src/modules/chats/components/blocks/ChatMessage.vue +1 -1
  406. package/src/modules/community/components/blocks/CardBlogpost.vue +1 -1
  407. package/src/modules/constructor/components/elements/Image.vue +2 -2
  408. package/src/modules/constructor/components/elements/ImageUpload.vue +1 -1
  409. package/src/modules/events/components/blocks/CardEvent.vue +2 -2
  410. package/src/modules/events/components/pages/EditEvent.vue +12 -1
  411. package/src/modules/events/components/pages/EditEventTickets.vue +1 -1
  412. package/src/modules/events/components/pages/Event.vue +1 -1
  413. package/src/modules/events/components/sections/HeroEvent.vue +4 -4
  414. package/src/modules/events/components/sections/SectionPreviousEvents.vue +1 -1
  415. package/src/modules/events/components/sections/SectionSpecialGuests.vue +1 -1
  416. package/src/modules/events/controllers/utils/templateEmail.js +1 -1
  417. package/src/modules/events/controllers/utils/templateTicket.js +1 -1
  418. package/src/modules/gallery/components/pages/Gallery.vue +1 -1
  419. package/src/modules/gallery/components/sections/BackofficeGallery.vue +2 -2
  420. package/src/modules/globals/views/components/blocks/CardHeader.vue +2 -2
  421. package/src/modules/globals/views/components/layouts/App.vue +15 -39
  422. package/src/modules/globals/views/components/layouts/Client.vue +89 -45
  423. package/src/modules/globals/views/components/partials/Footer.vue +7 -7
  424. package/src/modules/globals/views/components/partials/NavigationBar.vue +39 -16
  425. package/src/modules/globals/views/components/sections/Walkthrough.vue +2 -2
  426. package/src/modules/landing/components/sections/Examples.vue +1 -1
  427. package/src/modules/landing/components/sections/HowItWorksSection.vue +3 -3
  428. package/src/modules/landing/components/sections/HowToBuyWDR.vue +1 -1
  429. package/src/modules/landing/components/sections/InstagramSection.vue +2 -2
  430. package/src/modules/landing/components/sections/MobileApp.vue +1 -1
  431. package/src/modules/landing/components/sections/SectionEarn.vue +2 -2
  432. package/src/modules/landing/components/sections/SectionFeature.vue +1 -1
  433. package/src/modules/landing/components/sections/SectionFeaturesImages.vue +1 -1
  434. package/src/modules/landing/components/sections/SectionHeroToken.vue +1 -1
  435. package/src/modules/landing/components/sections/SectionsSection.vue +4 -4
  436. package/src/modules/landing/components/sections/WhatIsWDRSection.vue +3 -3
  437. package/src/modules/landing/router/landing.js +1 -1
  438. package/src/modules/orders/components/blocks/CardOrder.vue +7 -7
  439. package/src/modules/orders/components/blocks/CardOrderItem.vue +1 -1
  440. package/src/modules/orders/components/blocks/CardOrderVar1.vue +1 -1
  441. package/src/modules/orders/components/pages/OrderBackoffice.vue +3 -4
  442. package/src/modules/orders/components/pages/Orders.vue +0 -3
  443. package/src/modules/orders/components/pages/Orders_refact.vue +7 -7
  444. package/src/modules/orders/components/sections/AskToLogin.vue +1 -1
  445. package/src/modules/organizations/components/blocks/CardOrganization.vue +2 -2
  446. package/src/modules/organizations/components/blocks/Contacts.vue +4 -4
  447. package/src/modules/organizations/components/blocks/DepartmentSub.vue +1 -1
  448. package/src/modules/organizations/components/pages/Organization.vue +3 -3
  449. package/src/modules/organizations/components/sections/DetailsTab.vue +1 -1
  450. package/src/modules/products/components/blocks/CardLeftover.vue +1 -1
  451. package/src/modules/products/components/blocks/CardProduct.vue +1 -1
  452. package/src/modules/products/components/blocks/EditFilters.vue +1 -1
  453. package/src/modules/products/components/blocks/Images360.vue +1 -1
  454. package/src/modules/products/components/blocks/ImagesThumbnails.vue +1 -1
  455. package/src/modules/products/components/sections/HeroRecommendation.vue +1 -1
  456. package/src/modules/products/components/sections/MenuSection.vue +1 -1
  457. package/src/modules/products/components/sections/ProductInformationSection.vue +5 -5
  458. package/src/modules/products/components/sections/SectionProduct.vue +1 -1
  459. package/src/modules/spots/components/blocks/SpotSub.vue +1 -1
  460. package/src/modules/users/components/blocks/CardUser.vue +1 -1
  461. package/src/modules/users/components/pages/Profile.vue +1 -1
  462. package/src/modules/wallet/views/components/elements/ConnectMetamask.vue +3 -3
  463. package/src/modules/wallet/views/components/pages/Wallet.vue +4 -4
@@ -1,11 +1,13 @@
1
- import { computed as g, ref as B, onMounted as P, resolveComponent as F, openBlock as n, createElementBlock as T, Fragment as j, createVNode as h, Transition as y, withCtx as l, unref as i, createBlock as s, resolveDynamicComponent as p, normalizeClass as f, createCommentVNode as m } from "vue";
2
- import { u as N } from "../../../../../../../node_modules/@unhead/vue/dist/shared/vue.f36acd1f.js";
3
- import { useI18n as z } from "vue-i18n";
4
- import { useRoute as E } from "vue-router";
5
- import { state as a } from "../../store/globals.js";
6
- import I from "../partials/BottomNavigation.vue.js";
1
+ import { ref as g, computed as h, onMounted as P, resolveComponent as T, openBlock as r, createElementBlock as k, Fragment as N, createVNode as f, Transition as S, withCtx as s, unref as o, createBlock as l, resolveDynamicComponent as c, createCommentVNode as w, normalizeClass as O } from "vue";
2
+ import { u as z } from "../../../../../../../node_modules/@unhead/vue/dist/shared/vue.f36acd1f.js";
3
+ import { useI18n as E } from "vue-i18n";
4
+ import { useRoute as I } from "vue-router";
5
+ import { state as n } from "../../store/globals.js";
7
6
  import { Preferences as L } from "../../../../../../node_modules/@capacitor/preferences/dist/esm/index.js";
8
- const c = "https://weeder.delivery", R = {
7
+ const M = {
8
+ key: 0,
9
+ class: "w-100 h-100"
10
+ }, p = "https://weeder.delivery", G = {
9
11
  __name: "App",
10
12
  props: {
11
13
  messages: {
@@ -16,136 +18,128 @@ const c = "https://weeder.delivery", R = {
16
18
  type: Object
17
19
  }
18
20
  },
19
- setup(v) {
20
- const S = v, { t: o, locale: M } = z({
21
- messages: S.messages
22
- }), b = g(() => w(`${c}${t.path}`)), t = E(), k = ["en", "ru"];
23
- function w(e) {
21
+ setup(_) {
22
+ const $ = _;
23
+ let C = g(!1);
24
+ const v = g(null), { t, locale: V } = E({
25
+ messages: $.messages
26
+ }), b = h(() => y(`${p}${a.path}`)), a = I(), F = ["en", "ru"];
27
+ function y(e) {
24
28
  return e.endsWith("/") ? e.slice(0, -1) : e;
25
29
  }
26
- const O = g(() => ({
27
- title: o("meta.title"),
28
- description: o("meta.description"),
30
+ const A = h(() => ({
31
+ title: t("meta.title"),
32
+ description: t("meta.description"),
29
33
  meta: [
30
34
  { charset: "utf-8" },
31
35
  { name: "viewport", content: "width=device-width, initial-scale=1, shrink-to-fit=no" },
32
- { hid: "description", name: "description", content: o("meta.description") },
33
- { hid: "keywords", name: "keywords", content: o("meta.keywords") },
34
- { hid: "og:title", property: "og:title", content: o("meta.og.title") },
35
- { hid: "og:description", property: "og:description", content: o("meta.og.description") },
36
- { hid: "og:image", property: "og:image", content: c + "/favicon/cover.jpg" },
36
+ { hid: "description", name: "description", content: t("meta.description") },
37
+ { hid: "keywords", name: "keywords", content: t("meta.keywords") },
38
+ { hid: "og:title", property: "og:title", content: t("meta.og.title") },
39
+ { hid: "og:description", property: "og:description", content: t("meta.og.description") },
40
+ { hid: "og:image", property: "og:image", content: p + "/favicon/cover.jpg" },
37
41
  { hid: "og:url", property: "og:url", content: b.value },
38
- { hid: "twitter:title", name: "twitter:title", content: o("meta.twitter.title") },
39
- { hid: "twitter:description", name: "twitter:description", content: o("meta.twitter.description") },
40
- { hid: "twitter:image", name: "twitter:image", content: c + "/favicon/cover.jpg" },
41
- { hid: "twitter:card", name: "twitter:card", content: o("meta.twitter.card") }
42
+ { hid: "twitter:title", name: "twitter:title", content: t("meta.twitter.title") },
43
+ { hid: "twitter:description", name: "twitter:description", content: t("meta.twitter.description") },
44
+ { hid: "twitter:image", name: "twitter:image", content: p + "/favicon/cover.jpg" },
45
+ { hid: "twitter:card", name: "twitter:card", content: t("meta.twitter.card") }
42
46
  ],
43
47
  link: [
44
48
  { hid: "canonical", rel: "canonical", href: b.value },
45
- ..._.value
49
+ ...U.value
46
50
  ],
47
- htmlAttrs: { lang: o("meta.htmlAttrs.lang") }
48
- })), _ = g(() => k.map((e) => {
49
- let r = t.path;
50
- t.params.locale ? r = r.replace(`/${t.params.locale}`, `/${e}`) : r = `/${e}${r}`;
51
- const d = w(`${c}${r}`);
51
+ htmlAttrs: { lang: t("meta.htmlAttrs.lang") }
52
+ })), U = h(() => F.map((e) => {
53
+ let i = a.path;
54
+ a.params.locale ? i = i.replace(`/${a.params.locale}`, `/${e}`) : i = `/${e}${i}`;
55
+ const m = y(`${p}${i}`);
52
56
  return {
53
57
  hid: "alternate",
54
58
  rel: "alternate",
55
59
  hreflang: e,
56
- href: d
60
+ href: m
57
61
  };
58
62
  }));
59
- N(O.value);
60
- const $ = B(!1);
61
- async function C() {
63
+ z(A.value);
64
+ const d = g(!1);
65
+ async function j() {
62
66
  const e = await L.get({ key: "first-use" });
63
- $.value = e.value ? JSON.parse(e.value) : !0;
67
+ d.value = e.value ? JSON.parse(e.value) : !0;
64
68
  }
69
+ const x = (e) => {
70
+ d.value = e;
71
+ };
65
72
  return P(async () => {
66
- await C();
67
- }), (e, r) => {
68
- const d = F("router-view");
69
- return n(), T(j, null, [
70
- h(y, {
71
- name: "moveFromTop",
72
- mode: "out-in",
73
- appear: ""
73
+ await j(), v && (C.value = !0);
74
+ }), (e, i) => {
75
+ const m = T("router-view");
76
+ return r(), k(N, null, [
77
+ f(S, {
78
+ name: "scaleTransition",
79
+ mode: "out-in"
74
80
  }, {
75
- default: l(() => [
76
- i(t).meta.sidebar && a.isOpenSidebar ? (n(), s(p(i(t).meta.sidebar), {
77
- key: 0,
78
- stateSidebar: a.isOpenSidebar,
79
- onCloseSidebar: r[0] || (r[0] = () => {
80
- a.isOpenSidebar = !a.isOpenSidebar;
81
- }),
82
- class: f(["transition-ease-in-out pos-absolute w-70 z-index-0 bg-light", {
83
- "pos-l-70-negative": !a.isOpenSidebar,
84
- "pos-l-0": a.isOpenSidebar
85
- }])
86
- }, {
87
- default: l(({ Component: u }) => [
88
- i(t).meta.navigation ? (n(), s(p(i(t).meta.navigation), {
89
- key: 0,
90
- class: "h3 pd-big cols-1"
91
- })) : m("", !0)
92
- ]),
93
- _: 1
94
- }, 40, ["stateSidebar", "class"])) : m("", !0)
81
+ default: s(() => [
82
+ d.value && o(a).meta.walkthrough ? (r(), k("section", M, [
83
+ (r(), l(c(o(a).meta.walkthrough), {
84
+ name: "Walkthrough",
85
+ onUpdateFirstUse: x,
86
+ slides: [1, 2, 3],
87
+ class: "tab"
88
+ }, null, 32))
89
+ ])) : w("", !0)
95
90
  ]),
96
91
  _: 1
97
92
  }),
98
- h(y, {
93
+ f(S, {
99
94
  name: "moveFromTop",
100
95
  mode: "out-in",
101
96
  appear: ""
102
97
  }, {
103
- default: l(() => [
104
- !e.MOBILE_APP && i(t).meta.header ? (n(), s(p(i(t).meta.header), {
98
+ default: s(() => [
99
+ o(a).meta.sidebar && n.isOpenSidebar ? (r(), l(c(o(a).meta.sidebar), {
105
100
  key: 0,
106
- ref: "header",
107
- class: f(["transition-ease-in-out pos-relative br-b br-solid br-grey-transp-10 pos-t-0", {
108
- "pos-l-70": a.isOpenSidebar,
109
- "pos-l-0": !a.isOpenSidebar
110
- }]),
111
- theme: e.headerTheme,
112
- logotype: v.logotype
101
+ stateSidebar: n.isOpenSidebar,
102
+ onCloseSidebar: i[0] || (i[0] = () => {
103
+ n.isOpenSidebar = !n.isOpenSidebar;
104
+ }),
105
+ class: O(["transition-ease-in-out pos-absolute w-70 z-index-0 bg-light", {
106
+ "pos-l-70-negative": !n.isOpenSidebar,
107
+ "pos-l-0": n.isOpenSidebar
108
+ }])
113
109
  }, {
114
- default: l(() => [
115
- i(t).meta.navigation ? (n(), s(p(i(t).meta.navigation), {
110
+ default: s(({ Component: u }) => [
111
+ o(a).meta.navigation ? (r(), l(c(o(a).meta.navigation), {
116
112
  key: 0,
117
- class: "mn-l-auto desktop-only"
118
- })) : m("", !0)
113
+ class: "h3 pd-big cols-1"
114
+ })) : w("", !0)
119
115
  ]),
120
116
  _: 1
121
- }, 8, ["theme", "logotype", "class"])) : m("", !0)
117
+ }, 40, ["stateSidebar", "class"])) : w("", !0)
122
118
  ]),
123
119
  _: 1
124
120
  }),
125
- h(d, {
126
- class: f([{
127
- "pos-l-70": a.isOpenSidebar,
128
- "pos-l-0": !a.isOpenSidebar
121
+ f(m, {
122
+ class: O([{
123
+ "pos-l-70": n.isOpenSidebar,
124
+ "pos-l-0": !n.isOpenSidebar,
125
+ "pd-t-extra": e.MOBILE_APP === "ios"
129
126
  }, "transition-ease-in-out h-min-100 w-100 bg-white pos-relative"]),
130
- ref: "screen",
131
- onScroll: e.handleScroll,
132
- onClick: r[1] || (r[1] = (u) => a.isOpenSidebar ? (A) => a.isOpenSidebar = !1 : (A) => {
127
+ onClick: i[1] || (i[1] = (u) => n.isOpenSidebar ? (B) => n.isOpenSidebar = !1 : (B) => {
133
128
  console.log("not succes");
134
129
  })
135
130
  }, {
136
- default: l(({ Component: u }) => [
137
- (n(), s(p(u)))
131
+ default: s(({ Component: u }) => [
132
+ (r(), l(c(u), {
133
+ ref_key: "page",
134
+ ref: v
135
+ }, null, 512))
138
136
  ]),
139
137
  _: 1
140
- }, 8, ["class", "onScroll"]),
141
- e.MOBILE_APP && i(t).meta.title_hide ? (n(), s(I, {
142
- key: 0,
143
- class: "pd-small z-index-2"
144
- })) : m("", !0)
138
+ }, 8, ["class"])
145
139
  ], 64);
146
140
  };
147
141
  }
148
142
  };
149
143
  export {
150
- R as default
144
+ G as default
151
145
  };
@@ -1 +1 @@
1
- "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vue"),i=require("vue-router"),t=require("../../store/globals.cjs"),v=require("../../../../../components/Loader/Loader.vue2.cjs"),_=require("../../../../../components/Status/Status.vue.cjs"),g=require("../../../../../components/Popup/Popup.vue.cjs");require("vue-i18n");;/* empty css */const h=require("../partials/LocationSelection.vue.cjs");require("../../../../products/store/categories.cjs");const w=require("../../../../orders/components/partials/ShopCart.vue.cjs");;/* empty css */const k={id:"app-wrapper",class:"pos-relative"},C={__name:"Client",setup(q){const s=i.useRoute();i.useRouter();let r=e.ref(!1);const a=e.ref(null);e.ref(null);const l=e.ref(s.query.referalCode);function c(){t.state.isOpenLocationPopup=!1}function u(){document.getElementById("app").scrollIntoView()}const p=e.ref(0);return e.ref(null),e.computed(()=>p.value>50?"light":s.meta.header_theme||"light"),e.onMounted(async()=>{"serviceWorker"in navigator&&window.addEventListener("load",()=>{navigator.serviceWorker.register("/service-worker.js").then(o=>{console.log("SW registered: ",o)}).catch(o=>{console.log("SW registration failed: ",o)})}),a&&(r.value=!0);const n=localStorage.getItem("position");n?t.state.position=JSON.parse(n):t.state.isOpenLocationPopup=!0,l.value&&localStorage.setItem("referalCode",l.value)}),(n,o)=>{const d=e.resolveComponent("router-view");return e.openBlock(),e.createElementBlock("div",k,[e.createVNode(e.Transition,{name:"moveFromTop",appear:""},{default:e.withCtx(()=>[!a.value&&!e.unref(r)?(e.openBlock(),e.createBlock(v.default,{key:0,class:"pos-fixed"})):e.createCommentVNode("",!0)]),_:1}),e.createVNode(g.default,{onClosePopup:c,isPopupOpen:t.state.isOpenLocationPopup,class:"bg-white pd-semi w-m-33r radius-big"},{default:e.withCtx(()=>[e.createVNode(h.default)]),_:1},8,["isPopupOpen"]),e.createVNode(w.default),t.state.error.show?(e.openBlock(),e.createBlock(_.default,{key:0,data:t.state.error,class:"z-index-7"},null,8,["data"])):e.createCommentVNode("",!0),(e.openBlock(),e.createBlock(e.Suspense,null,{default:e.withCtx(()=>[e.withDirectives(e.createVNode(d,{class:"o-scroll"},{default:e.withCtx(({Component:f,route:m})=>[e.createVNode(e.Transition,{onBeforeEnter:u,name:"scaleIn",mode:"out-in",appear:""},{default:e.withCtx(()=>[(e.openBlock(),e.createBlock(e.resolveDynamicComponent(f),{ref_key:"page",ref:a,key:m.path}))]),_:2},1024)]),_:1},512),[[e.vShow,e.unref(r)]])]),_:1}))])}}};exports.default=C;
1
+ "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vue"),u=require("vue-router"),n=require("../../store/globals.cjs"),B=require("../../../../../components/Status/Status.vue.cjs"),C=require("../../../../../components/Popup/Popup.vue2.cjs");require("vue-i18n");;/* empty css */const _=require("../partials/LocationSelection.vue.cjs");require("../../../../products/store/categories.cjs");const w=,/* empty css */P=require("../partials/NavigationBar.vue.cjs"),N=require("../../../../orders/components/partials/ShopCart.vue.cjs");;/* empty css */const V={id:"app-wrapper",class:"pos-relative"},q={__name:"Client",setup(S){const p=e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("../../../../../components/Loader/Loader.vue2.cjs")));let d=e.ref(!1);const i=e.ref(null),r=u.useRoute();u.useRouter();const c=e.ref(r.query.referalCode);function m(){n.state.isOpenLocationPopup=!1}function f(){document.getElementById("app").scrollIntoView()}const l=e.ref(0);let s=!1;const o=e.ref(null),v=e.computed(()=>l.value>50?"light":r.meta.header_theme||"light"),g=()=>{if(l.value=event.target.scrollTop,l.value>50&&!s){s=!0,o.value.$el.classList.add("scrolled");const a=-o.value.$el.getBoundingClientRect().top;o.value.$el.style.transform=`translateY(${a}px)`,setTimeout(()=>{o.value.$el.style.transform="translateY(0)"},0)}else if(l.value<=75&&s){s=!1,o.value.$el.classList.remove("scrolled");const a=o.value.$el.getBoundingClientRect().top;o.value.$el.style.transform=`translateY(${a}px)`,setTimeout(()=>{o.value.$el.style.transform="translateY(0)"},0)}};return e.onMounted(async()=>{"serviceWorker"in navigator&&window.addEventListener("load",()=>{navigator.serviceWorker.register("/service-worker.js").then(a=>{console.log("SW registered: ",a)}).catch(a=>{console.log("SW registration failed: ",a)})});const t=localStorage.getItem("position");t?n.state.position=JSON.parse(t):n.state.isOpenLocationPopup=!0,c.value&&localStorage.setItem("referalCode",c.value),i&&(d.value=!0)}),(t,a)=>{const h=e.resolveComponent("router-view");return e.openBlock(),e.createElementBlock("div",V,[e.createVNode(e.Transition,{name:"moveFromTop",appear:""},{default:e.withCtx(()=>[i.value?e.createCommentVNode("",!0):(e.openBlock(),e.createBlock(e.unref(p),{key:0,class:"pos-fixed"}))]),_:1}),e.createVNode(e.Transition,{name:"moveFromTop",mode:"out-in",appear:""},{default:e.withCtx(()=>[t.MOBILE_APP?e.createCommentVNode("",!0):(e.openBlock(),e.createBlock(e.resolveDynamicComponent(e.unref(r).meta.header),{key:0,ref_key:"header",ref:o,class:"transition-ease-in-out pos-relative br-b br-solid br-grey-transp-10 pos-t-0",theme:v.value,logotype:e.unref(r).meta.logotype},{default:e.withCtx(()=>[e.unref(r).meta.navigation?(e.openBlock(),e.createBlock(e.resolveDynamicComponent(e.unref(r).meta.navigation),{key:0,class:"mn-l-auto desktop-only"})):e.createCommentVNode("",!0)]),_:1},8,["theme","logotype"]))]),_:1}),e.createVNode(e.Transition,{name:"moveFromTop",mode:"out-in",appear:""},{default:e.withCtx(()=>[t.MOBILE_APP?(e.openBlock(),e.createBlock(P.default,{key:0,logotype:e.unref(r).meta.logotype,style:e.normalizeStyle(t.MOBILE_APP==="ios"?"padding-top: 6rem;":"")},null,8,["logotype","style"])):e.createCommentVNode("",!0)]),_:1}),e.createVNode(C.default,{onClosePopup:m,isPopupOpen:n.state.isOpenLocationPopup,class:"bg-white pd-semi w-m-33r radius-big"},{default:e.withCtx(()=>[e.createVNode(_.default)]),_:1},8,["isPopupOpen"]),e.createElementVNode("section",{id:"screen",ref:"screen",onScroll:g,class:"transition-ease-in-out h-min-100 w-100 bg-white pos-relative o-scroll"},[e.createVNode(N.default),(e.openBlock(),e.createBlock(e.Suspense,null,{default:e.withCtx(()=>[e.createVNode(h,{class:e.normalizeClass({"mn-b-extra":t.MOBILE_APP})},{default:e.withCtx(({Component:y,route:k})=>[n.state.error.show?(e.openBlock(),e.createBlock(B.default,{key:0,data:n.state.error,class:"z-index-7"},null,8,["data"])):e.createCommentVNode("",!0),e.createVNode(e.Transition,{onBeforeEnter:f,name:"scaleIn",mode:"out-in",appear:""},{default:e.withCtx(()=>[(e.openBlock(),e.createBlock(e.resolveDynamicComponent(y),{ref_key:"page",ref:i,key:k.path}))]),_:2},1024)]),_:1},8,["class"])]),_:1}))],544),t.MOBILE_APP&&e.unref(r).meta.title_hide?(e.openBlock(),e.createBlock(w.default,{key:0,class:"pd-small z-index-2"})):e.createCommentVNode("",!0)])}}};exports.default=q;
@@ -1,106 +1,175 @@
1
- import { ref as e, computed as C, onMounted as y, resolveComponent as P, openBlock as r, createElementBlock as O, createVNode as o, Transition as m, withCtx as a, unref as f, createBlock as i, createCommentVNode as d, Suspense as S, withDirectives as L, resolveDynamicComponent as x, vShow as B } from "vue";
2
- import { useRoute as I, useRouter as E } from "vue-router";
3
- import { state as t } from "../../store/globals.js";
4
- import W from "../../../../../components/Loader/Loader.vue2.js";
5
- import $ from "../../../../../components/Status/Status.vue.js";
6
- import N from "../../../../../components/Popup/Popup.vue.js";
1
+ import { defineAsyncComponent as O, ref as c, computed as E, onMounted as I, resolveComponent as S, openBlock as o, createElementBlock as T, createVNode as s, Transition as f, withCtx as l, createBlock as n, unref as i, createCommentVNode as p, resolveDynamicComponent as _, normalizeStyle as b, createElementVNode as R, Suspense as A, normalizeClass as M } from "vue";
2
+ import { useRoute as N, useRouter as x } from "vue-router";
3
+ import { state as m } from "../../store/globals.js";
4
+ import z from "../../../../../components/Status/Status.vue.js";
5
+ import V from "../../../../../components/Popup/Popup.vue2.js";
7
6
  import "vue-i18n";
8
7
  /* empty css */
9
- import T from "../partials/LocationSelection.vue.js";
8
+ import W from "../partials/LocationSelection.vue.js";
10
9
  import "../../../../products/store/categories.js";
11
- import V from "../../../../orders/components/partials/ShopCart.vue.js";
10
+ import Y from "../partials/BottomNavigation.vue.js";
11
+ import F from "../partials/NavigationBar.vue.js";
12
+ import j from "../../../../orders/components/partials/ShopCart.vue.js";
12
13
  /* empty css */
13
- const b = {
14
+ const q = {
14
15
  id: "app-wrapper",
15
16
  class: "pos-relative"
16
- }, U = {
17
+ }, se = {
17
18
  __name: "Client",
18
19
  setup(D) {
19
- const c = I();
20
- E();
21
- let s = e(!1);
22
- const l = e(null);
23
- e(null);
24
- const u = e(c.query.referalCode);
25
- function _() {
26
- t.isOpenLocationPopup = !1;
20
+ const y = O(() => import(
21
+ /* webpackChunkName: "loader" */
22
+ "../../../../../components/Loader/Loader.vue2.js"
23
+ ));
24
+ let h = c(!1);
25
+ const v = c(null), r = N();
26
+ x();
27
+ const g = c(r.query.referalCode);
28
+ function P() {
29
+ m.isOpenLocationPopup = !1;
27
30
  }
28
- function v() {
31
+ function k() {
29
32
  document.getElementById("app").scrollIntoView();
30
33
  }
31
- const g = e(0);
32
- return e(null), C(() => g.value > 50 ? "light" : c.meta.header_theme || "light"), y(async () => {
34
+ const u = c(0);
35
+ let d = !1;
36
+ const t = c(null), $ = E(() => u.value > 50 ? "light" : r.meta.header_theme || "light"), w = () => {
37
+ if (u.value = event.target.scrollTop, u.value > 50 && !d) {
38
+ d = !0, t.value.$el.classList.add("scrolled");
39
+ const a = -t.value.$el.getBoundingClientRect().top;
40
+ t.value.$el.style.transform = `translateY(${a}px)`, setTimeout(() => {
41
+ t.value.$el.style.transform = "translateY(0)";
42
+ }, 0);
43
+ } else if (u.value <= 75 && d) {
44
+ d = !1, t.value.$el.classList.remove("scrolled");
45
+ const a = t.value.$el.getBoundingClientRect().top;
46
+ t.value.$el.style.transform = `translateY(${a}px)`, setTimeout(() => {
47
+ t.value.$el.style.transform = "translateY(0)";
48
+ }, 0);
49
+ }
50
+ };
51
+ return I(async () => {
33
52
  "serviceWorker" in navigator && window.addEventListener("load", () => {
34
- navigator.serviceWorker.register("/service-worker.js").then((n) => {
35
- console.log("SW registered: ", n);
36
- }).catch((n) => {
37
- console.log("SW registration failed: ", n);
53
+ navigator.serviceWorker.register("/service-worker.js").then((a) => {
54
+ console.log("SW registered: ", a);
55
+ }).catch((a) => {
56
+ console.log("SW registration failed: ", a);
38
57
  });
39
- }), l && (s.value = !0);
40
- const p = localStorage.getItem("position");
41
- p ? t.position = JSON.parse(p) : t.isOpenLocationPopup = !0, u.value && localStorage.setItem("referalCode", u.value);
42
- }), (p, n) => {
43
- const h = P("router-view");
44
- return r(), O("div", b, [
45
- o(m, {
58
+ });
59
+ const e = localStorage.getItem("position");
60
+ e ? m.position = JSON.parse(e) : m.isOpenLocationPopup = !0, g.value && localStorage.setItem("referalCode", g.value), v && (h.value = !0);
61
+ }), (e, a) => {
62
+ const B = S("router-view");
63
+ return o(), T("div", q, [
64
+ s(f, {
46
65
  name: "moveFromTop",
47
66
  appear: ""
48
67
  }, {
49
- default: a(() => [
50
- !l.value && !f(s) ? (r(), i(W, {
68
+ default: l(() => [
69
+ v.value ? p("", !0) : (o(), n(i(y), {
51
70
  key: 0,
52
71
  class: "pos-fixed"
53
- })) : d("", !0)
72
+ }))
54
73
  ]),
55
74
  _: 1
56
75
  }),
57
- o(N, {
58
- onClosePopup: _,
59
- isPopupOpen: t.isOpenLocationPopup,
76
+ s(f, {
77
+ name: "moveFromTop",
78
+ mode: "out-in",
79
+ appear: ""
80
+ }, {
81
+ default: l(() => [
82
+ e.MOBILE_APP ? p("", !0) : (o(), n(_(i(r).meta.header), {
83
+ key: 0,
84
+ ref_key: "header",
85
+ ref: t,
86
+ class: "transition-ease-in-out pos-relative br-b br-solid br-grey-transp-10 pos-t-0",
87
+ theme: $.value,
88
+ logotype: i(r).meta.logotype
89
+ }, {
90
+ default: l(() => [
91
+ i(r).meta.navigation ? (o(), n(_(i(r).meta.navigation), {
92
+ key: 0,
93
+ class: "mn-l-auto desktop-only"
94
+ })) : p("", !0)
95
+ ]),
96
+ _: 1
97
+ }, 8, ["theme", "logotype"]))
98
+ ]),
99
+ _: 1
100
+ }),
101
+ s(f, {
102
+ name: "moveFromTop",
103
+ mode: "out-in",
104
+ appear: ""
105
+ }, {
106
+ default: l(() => [
107
+ e.MOBILE_APP ? (o(), n(F, {
108
+ key: 0,
109
+ logotype: i(r).meta.logotype,
110
+ style: b(e.MOBILE_APP === "ios" ? "padding-top: 6rem;" : "")
111
+ }, null, 8, ["logotype", "style"])) : p("", !0)
112
+ ]),
113
+ _: 1
114
+ }),
115
+ s(V, {
116
+ onClosePopup: P,
117
+ isPopupOpen: m.isOpenLocationPopup,
60
118
  class: "bg-white pd-semi w-m-33r radius-big"
61
119
  }, {
62
- default: a(() => [
63
- o(T)
120
+ default: l(() => [
121
+ s(W)
64
122
  ]),
65
123
  _: 1
66
124
  }, 8, ["isPopupOpen"]),
67
- o(V),
68
- t.error.show ? (r(), i($, {
125
+ R("section", {
126
+ id: "screen",
127
+ ref: "screen",
128
+ onScroll: w,
129
+ class: "transition-ease-in-out h-min-100 w-100 bg-white pos-relative o-scroll"
130
+ }, [
131
+ s(j),
132
+ (o(), n(A, null, {
133
+ default: l(() => [
134
+ s(B, {
135
+ class: M({ "mn-b-extra": e.MOBILE_APP })
136
+ }, {
137
+ default: l(({ Component: C, route: L }) => [
138
+ m.error.show ? (o(), n(z, {
139
+ key: 0,
140
+ data: m.error,
141
+ class: "z-index-7"
142
+ }, null, 8, ["data"])) : p("", !0),
143
+ s(f, {
144
+ onBeforeEnter: k,
145
+ name: "scaleIn",
146
+ mode: "out-in",
147
+ appear: ""
148
+ }, {
149
+ default: l(() => [
150
+ (o(), n(_(C), {
151
+ ref_key: "page",
152
+ ref: v,
153
+ key: L.path
154
+ }))
155
+ ]),
156
+ _: 2
157
+ }, 1024)
158
+ ]),
159
+ _: 1
160
+ }, 8, ["class"])
161
+ ]),
162
+ _: 1
163
+ }))
164
+ ], 544),
165
+ e.MOBILE_APP && i(r).meta.title_hide ? (o(), n(Y, {
69
166
  key: 0,
70
- data: t.error,
71
- class: "z-index-7"
72
- }, null, 8, ["data"])) : d("", !0),
73
- (r(), i(S, null, {
74
- default: a(() => [
75
- L(o(h, { class: "o-scroll" }, {
76
- default: a(({ Component: w, route: k }) => [
77
- o(m, {
78
- onBeforeEnter: v,
79
- name: "scaleIn",
80
- mode: "out-in",
81
- appear: ""
82
- }, {
83
- default: a(() => [
84
- (r(), i(x(w), {
85
- ref_key: "page",
86
- ref: l,
87
- key: k.path
88
- }))
89
- ]),
90
- _: 2
91
- }, 1024)
92
- ]),
93
- _: 1
94
- }, 512), [
95
- [B, f(s)]
96
- ])
97
- ]),
98
- _: 1
99
- }))
167
+ class: "pd-small z-index-2"
168
+ })) : p("", !0)
100
169
  ]);
101
170
  };
102
171
  }
103
172
  };
104
173
  export {
105
- U as default
174
+ se as default
106
175
  };
@@ -1 +1 @@
1
- "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vue"),u=require("vue-router"),b=require("vue-i18n"),a=require("../../store/globals.cjs"),n=require("../../../../orders/store/shopcart.cjs"),m=require("../../../../auth/views/store/auth.cjs");;/* empty css */const h=require("../../../../../components/Button/Button.vue2.cjs"),g=require("../../../../../components/Select/Select.vue.cjs"),f=require("../../../../../components/Checkbox/Checkbox.vue.cjs"),k=require("../../../../icons/entities/IconShopcart.vue.cjs"),p=require("../../../../icons/entities/IconProfile.vue.cjs");;/* empty css */const w={class:"i-small",fill:"inherit",xmlns:"http://www.w3.org/2000/svg",width:"50",height:"67",viewBox:"0 0 50 67"},v=e.createElementVNode("path",{d:"M25 0C11.207 0 0 11.207 0 25C0 38.793 20.832 66.668 25 66.668C29.168 66.668 50 38.793 50 25C50 11.207 38.793 0 25 0ZM25 33.332C20.418 33.332 16.668 29.582 16.668 25C16.668 20.418 20.418 16.668 25 16.668C29.582 16.668 33.332 20.418 33.332 25C33.332 29.582 29.582 33.332 25 33.332Z",fill:"inherit"},null,-1),C=[v],S={__name:"Header",props:{theme:{type:String,default:"light"},logotype:{type:Object}},setup(t){const s=t,o=u.useRouter();u.useRoute(),b.useI18n();function d(){a.state.isOpenLocationPopup=!0}return e.onMounted(()=>{n.actions.setShopcart()}),(i,l)=>{var c;return e.openBlock(),e.createElementBlock("header",{id:"header",class:e.normalizeClass(["pd-thin gap-micro flex-center flex-nowrap flex h-4r w-100 z-index-2",{"t-black bg-white":t.theme==="light","t-white bg-black":t.theme==="dark"}])},[e.createElementVNode("button",{"aria-label":"menu",onClick:l[0]||(l[0]=()=>a.state.isOpenSidebar=!a.state.isOpenSidebar),class:e.normalizeClass(["mobile-only menu-btn",{"menu-btn_active":a.state.isOpenSidebar}])},[e.createElementVNode("span",{class:e.normalizeClass(["no-events",{"bg-black":t.theme==="light","bg-white":t.theme==="dark"}])},[e.createElementVNode("span",{class:e.normalizeClass(["menu-btn__before",{"bg-black":t.theme==="light","bg-white":t.theme==="dark"}])},null,2),e.createElementVNode("span",{class:e.normalizeClass(["menu-btn__after",{"bg-black":t.theme==="light","bg-white":t.theme==="dark"}])},null,2)],2)],2),s.logotype?(e.openBlock(),e.createBlock(e.resolveDynamicComponent(s.logotype),{key:0,onClick:l[1]||(l[1]=r=>e.unref(o).push({path:"/"})),theme:t.theme,class:"h-2r w-auto cursor-pointer"},null,8,["theme"])):e.createCommentVNode("",!0),e.createElementVNode("button",{"aria-label":"button_location",class:e.normalizeClass(["cursor-pointer bg-transp pd-l-micro pd-r-micro radius-extra uppercase t-semi br-solid br-2px transition-linear",{"fill-black br-black t-black hover-bg-black hover-t-white hover-fill-white":t.theme==="light","fill-white br-white t-white hover-bg-white hover-t-black hover-fill-black":t.theme==="dark"}]),onClick:l[2]||(l[2]=r=>d())},[(e.openBlock(),e.createElementBlock("svg",w,C)),e.createTextVNode(" "+e.toDisplayString((c=a.state.position)!=null&&c.country?a.state.position.country:"World"),1)],2),e.renderSlot(i.$slots,"default"),e.createVNode(f.default,{name:"darkmode",label:"Darkmode",radio:a.state.theme.darkmode,"onUpdate:radio":l[3]||(l[3]=r=>a.actions.toggleTheme()),class:e.normalizeClass(["mn-l-thin mn-r-auto desktop-only t-semi pd-micro br-2px br-solid radius-extra",{"br-light t-black":t.theme==="light","br-dark t-white":t.theme==="dark"}]),theme:t.theme},null,8,["radio","theme","class"]),e.createVNode(h.default,{"aria-label":"shopcart",submit:r=>n.actions.toggleShopcart(),counter:n.getters.cartTotalAmount,showSucces:!1,showLoader:!1,class:"pd-zero mn-l-auto mn-r-micro"},{default:e.withCtx(()=>[e.createVNode(k.default,{class:"i-semi",fill:t.theme==="light"?"rgb(var(--black))":"rgb(var(--white))"},null,8,["fill"])]),_:1},8,["submit","counter"]),e.createVNode(h.default,{"aria-label":"profile",class:"pd-zero bg-transp",submit:m.state.access.status===!1?r=>e.unref(o).push({name:"Sign In"}):r=>e.unref(o).push({name:"User Profile",params:{_id:m.state.user._id}}),showSucces:!1,showLoader:!1},{default:e.withCtx(()=>[e.createVNode(p.default,{class:"i-semi",fill:t.theme==="light"?"rgb(var(--black))":"rgb(var(--white))"},null,8,["fill"])]),_:1},8,["submit"]),e.createVNode(g.default,{select:i.$i18n.locale,"onUpdate:select":l[4]||(l[4]=r=>i.$i18n.locale=r),options:[{name:"🌎 En",value:"en"},{name:"🇷🇺 Ru",value:"ru"}],property:"value",class:e.normalizeClass(["pos-relative uppercase pd-micro t-semi radius-thin",{"bg-light t-black":t.theme==="light","bg-dark t-white":t.theme==="dark"}])},null,8,["select","class"])],2)}}};exports.default=S;
1
+ "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vue"),u=require("vue-router"),b=require("vue-i18n"),a=require("../../store/globals.cjs"),n=require("../../../../orders/store/shopcart.cjs"),m=require("../../../../auth/views/store/auth.cjs");;/* empty css */const h=require("../../../../../components/Button/Button.vue2.cjs"),g=require("../../../../../components/Select/Select.vue2.cjs"),f=require("../../../../../components/Checkbox/Checkbox.vue.cjs"),k=require("../../../../icons/entities/IconShopcart.vue.cjs"),p=require("../../../../icons/entities/IconProfile.vue.cjs");;/* empty css */const w={class:"i-small",fill:"inherit",xmlns:"http://www.w3.org/2000/svg",width:"50",height:"67",viewBox:"0 0 50 67"},v=e.createElementVNode("path",{d:"M25 0C11.207 0 0 11.207 0 25C0 38.793 20.832 66.668 25 66.668C29.168 66.668 50 38.793 50 25C50 11.207 38.793 0 25 0ZM25 33.332C20.418 33.332 16.668 29.582 16.668 25C16.668 20.418 20.418 16.668 25 16.668C29.582 16.668 33.332 20.418 33.332 25C33.332 29.582 29.582 33.332 25 33.332Z",fill:"inherit"},null,-1),C=[v],S={__name:"Header",props:{theme:{type:String,default:"light"},logotype:{type:Object}},setup(t){const s=t,o=u.useRouter();u.useRoute(),b.useI18n();function d(){a.state.isOpenLocationPopup=!0}return e.onMounted(()=>{n.actions.setShopcart()}),(i,l)=>{var c;return e.openBlock(),e.createElementBlock("header",{id:"header",class:e.normalizeClass(["pd-thin gap-micro flex-center flex-nowrap flex h-4r w-100 z-index-2",{"t-black bg-white":t.theme==="light","t-white bg-black":t.theme==="dark"}])},[e.createElementVNode("button",{"aria-label":"menu",onClick:l[0]||(l[0]=()=>a.state.isOpenSidebar=!a.state.isOpenSidebar),class:e.normalizeClass(["mobile-only menu-btn",{"menu-btn_active":a.state.isOpenSidebar}])},[e.createElementVNode("span",{class:e.normalizeClass(["no-events",{"bg-black":t.theme==="light","bg-white":t.theme==="dark"}])},[e.createElementVNode("span",{class:e.normalizeClass(["menu-btn__before",{"bg-black":t.theme==="light","bg-white":t.theme==="dark"}])},null,2),e.createElementVNode("span",{class:e.normalizeClass(["menu-btn__after",{"bg-black":t.theme==="light","bg-white":t.theme==="dark"}])},null,2)],2)],2),s.logotype?(e.openBlock(),e.createBlock(e.resolveDynamicComponent(s.logotype),{key:0,onClick:l[1]||(l[1]=r=>e.unref(o).push({path:"/"})),theme:t.theme,class:"h-2r w-auto cursor-pointer"},null,8,["theme"])):e.createCommentVNode("",!0),e.createElementVNode("button",{"aria-label":"button_location",class:e.normalizeClass(["cursor-pointer bg-transp pd-l-micro pd-r-micro radius-extra uppercase t-semi br-solid br-2px transition-linear",{"fill-black br-black t-black hover-bg-black hover-t-white hover-fill-white":t.theme==="light","fill-white br-white t-white hover-bg-white hover-t-black hover-fill-black":t.theme==="dark"}]),onClick:l[2]||(l[2]=r=>d())},[(e.openBlock(),e.createElementBlock("svg",w,C)),e.createTextVNode(" "+e.toDisplayString((c=a.state.position)!=null&&c.country?a.state.position.country:"World"),1)],2),e.renderSlot(i.$slots,"default"),e.createVNode(f.default,{name:"darkmode",label:"Darkmode",radio:a.state.theme.darkmode,"onUpdate:radio":l[3]||(l[3]=r=>a.actions.toggleTheme()),class:e.normalizeClass(["mn-l-thin mn-r-auto desktop-only t-semi pd-micro br-2px br-solid radius-extra",{"br-light t-black":t.theme==="light","br-dark t-white":t.theme==="dark"}]),theme:t.theme},null,8,["radio","theme","class"]),e.createVNode(h.default,{"aria-label":"shopcart",submit:r=>n.actions.toggleShopcart(),counter:n.getters.cartTotalAmount,showSucces:!1,showLoader:!1,class:"pd-zero mn-l-auto mn-r-micro"},{default:e.withCtx(()=>[e.createVNode(k.default,{class:"i-semi",fill:t.theme==="light"?"rgb(var(--black))":"rgb(var(--white))"},null,8,["fill"])]),_:1},8,["submit","counter"]),e.createVNode(h.default,{"aria-label":"profile",class:"pd-zero bg-transp",submit:m.state.access.status===!1?r=>e.unref(o).push({name:"Sign In"}):r=>e.unref(o).push({name:"User Profile",params:{_id:m.state.user._id}}),showSucces:!1,showLoader:!1},{default:e.withCtx(()=>[e.createVNode(p.default,{class:"i-semi",fill:t.theme==="light"?"rgb(var(--black))":"rgb(var(--white))"},null,8,["fill"])]),_:1},8,["submit"]),e.createVNode(g.default,{select:i.$i18n.locale,"onUpdate:select":l[4]||(l[4]=r=>i.$i18n.locale=r),options:[{name:"🌎 En",value:"en"},{name:"🇷🇺 Ru",value:"ru"}],property:"value",class:e.normalizeClass(["pos-relative uppercase pd-micro t-semi radius-thin",{"bg-light t-black":t.theme==="light","bg-dark t-white":t.theme==="dark"}])},null,8,["select","class"])],2)}}};exports.default=S;
@@ -6,7 +6,7 @@ import { actions as g, getters as N } from "../../../../orders/store/shopcart.js
6
6
  import { state as f } from "../../../../auth/views/store/auth.js";
7
7
  /* empty css */
8
8
  import p from "../../../../../components/Button/Button.vue2.js";
9
- import V from "../../../../../components/Select/Select.vue.js";
9
+ import V from "../../../../../components/Select/Select.vue2.js";
10
10
  import D from "../../../../../components/Checkbox/Checkbox.vue.js";
11
11
  import E from "../../../../icons/entities/IconShopcart.vue.js";
12
12
  import M from "../../../../icons/entities/IconProfile.vue.js";
@@ -0,0 +1 @@
1
+ "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vue"),i=require("vue-router"),f=require("vue-i18n"),p=require("../../../../icons/entities/IconShopcart.vue.cjs"),k=require("../../../../icons/entities/IconProfile.vue.cjs"),g=require("../../../../../components/Button/Button.vue2.cjs");require("../../store/globals.cjs");const c=require("../../../../orders/store/shopcart.cjs"),u=require("../../../../auth/views/store/auth.cjs");;/* empty css */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"},B=e.createElementVNode("path",{fill:"rgb(var(--main))",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"},null,-1),w=[B],y={key:1,class:"t-semi h-2r h4 d-block"},v={__name:"NavigationBar",props:{theme:{type:String,default:"light"},logotype:{type:Object}},setup(s){const a=s,o=i.useRouter(),t=i.useRoute(),{t:C,mergeLocaleMessage:b,locale:d}=f.useI18n();function m(){var n;(n=t.query)!=null&&n.afterAuth?o.push({name:"Home"}):o.back()}function h(){u.state.access.status===!1?o.push({name:"Sign In"}):o.push({name:"User Profile",params:{_id:u.state.user._id}})}return(n,r)=>(e.openBlock(),e.createElementBlock("header",_,[e.createVNode(e.Transition,{name:"slideIn",mode:"out-in"},{default:e.withCtx(()=>[e.unref(t).meta.title_hide?(e.openBlock(),e.createBlock(g.default,{key:0,submit:l=>c.actions.toggleShopcart(),counter:c.getters.cartTotalAmount,showSucces:!1,showLoader:!1,class:"header-shopcart pd-zero mn-l-auto"},{default:e.withCtx(()=>[e.createVNode(p.default,{class:"i-semi",fill:"#00ff88"})]),_:1},8,["submit","counter"])):e.createCommentVNode("",!0)]),_:1}),e.createVNode(e.Transition,{name:"slideIn",mode:"out-in"},{default:e.withCtx(()=>[e.unref(t).meta.title_hide?(e.openBlock(),e.createBlock(k.default,{key:0,onClick:r[0]||(r[0]=l=>h()),class:"header-profile i-semi",fill:"#00ff88"})):(e.openBlock(),e.createElementBlock("svg",{key:1,onClick:r[1]||(r[1]=l=>m()),class:"i-semi header-arrow",width:"12",height:"22",viewBox:"0 0 12 22",fill:"none",xmlns:"http://www.w3.org/2000/svg"},w))]),_:1}),e.createVNode(e.Transition,{name:"slideIn",mode:"out-in"},{default:e.withCtx(()=>[(e.openBlock(),e.createElementBlock("div",{key:e.unref(t).meta.title_hide,class:"header-title"},[a.logotype&&e.unref(t).meta.title_hide?(e.openBlock(),e.createBlock(e.resolveDynamicComponent(a.logotype),{key:0,theme:s.theme,class:"h-2r w-auto cursor-pointer"},null,8,["theme"])):(e.openBlock(),e.createElementBlock("p",y,e.toDisplayString(e.unref(t).meta.title[e.unref(d).toLowerCase()]),1))]))]),_:1})]))}};exports.default=v;