@ozdao/prometheus-framework 0.2.128 → 0.2.130

Sign up to get free protection for your applications and to get access to all the features.
Files changed (1349) hide show
  1. package/LICENSE +1 -1
  2. package/dist/_virtual/_commonjsHelpers.cjs +1 -1
  3. package/dist/_virtual/_commonjsHelpers.js +3 -5
  4. package/dist/auth.server.js +12 -14
  5. package/dist/auth.server.mjs +12 -14
  6. package/dist/community.server.js +12 -22
  7. package/dist/community.server.mjs +12 -22
  8. package/dist/{engagement.schema-CI2ifjXN.mjs → engagement.schema-CCdSLKd4.mjs} +1 -2
  9. package/dist/{engagement.schema-fdLNO2_6.js → engagement.schema-D-9md46B.js} +1 -2
  10. package/dist/events.server.js +5 -8
  11. package/dist/events.server.mjs +5 -8
  12. package/dist/files.server.js +2 -3
  13. package/dist/files.server.mjs +2 -3
  14. package/dist/gallery.server.js +7 -3
  15. package/dist/gallery.server.mjs +7 -3
  16. package/dist/{index-BCCiEK_u.js → index-BshfsiQG.js} +8 -4
  17. package/dist/{index-B6a1mPgp.mjs → index-DKtnWDNC.mjs} +8 -4
  18. package/dist/main-Ckn0Sslr.js +92 -0
  19. package/dist/{main-Ds3Z5x5d.mjs → main-DxyAONrm.mjs} +4707 -4475
  20. package/dist/main.css +1 -1
  21. package/dist/middlewares.server.js +1 -1
  22. package/dist/middlewares.server.mjs +1 -1
  23. package/dist/node_modules/@googlemaps/js-api-loader/dist/index.js +10 -20
  24. package/dist/node_modules/embla-carousel/esm/embla-carousel.esm.js +22 -41
  25. package/dist/node_modules/embla-carousel-autoplay/esm/embla-carousel-autoplay.esm.js +3 -6
  26. package/dist/node_modules/embla-carousel-reactive-utils/esm/embla-carousel-reactive-utils.esm.js +2 -4
  27. package/dist/node_modules/fast-deep-equal/index.js +10 -20
  28. package/dist/node_modules/vue-draggable-next/dist/vue-draggable-next.esm-bundler.js +14 -28
  29. package/dist/orders.server.js +1 -1
  30. package/dist/orders.server.mjs +1 -1
  31. package/dist/organizations.server.js +6 -10
  32. package/dist/organizations.server.mjs +6 -10
  33. package/dist/products.server.js +1 -1
  34. package/dist/products.server.mjs +1 -1
  35. package/dist/prometheus-framework/node_modules/@capacitor/core/dist/index.js +1 -2
  36. package/dist/prometheus-framework/node_modules/@vuepic/vue-datepicker/dist/vue-datepicker.cjs +1 -1
  37. package/dist/prometheus-framework/node_modules/@vuepic/vue-datepicker/dist/vue-datepicker.js +3414 -3284
  38. package/dist/prometheus-framework/node_modules/bignumber.js/bignumber.js +84 -163
  39. package/dist/prometheus-framework/node_modules/date-fns/_lib/protectedTokens.js +1 -2
  40. package/dist/prometheus-framework/node_modules/date-fns/addMonths.js +1 -2
  41. package/dist/prometheus-framework/node_modules/date-fns/compareAsc.cjs +1 -0
  42. package/dist/prometheus-framework/node_modules/date-fns/compareAsc.js +9 -0
  43. package/dist/prometheus-framework/node_modules/date-fns/differenceInCalendarYears.cjs +1 -0
  44. package/dist/prometheus-framework/node_modules/date-fns/differenceInCalendarYears.js +9 -0
  45. package/dist/prometheus-framework/node_modules/date-fns/differenceInYears.cjs +1 -0
  46. package/dist/prometheus-framework/node_modules/date-fns/differenceInYears.js +13 -0
  47. package/dist/prometheus-framework/node_modules/date-fns/format.js +1 -2
  48. package/dist/prometheus-framework/node_modules/date-fns/locale/_lib/buildMatchPatternFn.js +2 -4
  49. package/dist/prometheus-framework/node_modules/date-fns/parse/_lib/Setter.cjs +1 -1
  50. package/dist/prometheus-framework/node_modules/date-fns/parse/_lib/Setter.js +11 -11
  51. package/dist/prometheus-framework/node_modules/date-fns/parse/_lib/parsers/AMPMMidnightParser.cjs +1 -1
  52. package/dist/prometheus-framework/node_modules/date-fns/parse/_lib/parsers/AMPMMidnightParser.js +1 -1
  53. package/dist/prometheus-framework/node_modules/date-fns/parse/_lib/parsers/AMPMParser.cjs +1 -1
  54. package/dist/prometheus-framework/node_modules/date-fns/parse/_lib/parsers/AMPMParser.js +1 -1
  55. package/dist/prometheus-framework/node_modules/date-fns/parse/_lib/parsers/DateParser.cjs +1 -1
  56. package/dist/prometheus-framework/node_modules/date-fns/parse/_lib/parsers/DateParser.js +1 -1
  57. package/dist/prometheus-framework/node_modules/date-fns/parse/_lib/parsers/DayOfYearParser.cjs +1 -1
  58. package/dist/prometheus-framework/node_modules/date-fns/parse/_lib/parsers/DayOfYearParser.js +1 -1
  59. package/dist/prometheus-framework/node_modules/date-fns/parse/_lib/parsers/DayParser.cjs +1 -1
  60. package/dist/prometheus-framework/node_modules/date-fns/parse/_lib/parsers/DayParser.js +1 -1
  61. package/dist/prometheus-framework/node_modules/date-fns/parse/_lib/parsers/DayPeriodParser.cjs +1 -1
  62. package/dist/prometheus-framework/node_modules/date-fns/parse/_lib/parsers/DayPeriodParser.js +1 -1
  63. package/dist/prometheus-framework/node_modules/date-fns/parse/_lib/parsers/EraParser.cjs +1 -1
  64. package/dist/prometheus-framework/node_modules/date-fns/parse/_lib/parsers/EraParser.js +1 -1
  65. package/dist/prometheus-framework/node_modules/date-fns/parse/_lib/parsers/ExtendedYearParser.cjs +1 -1
  66. package/dist/prometheus-framework/node_modules/date-fns/parse/_lib/parsers/ExtendedYearParser.js +1 -1
  67. package/dist/prometheus-framework/node_modules/date-fns/parse/_lib/parsers/FractionOfSecondParser.cjs +1 -1
  68. package/dist/prometheus-framework/node_modules/date-fns/parse/_lib/parsers/FractionOfSecondParser.js +1 -1
  69. package/dist/prometheus-framework/node_modules/date-fns/parse/_lib/parsers/Hour0To11Parser.cjs +1 -1
  70. package/dist/prometheus-framework/node_modules/date-fns/parse/_lib/parsers/Hour0To11Parser.js +1 -1
  71. package/dist/prometheus-framework/node_modules/date-fns/parse/_lib/parsers/Hour0to23Parser.cjs +1 -1
  72. package/dist/prometheus-framework/node_modules/date-fns/parse/_lib/parsers/Hour0to23Parser.js +1 -1
  73. package/dist/prometheus-framework/node_modules/date-fns/parse/_lib/parsers/Hour1To24Parser.cjs +1 -1
  74. package/dist/prometheus-framework/node_modules/date-fns/parse/_lib/parsers/Hour1To24Parser.js +1 -1
  75. package/dist/prometheus-framework/node_modules/date-fns/parse/_lib/parsers/Hour1to12Parser.cjs +1 -1
  76. package/dist/prometheus-framework/node_modules/date-fns/parse/_lib/parsers/Hour1to12Parser.js +1 -1
  77. package/dist/prometheus-framework/node_modules/date-fns/parse/_lib/parsers/ISODayParser.cjs +1 -1
  78. package/dist/prometheus-framework/node_modules/date-fns/parse/_lib/parsers/ISODayParser.js +1 -1
  79. package/dist/prometheus-framework/node_modules/date-fns/parse/_lib/parsers/ISOTimezoneParser.cjs +1 -1
  80. package/dist/prometheus-framework/node_modules/date-fns/parse/_lib/parsers/ISOTimezoneParser.js +1 -1
  81. package/dist/prometheus-framework/node_modules/date-fns/parse/_lib/parsers/ISOTimezoneWithZParser.cjs +1 -1
  82. package/dist/prometheus-framework/node_modules/date-fns/parse/_lib/parsers/ISOTimezoneWithZParser.js +1 -1
  83. package/dist/prometheus-framework/node_modules/date-fns/parse/_lib/parsers/ISOWeekParser.cjs +1 -1
  84. package/dist/prometheus-framework/node_modules/date-fns/parse/_lib/parsers/ISOWeekParser.js +1 -1
  85. package/dist/prometheus-framework/node_modules/date-fns/parse/_lib/parsers/ISOWeekYearParser.cjs +1 -1
  86. package/dist/prometheus-framework/node_modules/date-fns/parse/_lib/parsers/ISOWeekYearParser.js +1 -1
  87. package/dist/prometheus-framework/node_modules/date-fns/parse/_lib/parsers/LocalDayParser.cjs +1 -1
  88. package/dist/prometheus-framework/node_modules/date-fns/parse/_lib/parsers/LocalDayParser.js +1 -1
  89. package/dist/prometheus-framework/node_modules/date-fns/parse/_lib/parsers/LocalWeekParser.cjs +1 -1
  90. package/dist/prometheus-framework/node_modules/date-fns/parse/_lib/parsers/LocalWeekParser.js +1 -1
  91. package/dist/prometheus-framework/node_modules/date-fns/parse/_lib/parsers/LocalWeekYearParser.cjs +1 -1
  92. package/dist/prometheus-framework/node_modules/date-fns/parse/_lib/parsers/LocalWeekYearParser.js +1 -1
  93. package/dist/prometheus-framework/node_modules/date-fns/parse/_lib/parsers/MinuteParser.cjs +1 -1
  94. package/dist/prometheus-framework/node_modules/date-fns/parse/_lib/parsers/MinuteParser.js +1 -1
  95. package/dist/prometheus-framework/node_modules/date-fns/parse/_lib/parsers/MonthParser.cjs +1 -1
  96. package/dist/prometheus-framework/node_modules/date-fns/parse/_lib/parsers/MonthParser.js +1 -1
  97. package/dist/prometheus-framework/node_modules/date-fns/parse/_lib/parsers/QuarterParser.cjs +1 -1
  98. package/dist/prometheus-framework/node_modules/date-fns/parse/_lib/parsers/QuarterParser.js +1 -1
  99. package/dist/prometheus-framework/node_modules/date-fns/parse/_lib/parsers/SecondParser.cjs +1 -1
  100. package/dist/prometheus-framework/node_modules/date-fns/parse/_lib/parsers/SecondParser.js +1 -1
  101. package/dist/prometheus-framework/node_modules/date-fns/parse/_lib/parsers/StandAloneLocalDayParser.cjs +1 -1
  102. package/dist/prometheus-framework/node_modules/date-fns/parse/_lib/parsers/StandAloneLocalDayParser.js +1 -1
  103. package/dist/prometheus-framework/node_modules/date-fns/parse/_lib/parsers/StandAloneMonthParser.cjs +1 -1
  104. package/dist/prometheus-framework/node_modules/date-fns/parse/_lib/parsers/StandAloneMonthParser.js +1 -1
  105. package/dist/prometheus-framework/node_modules/date-fns/parse/_lib/parsers/StandAloneQuarterParser.cjs +1 -1
  106. package/dist/prometheus-framework/node_modules/date-fns/parse/_lib/parsers/StandAloneQuarterParser.js +1 -1
  107. package/dist/prometheus-framework/node_modules/date-fns/parse/_lib/parsers/TimestampMillisecondsParser.cjs +1 -1
  108. package/dist/prometheus-framework/node_modules/date-fns/parse/_lib/parsers/TimestampMillisecondsParser.js +6 -6
  109. package/dist/prometheus-framework/node_modules/date-fns/parse/_lib/parsers/TimestampSecondsParser.cjs +1 -1
  110. package/dist/prometheus-framework/node_modules/date-fns/parse/_lib/parsers/TimestampSecondsParser.js +6 -6
  111. package/dist/prometheus-framework/node_modules/date-fns/parse/_lib/parsers/YearParser.cjs +1 -1
  112. package/dist/prometheus-framework/node_modules/date-fns/parse/_lib/parsers/YearParser.js +1 -1
  113. package/dist/prometheus-framework/node_modules/date-fns/startOfMonth.cjs +1 -0
  114. package/dist/prometheus-framework/node_modules/date-fns/startOfMonth.js +9 -0
  115. package/dist/prometheus-framework/node_modules/libphonenumber-js/es6/ParseError.js +4 -8
  116. package/dist/prometheus-framework/node_modules/libphonenumber-js/es6/format.js +5 -10
  117. package/dist/prometheus-framework/node_modules/libphonenumber-js/es6/helpers/getCountryByNationalNumber.js +4 -8
  118. package/dist/prometheus-framework/node_modules/libphonenumber-js/es6/helpers/getNumberType.js +4 -8
  119. package/dist/prometheus-framework/node_modules/libphonenumber-js/es6/normalizeArguments.js +7 -14
  120. package/dist/prometheus-framework/node_modules/libphonenumber-js/es6/parse.js +1 -2
  121. package/dist/prometheus-framework/node_modules/libphonenumber-js/es6/parseIncompletePhoneNumber.js +4 -8
  122. package/dist/prometheus-framework/node_modules/libphonenumber-js/es6/parsePhoneNumber_.js +1 -2
  123. package/dist/prometheus-framework/node_modules/libphonenumber-js/es6/tools/semver-compare.js +4 -8
  124. package/dist/prometheus-framework/node_modules/libphonenumber-js/metadata.min.json.cjs +1 -1
  125. package/dist/prometheus-framework/node_modules/libphonenumber-js/metadata.min.json.js +1 -1
  126. package/dist/prometheus-framework/src/components/Address/Address.vue2.cjs +1 -1
  127. package/dist/prometheus-framework/src/components/Address/Address.vue2.js +1 -1
  128. package/dist/prometheus-framework/src/components/Block/Block.vue.cjs +1 -1
  129. package/dist/prometheus-framework/src/components/Block/Block.vue.js +1 -1
  130. package/dist/prometheus-framework/src/components/BottomSheet/BottomSheet.vue.cjs +1 -0
  131. package/dist/prometheus-framework/src/components/BottomSheet/BottomSheet.vue.js +71 -0
  132. package/dist/prometheus-framework/src/components/Button/Button.vue2.cjs +1 -1
  133. package/dist/prometheus-framework/src/components/Button/Button.vue2.js +24 -23
  134. package/dist/prometheus-framework/src/components/Checkbox/Checkbox.vue.js +1 -2
  135. package/dist/prometheus-framework/src/components/Chips/Chips.vue.cjs +1 -1
  136. package/dist/prometheus-framework/src/components/Chips/Chips.vue.js +1 -1
  137. package/dist/prometheus-framework/src/components/DatePicker/Calendar.vue2.cjs +1 -1
  138. package/dist/prometheus-framework/src/components/DatePicker/Calendar.vue2.js +1 -1
  139. package/dist/prometheus-framework/src/components/Dropdown/Dropdown.vue.cjs +1 -1
  140. package/dist/prometheus-framework/src/components/Dropdown/Dropdown.vue.js +1 -1
  141. package/dist/prometheus-framework/src/components/Feed/Feed.vue.cjs +1 -1
  142. package/dist/prometheus-framework/src/components/Feed/Feed.vue.js +146 -114
  143. package/dist/prometheus-framework/src/components/Field/Field.vue2.cjs +1 -1
  144. package/dist/prometheus-framework/src/components/Field/Field.vue2.js +1 -1
  145. package/dist/prometheus-framework/src/components/FieldBig/FieldBig.vue.cjs +1 -1
  146. package/dist/prometheus-framework/src/components/FieldBig/FieldBig.vue.js +5 -5
  147. package/dist/prometheus-framework/src/components/FieldPhone/FieldPhone.vue.cjs +1 -1
  148. package/dist/prometheus-framework/src/components/FieldPhone/FieldPhone.vue.js +1 -1
  149. package/dist/prometheus-framework/src/components/FieldTags/BlockTags.vue.cjs +1 -1
  150. package/dist/prometheus-framework/src/components/FieldTags/BlockTags.vue.js +1 -1
  151. package/dist/prometheus-framework/src/components/FieldTags/FieldTags.vue.cjs +1 -1
  152. package/dist/prometheus-framework/src/components/FieldTags/FieldTags.vue.js +1 -1
  153. package/dist/prometheus-framework/src/components/FieldTags/create-tags.js +4 -8
  154. package/dist/prometheus-framework/src/components/FieldTags/tag-input.vue2.cjs +1 -1
  155. package/dist/prometheus-framework/src/components/FieldTags/tag-input.vue2.js +1 -1
  156. package/dist/prometheus-framework/src/components/FieldTags/vue-tags-input.js +5 -10
  157. package/dist/prometheus-framework/src/components/Loader/Loader.vue2.cjs +1 -1
  158. package/dist/prometheus-framework/src/components/Loader/Loader.vue2.js +1 -1
  159. package/dist/prometheus-framework/src/components/LocationMarker/LocationMarker.vue2.cjs +1 -1
  160. package/dist/prometheus-framework/src/components/LocationMarker/LocationMarker.vue2.js +1 -1
  161. package/dist/prometheus-framework/src/components/Map/Map.vue.cjs +1 -1
  162. package/dist/prometheus-framework/src/components/Map/Map.vue.js +1 -1
  163. package/dist/prometheus-framework/src/components/Marquee/Marquee.vue.cjs +1 -1
  164. package/dist/prometheus-framework/src/components/Marquee/Marquee.vue.js +1 -1
  165. package/dist/prometheus-framework/src/components/Menu/Menu.vue2.cjs +1 -0
  166. package/dist/prometheus-framework/src/{modules/mobile/components/Menu/Menu.vue.js → components/Menu/Menu.vue2.js} +1 -1
  167. package/dist/prometheus-framework/src/components/Menu/MenuItem.vue.cjs +1 -0
  168. package/dist/prometheus-framework/src/{modules/mobile/components → components}/Menu/MenuItem.vue.js +1 -1
  169. package/dist/prometheus-framework/src/components/PhotoViewer/PhotoViewer.vue.cjs +1 -0
  170. package/dist/prometheus-framework/src/{modules/gallery/components/blocks → components/PhotoViewer}/PhotoViewer.vue.js +7 -7
  171. package/dist/prometheus-framework/src/components/Popup/Popup.vue.cjs +1 -1
  172. package/dist/prometheus-framework/src/components/Popup/Popup.vue.js +77 -1
  173. package/dist/prometheus-framework/src/components/Select/Select.vue2.cjs +1 -1
  174. package/dist/prometheus-framework/src/components/Select/Select.vue2.js +1 -1
  175. package/dist/prometheus-framework/src/components/SelectMulti/SelectMulti.vue.cjs +1 -1
  176. package/dist/prometheus-framework/src/components/SelectMulti/SelectMulti.vue.js +1 -1
  177. package/dist/prometheus-framework/src/components/SelectMulti/multiselectMixin.js +5 -10
  178. package/dist/prometheus-framework/src/components/Slider/Slider.vue.cjs +1 -1
  179. package/dist/prometheus-framework/src/components/Slider/Slider.vue.js +1 -1
  180. package/dist/prometheus-framework/src/components/Spoiler/Spoiler.vue2.cjs +1 -1
  181. package/dist/prometheus-framework/src/components/Spoiler/Spoiler.vue2.js +1 -1
  182. package/dist/prometheus-framework/src/components/Tab/Tab.vue2.cjs +1 -1
  183. package/dist/prometheus-framework/src/components/Tab/Tab.vue2.js +1 -1
  184. package/dist/prometheus-framework/src/components/Tooltip/Tooltip.vue.cjs +1 -1
  185. package/dist/prometheus-framework/src/components/Tooltip/Tooltip.vue.js +45 -1
  186. package/dist/prometheus-framework/src/components/Upload/Upload.vue.cjs +1 -1
  187. package/dist/prometheus-framework/src/components/Upload/Upload.vue.js +2 -2
  188. package/dist/prometheus-framework/src/components/UploadImage/UploadImage.vue.cjs +1 -1
  189. package/dist/prometheus-framework/src/components/UploadImage/UploadImage.vue.js +1 -1
  190. package/dist/prometheus-framework/src/components/UploadImageMultiple/UploadImageMultiple.vue.cjs +1 -1
  191. package/dist/prometheus-framework/src/components/UploadImageMultiple/UploadImageMultiple.vue.js +1 -1
  192. package/dist/prometheus-framework/src/modules/auth/components/layouts/Auth.vue.cjs +1 -1
  193. package/dist/prometheus-framework/src/modules/auth/components/layouts/Auth.vue.js +5 -5
  194. package/dist/prometheus-framework/src/modules/auth/components/pages/EnterCode.vue.cjs +1 -1
  195. package/dist/prometheus-framework/src/modules/auth/components/pages/EnterCode.vue.js +1 -1
  196. package/dist/prometheus-framework/src/modules/auth/components/pages/EnterPassword.vue.cjs +1 -1
  197. package/dist/prometheus-framework/src/modules/auth/components/pages/EnterPassword.vue.js +2 -2
  198. package/dist/prometheus-framework/src/modules/auth/components/pages/Invite.vue.cjs +1 -1
  199. package/dist/prometheus-framework/src/modules/auth/components/pages/Invite.vue.js +2 -2
  200. package/dist/prometheus-framework/src/modules/auth/components/pages/ResetPassword.vue.cjs +1 -1
  201. package/dist/prometheus-framework/src/modules/auth/components/pages/ResetPassword.vue.js +1 -1
  202. package/dist/prometheus-framework/src/modules/auth/components/pages/SignIn.vue.cjs +1 -1
  203. package/dist/prometheus-framework/src/modules/auth/components/pages/SignIn.vue.js +1 -1
  204. package/dist/prometheus-framework/src/modules/auth/components/pages/SignUp.vue.cjs +1 -1
  205. package/dist/prometheus-framework/src/modules/auth/components/pages/SignUp.vue.js +1 -1
  206. package/dist/prometheus-framework/src/modules/auth/components/sections/SliderFeatures.vue.cjs +1 -1
  207. package/dist/prometheus-framework/src/modules/auth/components/sections/SliderFeatures.vue.js +1 -1
  208. package/dist/prometheus-framework/src/modules/auth/store/auth.cjs +1 -1
  209. package/dist/prometheus-framework/src/modules/auth/store/auth.js +8 -7
  210. package/dist/prometheus-framework/src/modules/auth/store/twofa.cjs +1 -1
  211. package/dist/prometheus-framework/src/modules/auth/store/twofa.js +1 -1
  212. package/dist/prometheus-framework/src/modules/backoffice/components/pages/Dashboard.vue.cjs +1 -1
  213. package/dist/prometheus-framework/src/modules/backoffice/components/pages/Dashboard.vue.js +115 -78
  214. package/dist/prometheus-framework/src/modules/backoffice/router/backoffice.cjs +1 -1
  215. package/dist/prometheus-framework/src/modules/backoffice/router/backoffice.js +8 -23
  216. package/dist/prometheus-framework/src/modules/chats/components/pages/ChatPage.vue.cjs +1 -1
  217. package/dist/prometheus-framework/src/modules/chats/components/pages/ChatPage.vue.js +1 -1
  218. package/dist/prometheus-framework/src/modules/chats/components/sections/ChatWindow.vue.cjs +1 -1
  219. package/dist/prometheus-framework/src/modules/chats/components/sections/ChatWindow.vue.js +1 -1
  220. package/dist/prometheus-framework/src/modules/community/components/blocks/CardBlogpost.vue.cjs +1 -1
  221. package/dist/prometheus-framework/src/modules/community/components/blocks/CardBlogpost.vue.js +62 -70
  222. package/dist/prometheus-framework/src/modules/community/components/layouts/Community.vue.cjs +1 -1
  223. package/dist/prometheus-framework/src/modules/community/components/layouts/Community.vue.js +1 -1
  224. package/dist/prometheus-framework/src/modules/community/components/pages/Blog.vue.cjs +1 -1
  225. package/dist/prometheus-framework/src/modules/community/components/pages/Blog.vue.js +1 -1
  226. package/dist/prometheus-framework/src/modules/community/components/pages/BlogPost.vue.cjs +1 -1
  227. package/dist/prometheus-framework/src/modules/community/components/pages/BlogPost.vue.js +1 -1
  228. package/dist/prometheus-framework/src/modules/community/components/pages/Community.vue.cjs +1 -1
  229. package/dist/prometheus-framework/src/modules/community/components/pages/Community.vue.js +10 -10
  230. package/dist/prometheus-framework/src/modules/community/components/pages/CreateBlogPost.vue.cjs +1 -1
  231. package/dist/prometheus-framework/src/modules/community/components/pages/CreateBlogPost.vue.js +3 -3
  232. package/dist/prometheus-framework/src/modules/community/components/sections/Comments.vue.cjs +1 -1
  233. package/dist/prometheus-framework/src/modules/community/components/sections/Comments.vue.js +1 -1
  234. package/dist/prometheus-framework/src/modules/community/components/sections/HotPosts.vue.cjs +1 -1
  235. package/dist/prometheus-framework/src/modules/community/components/sections/HotPosts.vue.js +22 -21
  236. package/dist/prometheus-framework/src/modules/community/components/sections/JoinUs.vue.cjs +1 -1
  237. package/dist/prometheus-framework/src/modules/community/components/sections/JoinUs.vue.js +1 -1
  238. package/dist/prometheus-framework/src/modules/community/store/blogposts.cjs +1 -1
  239. package/dist/prometheus-framework/src/modules/community/store/blogposts.js +1 -1
  240. package/dist/prometheus-framework/src/modules/community/store/reactions.cjs +1 -1
  241. package/dist/prometheus-framework/src/modules/community/store/reactions.js +1 -1
  242. package/dist/prometheus-framework/src/modules/constructor/components/elements/H2.vue.cjs +1 -1
  243. package/dist/prometheus-framework/src/modules/constructor/components/elements/H2.vue.js +1 -1
  244. package/dist/prometheus-framework/src/modules/constructor/components/elements/ImageUpload.vue.cjs +1 -1
  245. package/dist/prometheus-framework/src/modules/constructor/components/elements/ImageUpload.vue.js +1 -1
  246. package/dist/prometheus-framework/src/modules/constructor/components/elements/Textarea.vue2.cjs +1 -1
  247. package/dist/prometheus-framework/src/modules/constructor/components/elements/Textarea.vue2.js +1 -1
  248. package/dist/prometheus-framework/src/modules/constructor/components/elements/VideoPlayer.vue.cjs +1 -1
  249. package/dist/prometheus-framework/src/modules/constructor/components/elements/VideoPlayer.vue.js +4 -3
  250. package/dist/prometheus-framework/src/modules/constructor/components/sections/Constructor.vue.js +1 -2
  251. package/dist/prometheus-framework/src/modules/events/components/elements/ButtonCheck.vue.cjs +1 -1
  252. package/dist/prometheus-framework/src/modules/events/components/elements/ButtonCheck.vue.js +2 -2
  253. package/dist/prometheus-framework/src/modules/events/components/elements/ButtonJoin.vue.cjs +1 -1
  254. package/dist/prometheus-framework/src/modules/events/components/elements/ButtonJoin.vue.js +1 -1
  255. package/dist/prometheus-framework/src/modules/events/components/pages/EditEvent.vue.cjs +1 -1
  256. package/dist/prometheus-framework/src/modules/events/components/pages/EditEvent.vue.js +5 -5
  257. package/dist/prometheus-framework/src/modules/events/components/pages/EditEventTickets.vue.cjs +1 -1
  258. package/dist/prometheus-framework/src/modules/events/components/pages/EditEventTickets.vue.js +2 -2
  259. package/dist/prometheus-framework/src/modules/events/components/pages/Event.vue.cjs +1 -1
  260. package/dist/prometheus-framework/src/modules/events/components/pages/Event.vue.js +1 -1
  261. package/dist/prometheus-framework/src/modules/events/components/pages/Events.vue.cjs +1 -1
  262. package/dist/prometheus-framework/src/modules/events/components/pages/Events.vue.js +1 -1
  263. package/dist/prometheus-framework/src/modules/events/components/sections/Feed.vue.cjs +1 -1
  264. package/dist/prometheus-framework/src/modules/events/components/sections/Feed.vue.js +1 -1
  265. package/dist/prometheus-framework/src/modules/events/components/sections/HeroEvent.vue.cjs +1 -1
  266. package/dist/prometheus-framework/src/modules/events/components/sections/HeroEvent.vue.js +1 -1
  267. package/dist/prometheus-framework/src/modules/events/components/sections/List.vue.cjs +1 -1
  268. package/dist/prometheus-framework/src/modules/events/components/sections/List.vue.js +2 -2
  269. package/dist/prometheus-framework/src/modules/events/components/sections/SectionMainGuest.vue.cjs +1 -1
  270. package/dist/prometheus-framework/src/modules/events/components/sections/SectionMainGuest.vue.js +1 -1
  271. package/dist/prometheus-framework/src/modules/events/store/events.cjs +1 -1
  272. package/dist/prometheus-framework/src/modules/events/store/events.js +1 -1
  273. package/dist/prometheus-framework/src/modules/events/store/tickets.cjs +1 -1
  274. package/dist/prometheus-framework/src/modules/events/store/tickets.js +1 -1
  275. package/dist/prometheus-framework/src/modules/gallery/components/pages/Gallery.vue.cjs +1 -1
  276. package/dist/prometheus-framework/src/modules/gallery/components/pages/Gallery.vue.js +5 -5
  277. package/dist/prometheus-framework/src/modules/gallery/components/sections/BackofficeGallery.vue.cjs +1 -1
  278. package/dist/prometheus-framework/src/modules/gallery/components/sections/BackofficeGallery.vue.js +10 -10
  279. package/dist/prometheus-framework/src/modules/gallery/router/gallery.backoffice.router.cjs +1 -0
  280. package/dist/prometheus-framework/src/modules/gallery/router/gallery.backoffice.router.js +18 -0
  281. package/dist/prometheus-framework/src/modules/globals/components/blocks/BlockFilter.vue.cjs +1 -0
  282. package/dist/prometheus-framework/src/modules/globals/components/blocks/BlockFilter.vue.js +46 -0
  283. package/dist/prometheus-framework/src/modules/globals/components/blocks/CardHeader.vue.cjs +1 -1
  284. package/dist/prometheus-framework/src/modules/globals/components/blocks/CardHeader.vue.js +21 -17
  285. package/dist/prometheus-framework/src/modules/landing/components/elements/AnimatedGrid.vue.cjs +1 -1
  286. package/dist/prometheus-framework/src/modules/landing/components/elements/AnimatedGrid.vue.js +1 -1
  287. package/dist/prometheus-framework/src/modules/landing/components/sections/MobileApp.vue.cjs +1 -1
  288. package/dist/prometheus-framework/src/modules/landing/components/sections/MobileApp.vue.js +3 -3
  289. package/dist/prometheus-framework/src/modules/landing/components/sections/SubscribeNewsletter.vue.cjs +1 -1
  290. package/dist/prometheus-framework/src/modules/landing/components/sections/SubscribeNewsletter.vue.js +11 -11
  291. package/dist/prometheus-framework/src/modules/legal/components/pages/Legal.vue.cjs +1 -1
  292. package/dist/prometheus-framework/src/modules/legal/components/pages/Legal.vue.js +5 -5
  293. package/dist/prometheus-framework/src/modules/marketplace/store/marketplace.cjs +1 -1
  294. package/dist/prometheus-framework/src/modules/marketplace/store/marketplace.js +27 -4
  295. package/dist/prometheus-framework/src/modules/middlewares/client/auth.validation.cjs +1 -1
  296. package/dist/prometheus-framework/src/modules/middlewares/client/auth.validation.js +14 -12
  297. package/dist/prometheus-framework/src/modules/orders/components/blocks/CardOrder.vue.cjs +1 -1
  298. package/dist/prometheus-framework/src/modules/orders/components/blocks/CardOrder.vue.js +1 -1
  299. package/dist/prometheus-framework/src/modules/orders/components/pages/Order.vue.cjs +1 -1
  300. package/dist/prometheus-framework/src/modules/orders/components/pages/Order.vue.js +1 -1
  301. package/dist/prometheus-framework/src/modules/orders/components/pages/OrderBackoffice.vue.cjs +1 -1
  302. package/dist/prometheus-framework/src/modules/orders/components/pages/OrderBackoffice.vue.js +32 -32
  303. package/dist/prometheus-framework/src/modules/orders/components/pages/OrderCreate.vue.cjs +1 -1
  304. package/dist/prometheus-framework/src/modules/orders/components/pages/OrderCreate.vue.js +110 -94
  305. package/dist/prometheus-framework/src/modules/orders/components/pages/OrderCreateBackoffice.vue.cjs +1 -1
  306. package/dist/prometheus-framework/src/modules/orders/components/pages/OrderCreateBackoffice.vue.js +5 -5
  307. package/dist/prometheus-framework/src/modules/orders/components/pages/Orders.vue.cjs +1 -1
  308. package/dist/prometheus-framework/src/modules/orders/components/pages/Orders.vue.js +3 -3
  309. package/dist/prometheus-framework/src/modules/orders/components/partials/ShopCart.vue.cjs +1 -1
  310. package/dist/prometheus-framework/src/modules/orders/components/partials/ShopCart.vue.js +1 -1
  311. package/dist/prometheus-framework/src/modules/orders/components/sections/AskToLogin.vue.cjs +1 -1
  312. package/dist/prometheus-framework/src/modules/orders/components/sections/AskToLogin.vue.js +13 -14
  313. package/dist/prometheus-framework/src/modules/orders/components/sections/FormAddCustomer.vue.cjs +1 -1
  314. package/dist/prometheus-framework/src/modules/orders/components/sections/FormAddCustomer.vue.js +2 -2
  315. package/dist/prometheus-framework/src/modules/orders/components/sections/FormDelivery.vue.cjs +1 -1
  316. package/dist/prometheus-framework/src/modules/orders/components/sections/FormDelivery.vue.js +20 -22
  317. package/dist/prometheus-framework/src/modules/orders/router/orders.router.cjs +1 -1
  318. package/dist/prometheus-framework/src/modules/orders/router/orders.router.js +5 -4
  319. package/dist/prometheus-framework/src/modules/orders/store/applications.cjs +1 -1
  320. package/dist/prometheus-framework/src/modules/orders/store/applications.js +1 -1
  321. package/dist/prometheus-framework/src/modules/orders/store/orders.cjs +1 -1
  322. package/dist/prometheus-framework/src/modules/orders/store/orders.js +1 -1
  323. package/dist/prometheus-framework/src/modules/organizations/components/blocks/CardDepartment.vue.cjs +1 -1
  324. package/dist/prometheus-framework/src/modules/organizations/components/blocks/CardDepartment.vue.js +3 -3
  325. package/dist/prometheus-framework/src/modules/organizations/components/blocks/DepartmentSub.vue.cjs +1 -1
  326. package/dist/prometheus-framework/src/modules/organizations/components/blocks/DepartmentSub.vue.js +1 -1
  327. package/dist/prometheus-framework/src/modules/organizations/components/blocks/EditArray.vue.cjs +1 -1
  328. package/dist/prometheus-framework/src/modules/organizations/components/blocks/EditArray.vue.js +1 -1
  329. package/dist/prometheus-framework/src/modules/organizations/components/pages/Department.vue.cjs +1 -1
  330. package/dist/prometheus-framework/src/modules/organizations/components/pages/Department.vue.js +1 -1
  331. package/dist/prometheus-framework/src/modules/organizations/components/pages/DepartmentEdit.vue.cjs +1 -1
  332. package/dist/prometheus-framework/src/modules/organizations/components/pages/DepartmentEdit.vue.js +9 -9
  333. package/dist/prometheus-framework/src/modules/organizations/components/pages/Members.vue.cjs +1 -1
  334. package/dist/prometheus-framework/src/modules/organizations/components/pages/Members.vue.js +5 -5
  335. package/dist/prometheus-framework/src/modules/organizations/components/pages/Organization.vue.cjs +1 -1
  336. package/dist/prometheus-framework/src/modules/organizations/components/pages/Organization.vue.js +5 -5
  337. package/dist/prometheus-framework/src/modules/organizations/components/pages/OrganizationBackoffice.vue.cjs +1 -0
  338. package/dist/prometheus-framework/src/modules/organizations/components/pages/OrganizationBackoffice.vue.js +154 -0
  339. package/dist/prometheus-framework/src/modules/organizations/components/pages/OrganizationEdit.vue.cjs +1 -1
  340. package/dist/prometheus-framework/src/modules/organizations/components/pages/OrganizationEdit.vue.js +4 -4
  341. package/dist/prometheus-framework/src/modules/organizations/components/sections/Documents.vue.cjs +1 -1
  342. package/dist/prometheus-framework/src/modules/organizations/components/sections/Documents.vue.js +4 -4
  343. package/dist/prometheus-framework/src/modules/organizations/components/sections/Feed.vue.cjs +1 -1
  344. package/dist/prometheus-framework/src/modules/organizations/components/sections/Feed.vue.js +1 -1
  345. package/dist/prometheus-framework/src/modules/organizations/components/sections/MembersAdd.vue.cjs +1 -1
  346. package/dist/prometheus-framework/src/modules/organizations/components/sections/MembersAdd.vue.js +1 -1
  347. package/dist/prometheus-framework/src/modules/organizations/components/sections/Organizations.vue.cjs +1 -1
  348. package/dist/prometheus-framework/src/modules/organizations/components/sections/Organizations.vue.js +10 -10
  349. package/dist/prometheus-framework/src/modules/organizations/components/sections/Publics.vue.cjs +1 -1
  350. package/dist/prometheus-framework/src/modules/organizations/components/sections/Publics.vue.js +1 -1
  351. package/dist/prometheus-framework/src/modules/organizations/router/backoffice.router.cjs +1 -0
  352. package/dist/prometheus-framework/src/modules/organizations/router/backoffice.router.js +27 -0
  353. package/dist/prometheus-framework/src/modules/organizations/router/organizations.cjs +1 -1
  354. package/dist/prometheus-framework/src/modules/organizations/router/organizations.js +9 -7
  355. package/dist/prometheus-framework/src/modules/organizations/store/departments.cjs +1 -1
  356. package/dist/prometheus-framework/src/modules/organizations/store/departments.js +1 -1
  357. package/dist/prometheus-framework/src/modules/organizations/store/invites.cjs +1 -1
  358. package/dist/prometheus-framework/src/modules/organizations/store/invites.js +1 -1
  359. package/dist/prometheus-framework/src/modules/organizations/store/memberships.cjs +1 -1
  360. package/dist/prometheus-framework/src/modules/organizations/store/memberships.js +1 -1
  361. package/dist/prometheus-framework/src/modules/organizations/store/organizations.cjs +1 -1
  362. package/dist/prometheus-framework/src/modules/organizations/store/organizations.js +1 -1
  363. package/dist/prometheus-framework/src/modules/products/components/blocks/CardLeftover.vue.cjs +1 -1
  364. package/dist/prometheus-framework/src/modules/products/components/blocks/CardLeftover.vue.js +1 -1
  365. package/dist/prometheus-framework/src/modules/products/components/blocks/CardPosition.vue.cjs +1 -1
  366. package/dist/prometheus-framework/src/modules/products/components/blocks/CardPosition.vue.js +1 -1
  367. package/dist/prometheus-framework/src/modules/products/components/blocks/Images360.vue.cjs +1 -1
  368. package/dist/prometheus-framework/src/modules/products/components/blocks/Images360.vue.js +2 -3
  369. package/dist/prometheus-framework/src/modules/products/components/blocks/ImagesThumbnails.vue.cjs +1 -1
  370. package/dist/prometheus-framework/src/modules/products/components/blocks/ImagesThumbnails.vue.js +27 -28
  371. package/dist/prometheus-framework/src/modules/products/components/blocks/LeftoverPositions.vue.cjs +1 -1
  372. package/dist/prometheus-framework/src/modules/products/components/blocks/LeftoverPositions.vue.js +1 -1
  373. package/dist/prometheus-framework/src/modules/products/components/blocks/ListPositions.vue.cjs +1 -1
  374. package/dist/prometheus-framework/src/modules/products/components/blocks/ListPositions.vue.js +2 -2
  375. package/dist/prometheus-framework/src/modules/products/components/elements/Price.vue.cjs +1 -1
  376. package/dist/prometheus-framework/src/modules/products/components/elements/Price.vue.js +1 -1
  377. package/dist/prometheus-framework/src/modules/products/components/elements/THC.vue.cjs +1 -1
  378. package/dist/prometheus-framework/src/modules/products/components/elements/THC.vue.js +1 -1
  379. package/dist/prometheus-framework/src/modules/products/components/pages/CategoryEdit.vue.cjs +1 -1
  380. package/dist/prometheus-framework/src/modules/products/components/pages/CategoryEdit.vue.js +1 -1
  381. package/dist/prometheus-framework/src/modules/products/components/pages/EditLeftover.vue.cjs +1 -1
  382. package/dist/prometheus-framework/src/modules/products/components/pages/EditLeftover.vue.js +3 -3
  383. package/dist/prometheus-framework/src/modules/products/components/pages/Leftovers.vue.cjs +1 -1
  384. package/dist/prometheus-framework/src/modules/products/components/pages/Leftovers.vue.js +1 -1
  385. package/dist/prometheus-framework/src/modules/products/components/pages/Product.vue.cjs +1 -1
  386. package/dist/prometheus-framework/src/modules/products/components/pages/Product.vue.js +23 -24
  387. package/dist/prometheus-framework/src/modules/products/components/pages/ProductEdit.vue.cjs +1 -1
  388. package/dist/prometheus-framework/src/modules/products/components/pages/ProductEdit.vue.js +4 -4
  389. package/dist/prometheus-framework/src/modules/products/components/pages/ProductRecommmendation.vue.cjs +1 -1
  390. package/dist/prometheus-framework/src/modules/products/components/pages/ProductRecommmendation.vue.js +33 -32
  391. package/dist/prometheus-framework/src/modules/products/components/sections/EditProductInfo.vue.cjs +1 -1
  392. package/dist/prometheus-framework/src/modules/products/components/sections/EditProductInfo.vue.js +2 -2
  393. package/dist/prometheus-framework/src/modules/products/components/sections/FilterProducts.vue.cjs +1 -1
  394. package/dist/prometheus-framework/src/modules/products/components/sections/FilterProducts.vue.js +73 -52
  395. package/dist/prometheus-framework/src/modules/products/components/sections/HeroRecommendation.vue.cjs +1 -1
  396. package/dist/prometheus-framework/src/modules/products/components/sections/HeroRecommendation.vue.js +6 -6
  397. package/dist/prometheus-framework/src/modules/products/components/sections/PopularProducts.vue.cjs +1 -1
  398. package/dist/prometheus-framework/src/modules/products/components/sections/PopularProducts.vue.js +52 -54
  399. package/dist/prometheus-framework/src/modules/products/components/sections/SectionProduct.vue.cjs +1 -1
  400. package/dist/prometheus-framework/src/modules/products/components/sections/SectionProduct.vue.js +23 -23
  401. package/dist/prometheus-framework/src/modules/products/store/categories.cjs +1 -1
  402. package/dist/prometheus-framework/src/modules/products/store/categories.js +1 -1
  403. package/dist/prometheus-framework/src/modules/products/store/leftovers.cjs +1 -1
  404. package/dist/prometheus-framework/src/modules/products/store/leftovers.js +1 -1
  405. package/dist/prometheus-framework/src/modules/products/store/products.cjs +1 -1
  406. package/dist/prometheus-framework/src/modules/products/store/products.js +1 -1
  407. package/dist/prometheus-framework/src/modules/reports/components/sections/FormReport.vue.cjs +1 -1
  408. package/dist/prometheus-framework/src/modules/reports/components/sections/FormReport.vue.js +1 -1
  409. package/dist/prometheus-framework/src/modules/reports/store/reports.cjs +1 -1
  410. package/dist/prometheus-framework/src/modules/reports/store/reports.js +1 -1
  411. package/dist/prometheus-framework/src/modules/spots/components/blocks/CardSpot.vue.cjs +1 -1
  412. package/dist/prometheus-framework/src/modules/spots/components/blocks/CardSpot.vue.js +1 -1
  413. package/dist/prometheus-framework/src/modules/spots/store/spots.cjs +1 -1
  414. package/dist/prometheus-framework/src/modules/spots/store/spots.js +1 -1
  415. package/dist/prometheus-framework/src/modules/users/components/pages/Profile.vue.cjs +1 -1
  416. package/dist/prometheus-framework/src/modules/users/components/pages/Profile.vue.js +64 -50
  417. package/dist/prometheus-framework/src/modules/users/components/pages/ProfileEdit.vue.cjs +1 -1
  418. package/dist/prometheus-framework/src/modules/users/components/pages/ProfileEdit.vue.js +44 -45
  419. package/dist/prometheus-framework/src/modules/users/components/sections/FeaturedUsers.vue.cjs +1 -1
  420. package/dist/prometheus-framework/src/modules/users/components/sections/FeaturedUsers.vue.js +1 -1
  421. package/dist/prometheus-framework/src/modules/users/store/users.cjs +1 -1
  422. package/dist/prometheus-framework/src/modules/users/store/users.js +1 -1
  423. package/dist/prometheus-framework/src/modules/wallet/views/components/pages/Payments.vue.cjs +1 -1
  424. package/dist/prometheus-framework/src/modules/wallet/views/components/pages/Payments.vue.js +1 -1
  425. package/dist/prometheus-framework/src/modules/wallet/views/components/pages/Wallet.vue.cjs +1 -1
  426. package/dist/prometheus-framework/src/modules/wallet/views/components/pages/Wallet.vue.js +39 -85
  427. package/dist/prometheus-framework/src/modules/wallet/views/store/payments.store.cjs +1 -1
  428. package/dist/prometheus-framework/src/modules/wallet/views/store/payments.store.js +1 -1
  429. package/dist/prometheus-framework/src/modules/wallet/views/store/wallet.store.cjs +1 -1
  430. package/dist/prometheus-framework/src/modules/wallet/views/store/wallet.store.js +1 -1
  431. package/dist/prometheus-framework.cjs.js +1 -1
  432. package/dist/prometheus-framework.es.js +24 -25
  433. package/dist/reports.server.js +3 -5
  434. package/dist/reports.server.mjs +3 -5
  435. package/dist/style.css +1 -1
  436. package/dist/users.server.js +2 -4
  437. package/dist/users.server.mjs +2 -4
  438. package/dist/wallet.server.js +7 -13
  439. package/dist/wallet.server.mjs +7 -13
  440. package/dist/{web-BNKN7kk3.mjs → web-Be96Xqd4.mjs} +1 -1
  441. package/dist/{web-Bk_OtXgv.js → web-CgjTW1bL.js} +1 -1
  442. package/package.json +2 -2
  443. package/src/{modules/mobile/components → components}/BottomSheet/BottomSheet.vue +24 -21
  444. package/src/components/Button/Button.vue +20 -3
  445. package/src/components/Feed/Feed.vue +28 -3
  446. package/src/components/FieldBig/FieldBig.vue +2 -2
  447. package/src/components/Sidebar/Sidebar.vue +13 -5
  448. package/src/components/index.js +0 -1
  449. package/src/main.js +0 -7
  450. package/src/modules/auth/controllers/auth.controller.js +14 -16
  451. package/src/modules/auth/router/auth.js +1 -4
  452. package/src/modules/auth/store/auth.js +28 -24
  453. package/src/modules/backoffice/components/pages/Dashboard.vue +29 -56
  454. package/src/modules/backoffice/router/backoffice.js +4 -15
  455. package/src/modules/community/components/blocks/CardBlogpost.vue +28 -26
  456. package/src/modules/community/components/layouts/Community.vue +1 -1
  457. package/src/modules/events/components/pages/EditEvent.vue +1 -1
  458. package/src/modules/gallery/components/pages/Gallery.vue +1 -2
  459. package/src/modules/gallery/components/sections/BackofficeGallery.vue +2 -1
  460. package/src/modules/gallery/router/gallery.backoffice.router.js +14 -0
  461. package/src/modules/globals/components/blocks/BlockFilter.vue +44 -0
  462. package/src/modules/globals/components/blocks/CardHeader.vue +5 -3
  463. package/src/modules/globals/components/layouts/Client.vue +99 -43
  464. package/src/modules/globals/components/pages/401.vue +5 -0
  465. package/src/modules/globals/components/pages/404.vue +5 -0
  466. package/src/modules/globals/components/partials/Footer.vue +17 -5
  467. package/src/modules/globals/components/partials/Header.vue +37 -18
  468. package/src/modules/globals/components/partials/Navigation.vue +7 -2
  469. package/src/modules/landing/components/sections/MobileApp.vue +2 -2
  470. package/src/modules/landing/components/sections/SubscribeNewsletter.vue +1 -1
  471. package/src/modules/landing/router/landing.js +2 -12
  472. package/src/modules/legal/components/pages/Legal.vue +2 -2
  473. package/src/modules/marketplace/components/layouts/Marketplace.vue +30 -13
  474. package/src/modules/marketplace/components/pages/Catalog.vue +2 -1
  475. package/src/modules/marketplace/router/marketplace.js +12 -10
  476. package/src/modules/marketplace/store/marketplace.js +25 -1
  477. package/src/modules/middlewares/client/auth.validation.js +5 -2
  478. package/src/modules/middlewares/server/authJwt.js +12 -6
  479. package/src/modules/middlewares/server/verifyAccesses.js +7 -3
  480. package/src/modules/orders/components/pages/OrderCreate.vue +34 -22
  481. package/src/modules/orders/components/sections/AskToLogin.vue +8 -7
  482. package/src/modules/orders/components/sections/FormDelivery.vue +6 -6
  483. package/src/modules/orders/router/orders.router.js +6 -3
  484. package/src/modules/organizations/components/pages/Members.vue +2 -2
  485. package/src/modules/organizations/components/pages/Organization.vue +2 -2
  486. package/src/modules/organizations/components/pages/OrganizationBackoffice.vue +204 -0
  487. package/src/modules/organizations/router/backoffice.router.js +25 -0
  488. package/src/modules/organizations/router/organizations.js +3 -1
  489. package/src/modules/pages/router/pages.router.js +15 -0
  490. package/src/modules/products/components/blocks/ImagesThumbnails.vue +11 -12
  491. package/src/modules/products/components/pages/Product.vue +7 -3
  492. package/src/modules/products/components/pages/ProductRecommmendation.vue +6 -5
  493. package/src/modules/products/components/sections/FilterProducts.vue +6 -6
  494. package/src/modules/products/components/sections/HeroRecommendation.vue +1 -1
  495. package/src/modules/products/components/sections/PopularProducts.vue +1 -3
  496. package/src/modules/products/components/sections/SectionProduct.vue +8 -8
  497. package/src/modules/spots/components/layouts/Spots.vue +33 -31
  498. package/src/modules/spots/components/pages/Map.vue +380 -353
  499. package/src/modules/spots/router/spots.js +3 -1
  500. package/src/modules/users/components/pages/Profile.vue +4 -4
  501. package/src/modules/users/components/pages/ProfileEdit.vue +4 -3
  502. package/src/modules/wallet/controllers/routes/payments.routes.js +0 -1
  503. package/src/styles/base/all.scss +4 -0
  504. package/src/styles/config.scss +2 -1
  505. package/src/styles/layout.scss +0 -1
  506. package/dist/_virtual/browser-ponyfill.cjs +0 -1
  507. package/dist/_virtual/browser-ponyfill.js +0 -4
  508. package/dist/_virtual/crc32.cjs +0 -1
  509. package/dist/_virtual/crc32.js +0 -4
  510. package/dist/_virtual/index.cjs +0 -1
  511. package/dist/_virtual/index.js +0 -4
  512. package/dist/_virtual/index2.cjs +0 -1
  513. package/dist/_virtual/index2.js +0 -4
  514. package/dist/credentials.schema-CDZCKfEI.mjs +0 -106
  515. package/dist/credentials.schema-CfhPcsuI.js +0 -105
  516. package/dist/index-CGIn4v5E.mjs +0 -217
  517. package/dist/index-CL9l0HRS.js +0 -216
  518. package/dist/main-8APITHuW.mjs +0 -14201
  519. package/dist/main-8N2Jmsuk.js +0 -91
  520. package/dist/main-BJvlNekm.mjs +0 -13631
  521. package/dist/main-BQisDfLk.js +0 -92
  522. package/dist/main-BV1Yv9Hy.js +0 -92
  523. package/dist/main-Ba3zK8PO.js +0 -92
  524. package/dist/main-Btlny-89.mjs +0 -14207
  525. package/dist/main-Bw0PvTs-.mjs +0 -13616
  526. package/dist/main-ByCtZbHD.mjs +0 -13752
  527. package/dist/main-CF35oB7q.js +0 -92
  528. package/dist/main-CX2ISR43.mjs +0 -13629
  529. package/dist/main-CXObXjv-.js +0 -92
  530. package/dist/main-CkeuHuCY.mjs +0 -13619
  531. package/dist/main-CmL_j3wv.mjs +0 -14223
  532. package/dist/main-CnfcBov2.mjs +0 -13740
  533. package/dist/main-D0va05OD.js +0 -92
  534. package/dist/main-D50VqYhy.js +0 -91
  535. package/dist/main-D8gNZLSa.js +0 -92
  536. package/dist/main-DL3vRQCi.js +0 -92
  537. package/dist/main-DPsHxX0l.mjs +0 -13633
  538. package/dist/main-DTlUA63C.mjs +0 -13617
  539. package/dist/main-DfD5hLQo.mjs +0 -13633
  540. package/dist/main-Dh6Zfei9.js +0 -92
  541. package/dist/main-DmNP-t33.mjs +0 -13625
  542. package/dist/main-DwyUYWFX.js +0 -92
  543. package/dist/main-VcxO-jAt.js +0 -92
  544. package/dist/main-cffh4bbv.js +0 -92
  545. package/dist/main-o_2eO2tP.mjs +0 -14208
  546. package/dist/main-pGo7JpSP.js +0 -92
  547. package/dist/metadata.schema-BLGSCSmy.mjs +0 -55
  548. package/dist/metadata.schema-Cu_mPkjE.js +0 -77
  549. package/dist/metadata.schema-DWR97jhW.js +0 -54
  550. package/dist/metadata.schema-cbFgazeK.mjs +0 -78
  551. package/dist/node_modules/@adraffy/ens-normalize/dist/index.cjs +0 -1
  552. package/dist/node_modules/@adraffy/ens-normalize/dist/index.js +0 -561
  553. package/dist/node_modules/@ethereumjs/rlp/dist/index.cjs +0 -1
  554. package/dist/node_modules/@ethereumjs/rlp/dist/index.js +0 -164
  555. package/dist/node_modules/@noble/curves/esm/_shortw_utils.cjs +0 -1
  556. package/dist/node_modules/@noble/curves/esm/_shortw_utils.js +0 -19
  557. package/dist/node_modules/@noble/curves/esm/abstract/curve.cjs +0 -1
  558. package/dist/node_modules/@noble/curves/esm/abstract/curve.js +0 -88
  559. package/dist/node_modules/@noble/curves/esm/abstract/modular.cjs +0 -1
  560. package/dist/node_modules/@noble/curves/esm/abstract/modular.js +0 -221
  561. package/dist/node_modules/@noble/curves/esm/abstract/utils.cjs +0 -1
  562. package/dist/node_modules/@noble/curves/esm/abstract/utils.js +0 -201
  563. package/dist/node_modules/@noble/curves/esm/abstract/weierstrass.cjs +0 -1
  564. package/dist/node_modules/@noble/curves/esm/abstract/weierstrass.js +0 -581
  565. package/dist/node_modules/@noble/curves/esm/secp256k1.cjs +0 -1
  566. package/dist/node_modules/@noble/curves/esm/secp256k1.js +0 -50
  567. package/dist/node_modules/@noble/hashes/esm/_assert.cjs +0 -1
  568. package/dist/node_modules/@noble/hashes/esm/_assert.js +0 -44
  569. package/dist/node_modules/@noble/hashes/esm/_sha2.cjs +0 -1
  570. package/dist/node_modules/@noble/hashes/esm/_sha2.js +0 -61
  571. package/dist/node_modules/@noble/hashes/esm/_u64.cjs +0 -1
  572. package/dist/node_modules/@noble/hashes/esm/_u64.js +0 -21
  573. package/dist/node_modules/@noble/hashes/esm/crypto.cjs +0 -1
  574. package/dist/node_modules/@noble/hashes/esm/crypto.js +0 -4
  575. package/dist/node_modules/@noble/hashes/esm/hmac.cjs +0 -1
  576. package/dist/node_modules/@noble/hashes/esm/hmac.js +0 -43
  577. package/dist/node_modules/@noble/hashes/esm/pbkdf2.cjs +0 -1
  578. package/dist/node_modules/@noble/hashes/esm/pbkdf2.js +0 -32
  579. package/dist/node_modules/@noble/hashes/esm/scrypt.cjs +0 -1
  580. package/dist/node_modules/@noble/hashes/esm/scrypt.js +0 -73
  581. package/dist/node_modules/@noble/hashes/esm/sha256.cjs +0 -1
  582. package/dist/node_modules/@noble/hashes/esm/sha256.js +0 -114
  583. package/dist/node_modules/@noble/hashes/esm/sha3.cjs +0 -1
  584. package/dist/node_modules/@noble/hashes/esm/sha3.js +0 -107
  585. package/dist/node_modules/@noble/hashes/esm/sha512.cjs +0 -1
  586. package/dist/node_modules/@noble/hashes/esm/sha512.js +0 -126
  587. package/dist/node_modules/@noble/hashes/esm/utils.cjs +0 -1
  588. package/dist/node_modules/@noble/hashes/esm/utils.js +0 -68
  589. package/dist/node_modules/abitype/dist/chunk-NHABU752.cjs +0 -1
  590. package/dist/node_modules/abitype/dist/chunk-NHABU752.js +0 -4
  591. package/dist/node_modules/abitype/dist/chunk-WP7KDV47.cjs +0 -1
  592. package/dist/node_modules/abitype/dist/chunk-WP7KDV47.js +0 -11
  593. package/dist/node_modules/abitype/dist/index.cjs +0 -2
  594. package/dist/node_modules/abitype/dist/index.js +0 -299
  595. package/dist/node_modules/crc-32/crc32.cjs +0 -1
  596. package/dist/node_modules/crc-32/crc32.js +0 -51
  597. package/dist/node_modules/cross-fetch/dist/browser-ponyfill.cjs +0 -2
  598. package/dist/node_modules/cross-fetch/dist/browser-ponyfill.js +0 -320
  599. package/dist/node_modules/ethereum-cryptography/esm/aes.cjs +0 -1
  600. package/dist/node_modules/ethereum-cryptography/esm/aes.js +0 -61
  601. package/dist/node_modules/ethereum-cryptography/esm/keccak.cjs +0 -1
  602. package/dist/node_modules/ethereum-cryptography/esm/keccak.js +0 -9
  603. package/dist/node_modules/ethereum-cryptography/esm/pbkdf2.cjs +0 -1
  604. package/dist/node_modules/ethereum-cryptography/esm/pbkdf2.js +0 -14
  605. package/dist/node_modules/ethereum-cryptography/esm/random.cjs +0 -1
  606. package/dist/node_modules/ethereum-cryptography/esm/random.js +0 -7
  607. package/dist/node_modules/ethereum-cryptography/esm/scrypt.cjs +0 -1
  608. package/dist/node_modules/ethereum-cryptography/esm/scrypt.js +0 -8
  609. package/dist/node_modules/ethereum-cryptography/esm/secp256k1.cjs +0 -1
  610. package/dist/node_modules/ethereum-cryptography/esm/secp256k1.js +0 -4
  611. package/dist/node_modules/ethereum-cryptography/esm/utils.cjs +0 -1
  612. package/dist/node_modules/ethereum-cryptography/esm/utils.js +0 -31
  613. package/dist/node_modules/eventemitter3/index.cjs +0 -1
  614. package/dist/node_modules/eventemitter3/index.js +0 -117
  615. package/dist/node_modules/eventemitter3/index2.cjs +0 -1
  616. package/dist/node_modules/eventemitter3/index2.js +0 -5
  617. package/dist/node_modules/isomorphic-ws/browser.cjs +0 -1
  618. package/dist/node_modules/isomorphic-ws/browser.js +0 -6
  619. package/dist/node_modules/setimmediate/setImmediate.cjs +0 -1
  620. package/dist/node_modules/setimmediate/setImmediate.js +0 -99
  621. package/dist/node_modules/vue-meta/dist/vue-meta.esm-browser.min.cjs +0 -7
  622. package/dist/node_modules/vue-meta/dist/vue-meta.esm-browser.min.js +0 -38
  623. package/dist/node_modules/web3/lib/esm/abi.cjs +0 -1
  624. package/dist/node_modules/web3/lib/esm/abi.js +0 -19
  625. package/dist/node_modules/web3/lib/esm/accounts.cjs +0 -1
  626. package/dist/node_modules/web3/lib/esm/accounts.js +0 -107
  627. package/dist/node_modules/web3/lib/esm/index.cjs +0 -1
  628. package/dist/node_modules/web3/lib/esm/index.js +0 -81
  629. package/dist/node_modules/web3/lib/esm/version.cjs +0 -1
  630. package/dist/node_modules/web3/lib/esm/version.js +0 -4
  631. package/dist/node_modules/web3/lib/esm/web3.cjs +0 -1
  632. package/dist/node_modules/web3/lib/esm/web3.js +0 -91
  633. package/dist/node_modules/web3/lib/esm/web3_eip6963.cjs +0 -1
  634. package/dist/node_modules/web3/lib/esm/web3_eip6963.js +0 -50
  635. package/dist/node_modules/web3-core/lib/esm/utils.cjs +0 -1
  636. package/dist/node_modules/web3-core/lib/esm/utils.js +0 -13
  637. package/dist/node_modules/web3-core/lib/esm/web3_batch_request.cjs +0 -1
  638. package/dist/node_modules/web3-core/lib/esm/web3_batch_request.js +0 -83
  639. package/dist/node_modules/web3-core/lib/esm/web3_config.cjs +0 -1
  640. package/dist/node_modules/web3-core/lib/esm/web3_config.js +0 -356
  641. package/dist/node_modules/web3-core/lib/esm/web3_context.cjs +0 -1
  642. package/dist/node_modules/web3-core/lib/esm/web3_context.js +0 -245
  643. package/dist/node_modules/web3-core/lib/esm/web3_event_emitter.cjs +0 -1
  644. package/dist/node_modules/web3-core/lib/esm/web3_event_emitter.js +0 -39
  645. package/dist/node_modules/web3-core/lib/esm/web3_promi_event.cjs +0 -1
  646. package/dist/node_modules/web3-core/lib/esm/web3_promi_event.js +0 -58
  647. package/dist/node_modules/web3-core/lib/esm/web3_request_manager.cjs +0 -1
  648. package/dist/node_modules/web3-core/lib/esm/web3_request_manager.js +0 -245
  649. package/dist/node_modules/web3-core/lib/esm/web3_subscription_manager.cjs +0 -1
  650. package/dist/node_modules/web3-core/lib/esm/web3_subscription_manager.js +0 -155
  651. package/dist/node_modules/web3-core/lib/esm/web3_subscriptions.cjs +0 -1
  652. package/dist/node_modules/web3-core/lib/esm/web3_subscriptions.js +0 -111
  653. package/dist/node_modules/web3-errors/lib/esm/error_codes.cjs +0 -1
  654. package/dist/node_modules/web3-errors/lib/esm/error_codes.js +0 -108
  655. package/dist/node_modules/web3-errors/lib/esm/errors/account_errors.cjs +0 -1
  656. package/dist/node_modules/web3-errors/lib/esm/errors/account_errors.js +0 -58
  657. package/dist/node_modules/web3-errors/lib/esm/errors/connection_errors.cjs +0 -1
  658. package/dist/node_modules/web3-errors/lib/esm/errors/connection_errors.js +0 -37
  659. package/dist/node_modules/web3-errors/lib/esm/errors/contract_errors.cjs +0 -1
  660. package/dist/node_modules/web3-errors/lib/esm/errors/contract_errors.js +0 -49
  661. package/dist/node_modules/web3-errors/lib/esm/errors/core_errors.cjs +0 -1
  662. package/dist/node_modules/web3-errors/lib/esm/errors/core_errors.js +0 -16
  663. package/dist/node_modules/web3-errors/lib/esm/errors/ens_errors.cjs +0 -1
  664. package/dist/node_modules/web3-errors/lib/esm/errors/ens_errors.js +0 -16
  665. package/dist/node_modules/web3-errors/lib/esm/errors/generic_errors.cjs +0 -1
  666. package/dist/node_modules/web3-errors/lib/esm/errors/generic_errors.js +0 -49
  667. package/dist/node_modules/web3-errors/lib/esm/errors/provider_errors.cjs +0 -1
  668. package/dist/node_modules/web3-errors/lib/esm/errors/provider_errors.js +0 -28
  669. package/dist/node_modules/web3-errors/lib/esm/errors/response_errors.cjs +0 -1
  670. package/dist/node_modules/web3-errors/lib/esm/errors/response_errors.js +0 -30
  671. package/dist/node_modules/web3-errors/lib/esm/errors/rpc_error_messages.cjs +0 -1
  672. package/dist/node_modules/web3-errors/lib/esm/errors/rpc_error_messages.js +0 -161
  673. package/dist/node_modules/web3-errors/lib/esm/errors/rpc_errors.cjs +0 -1
  674. package/dist/node_modules/web3-errors/lib/esm/errors/rpc_errors.js +0 -129
  675. package/dist/node_modules/web3-errors/lib/esm/errors/schema_errors.cjs +0 -1
  676. package/dist/node_modules/web3-errors/lib/esm/errors/schema_errors.js +0 -13
  677. package/dist/node_modules/web3-errors/lib/esm/errors/signature_errors.cjs +0 -1
  678. package/dist/node_modules/web3-errors/lib/esm/errors/signature_errors.js +0 -10
  679. package/dist/node_modules/web3-errors/lib/esm/errors/transaction_errors.cjs +0 -5
  680. package/dist/node_modules/web3-errors/lib/esm/errors/transaction_errors.js +0 -256
  681. package/dist/node_modules/web3-errors/lib/esm/errors/utils_errors.cjs +0 -1
  682. package/dist/node_modules/web3-errors/lib/esm/errors/utils_errors.js +0 -82
  683. package/dist/node_modules/web3-errors/lib/esm/web3_error_base.cjs +0 -1
  684. package/dist/node_modules/web3-errors/lib/esm/web3_error_base.js +0 -49
  685. package/dist/node_modules/web3-eth/lib/esm/constants.cjs +0 -1
  686. package/dist/node_modules/web3-eth/lib/esm/constants.js +0 -14
  687. package/dist/node_modules/web3-eth/lib/esm/rpc_method_wrappers.cjs +0 -1
  688. package/dist/node_modules/web3-eth/lib/esm/rpc_method_wrappers.js +0 -424
  689. package/dist/node_modules/web3-eth/lib/esm/schemas.cjs +0 -1
  690. package/dist/node_modules/web3-eth/lib/esm/schemas.js +0 -595
  691. package/dist/node_modules/web3-eth/lib/esm/utils/decode_signed_transaction.cjs +0 -1
  692. package/dist/node_modules/web3-eth/lib/esm/utils/decode_signed_transaction.js +0 -31
  693. package/dist/node_modules/web3-eth/lib/esm/utils/decoding.cjs +0 -1
  694. package/dist/node_modules/web3-eth/lib/esm/utils/decoding.js +0 -34
  695. package/dist/node_modules/web3-eth/lib/esm/utils/detect_transaction_type.cjs +0 -1
  696. package/dist/node_modules/web3-eth/lib/esm/utils/detect_transaction_type.js +0 -90
  697. package/dist/node_modules/web3-eth/lib/esm/utils/format_transaction.cjs +0 -1
  698. package/dist/node_modules/web3-eth/lib/esm/utils/format_transaction.js +0 -30
  699. package/dist/node_modules/web3-eth/lib/esm/utils/get_revert_reason.cjs +0 -1
  700. package/dist/node_modules/web3-eth/lib/esm/utils/get_revert_reason.js +0 -77
  701. package/dist/node_modules/web3-eth/lib/esm/utils/get_transaction_error.cjs +0 -1
  702. package/dist/node_modules/web3-eth/lib/esm/utils/get_transaction_error.js +0 -50
  703. package/dist/node_modules/web3-eth/lib/esm/utils/get_transaction_gas_pricing.cjs +0 -1
  704. package/dist/node_modules/web3-eth/lib/esm/utils/get_transaction_gas_pricing.js +0 -80
  705. package/dist/node_modules/web3-eth/lib/esm/utils/prepare_transaction_for_signing.cjs +0 -1
  706. package/dist/node_modules/web3-eth/lib/esm/utils/prepare_transaction_for_signing.js +0 -102
  707. package/dist/node_modules/web3-eth/lib/esm/utils/reject_if_block_timeout.cjs +0 -1
  708. package/dist/node_modules/web3-eth/lib/esm/utils/reject_if_block_timeout.js +0 -109
  709. package/dist/node_modules/web3-eth/lib/esm/utils/send_tx_helper.cjs +0 -1
  710. package/dist/node_modules/web3-eth/lib/esm/utils/send_tx_helper.js +0 -145
  711. package/dist/node_modules/web3-eth/lib/esm/utils/transaction_builder.cjs +0 -1
  712. package/dist/node_modules/web3-eth/lib/esm/utils/transaction_builder.js +0 -131
  713. package/dist/node_modules/web3-eth/lib/esm/utils/try_send_transaction.cjs +0 -1
  714. package/dist/node_modules/web3-eth/lib/esm/utils/try_send_transaction.js +0 -52
  715. package/dist/node_modules/web3-eth/lib/esm/utils/wait_for_transaction_receipt.cjs +0 -1
  716. package/dist/node_modules/web3-eth/lib/esm/utils/wait_for_transaction_receipt.js +0 -61
  717. package/dist/node_modules/web3-eth/lib/esm/utils/watch_transaction_by_polling.cjs +0 -1
  718. package/dist/node_modules/web3-eth/lib/esm/utils/watch_transaction_by_polling.js +0 -51
  719. package/dist/node_modules/web3-eth/lib/esm/utils/watch_transaction_by_subscription.cjs +0 -1
  720. package/dist/node_modules/web3-eth/lib/esm/utils/watch_transaction_by_subscription.js +0 -79
  721. package/dist/node_modules/web3-eth/lib/esm/utils/watch_transaction_for_confirmations.cjs +0 -1
  722. package/dist/node_modules/web3-eth/lib/esm/utils/watch_transaction_for_confirmations.js +0 -44
  723. package/dist/node_modules/web3-eth/lib/esm/validation.cjs +0 -1
  724. package/dist/node_modules/web3-eth/lib/esm/validation.js +0 -111
  725. package/dist/node_modules/web3-eth/lib/esm/web3_eth.cjs +0 -1
  726. package/dist/node_modules/web3-eth/lib/esm/web3_eth.js +0 -1661
  727. package/dist/node_modules/web3-eth/lib/esm/web3_subscriptions.cjs +0 -1
  728. package/dist/node_modules/web3-eth/lib/esm/web3_subscriptions.js +0 -65
  729. package/dist/node_modules/web3-eth-abi/lib/esm/api/errors_api.cjs +0 -1
  730. package/dist/node_modules/web3-eth-abi/lib/esm/api/errors_api.js +0 -13
  731. package/dist/node_modules/web3-eth-abi/lib/esm/api/events_api.cjs +0 -1
  732. package/dist/node_modules/web3-eth-abi/lib/esm/api/events_api.js +0 -13
  733. package/dist/node_modules/web3-eth-abi/lib/esm/api/functions_api.cjs +0 -1
  734. package/dist/node_modules/web3-eth-abi/lib/esm/api/functions_api.js +0 -26
  735. package/dist/node_modules/web3-eth-abi/lib/esm/api/logs_api.cjs +0 -1
  736. package/dist/node_modules/web3-eth-abi/lib/esm/api/logs_api.js +0 -14
  737. package/dist/node_modules/web3-eth-abi/lib/esm/api/parameters_api.cjs +0 -1
  738. package/dist/node_modules/web3-eth-abi/lib/esm/api/parameters_api.js +0 -24
  739. package/dist/node_modules/web3-eth-abi/lib/esm/coders/base/address.cjs +0 -1
  740. package/dist/node_modules/web3-eth-abi/lib/esm/coders/base/address.js +0 -47
  741. package/dist/node_modules/web3-eth-abi/lib/esm/coders/base/array.cjs +0 -1
  742. package/dist/node_modules/web3-eth-abi/lib/esm/coders/base/array.js +0 -72
  743. package/dist/node_modules/web3-eth-abi/lib/esm/coders/base/bool.cjs +0 -1
  744. package/dist/node_modules/web3-eth-abi/lib/esm/coders/base/bool.js +0 -37
  745. package/dist/node_modules/web3-eth-abi/lib/esm/coders/base/bytes.cjs +0 -1
  746. package/dist/node_modules/web3-eth-abi/lib/esm/coders/base/bytes.js +0 -66
  747. package/dist/node_modules/web3-eth-abi/lib/esm/coders/base/index.cjs +0 -1
  748. package/dist/node_modules/web3-eth-abi/lib/esm/coders/base/index.js +0 -67
  749. package/dist/node_modules/web3-eth-abi/lib/esm/coders/base/number.cjs +0 -1
  750. package/dist/node_modules/web3-eth-abi/lib/esm/coders/base/number.js +0 -85
  751. package/dist/node_modules/web3-eth-abi/lib/esm/coders/base/numbersLimits.cjs +0 -1
  752. package/dist/node_modules/web3-eth-abi/lib/esm/coders/base/numbersLimits.js +0 -15
  753. package/dist/node_modules/web3-eth-abi/lib/esm/coders/base/string.cjs +0 -1
  754. package/dist/node_modules/web3-eth-abi/lib/esm/coders/base/string.js +0 -22
  755. package/dist/node_modules/web3-eth-abi/lib/esm/coders/base/tuple.cjs +0 -1
  756. package/dist/node_modules/web3-eth-abi/lib/esm/coders/base/tuple.js +0 -77
  757. package/dist/node_modules/web3-eth-abi/lib/esm/coders/base/utils.cjs +0 -1
  758. package/dist/node_modules/web3-eth-abi/lib/esm/coders/base/utils.js +0 -15
  759. package/dist/node_modules/web3-eth-abi/lib/esm/coders/decode.cjs +0 -1
  760. package/dist/node_modules/web3-eth-abi/lib/esm/coders/decode.js +0 -16
  761. package/dist/node_modules/web3-eth-abi/lib/esm/coders/encode.cjs +0 -1
  762. package/dist/node_modules/web3-eth-abi/lib/esm/coders/encode.js +0 -50
  763. package/dist/node_modules/web3-eth-abi/lib/esm/coders/utils.cjs +0 -1
  764. package/dist/node_modules/web3-eth-abi/lib/esm/coders/utils.js +0 -58
  765. package/dist/node_modules/web3-eth-abi/lib/esm/decode_contract_error_data.cjs +0 -1
  766. package/dist/node_modules/web3-eth-abi/lib/esm/decode_contract_error_data.js +0 -18
  767. package/dist/node_modules/web3-eth-abi/lib/esm/utils.cjs +0 -1
  768. package/dist/node_modules/web3-eth-abi/lib/esm/utils.js +0 -39
  769. package/dist/node_modules/web3-eth-accounts/lib/esm/account.cjs +0 -2
  770. package/dist/node_modules/web3-eth-accounts/lib/esm/account.js +0 -223
  771. package/dist/node_modules/web3-eth-accounts/lib/esm/common/chains/goerli.cjs +0 -1
  772. package/dist/node_modules/web3-eth-accounts/lib/esm/common/chains/goerli.js +0 -99
  773. package/dist/node_modules/web3-eth-accounts/lib/esm/common/chains/mainnet.cjs +0 -1
  774. package/dist/node_modules/web3-eth-accounts/lib/esm/common/chains/mainnet.js +0 -115
  775. package/dist/node_modules/web3-eth-accounts/lib/esm/common/chains/sepolia.cjs +0 -1
  776. package/dist/node_modules/web3-eth-accounts/lib/esm/common/chains/sepolia.js +0 -102
  777. package/dist/node_modules/web3-eth-accounts/lib/esm/common/common.cjs +0 -1
  778. package/dist/node_modules/web3-eth-accounts/lib/esm/common/common.js +0 -741
  779. package/dist/node_modules/web3-eth-accounts/lib/esm/common/eips/1153.cjs +0 -1
  780. package/dist/node_modules/web3-eth-accounts/lib/esm/common/eips/1153.js +0 -25
  781. package/dist/node_modules/web3-eth-accounts/lib/esm/common/eips/1559.cjs +0 -1
  782. package/dist/node_modules/web3-eth-accounts/lib/esm/common/eips/1559.js +0 -29
  783. package/dist/node_modules/web3-eth-accounts/lib/esm/common/eips/2315.cjs +0 -1
  784. package/dist/node_modules/web3-eth-accounts/lib/esm/common/eips/2315.js +0 -28
  785. package/dist/node_modules/web3-eth-accounts/lib/esm/common/eips/2537.cjs +0 -1
  786. package/dist/node_modules/web3-eth-accounts/lib/esm/common/eips/2537.js +0 -181
  787. package/dist/node_modules/web3-eth-accounts/lib/esm/common/eips/2565.cjs +0 -1
  788. package/dist/node_modules/web3-eth-accounts/lib/esm/common/eips/2565.js +0 -20
  789. package/dist/node_modules/web3-eth-accounts/lib/esm/common/eips/2718.cjs +0 -1
  790. package/dist/node_modules/web3-eth-accounts/lib/esm/common/eips/2718.js +0 -14
  791. package/dist/node_modules/web3-eth-accounts/lib/esm/common/eips/2929.cjs +0 -1
  792. package/dist/node_modules/web3-eth-accounts/lib/esm/common/eips/2929.js +0 -87
  793. package/dist/node_modules/web3-eth-accounts/lib/esm/common/eips/2930.cjs +0 -1
  794. package/dist/node_modules/web3-eth-accounts/lib/esm/common/eips/2930.js +0 -24
  795. package/dist/node_modules/web3-eth-accounts/lib/esm/common/eips/3198.cjs +0 -1
  796. package/dist/node_modules/web3-eth-accounts/lib/esm/common/eips/3198.js +0 -20
  797. package/dist/node_modules/web3-eth-accounts/lib/esm/common/eips/3529.cjs +0 -1
  798. package/dist/node_modules/web3-eth-accounts/lib/esm/common/eips/3529.js +0 -29
  799. package/dist/node_modules/web3-eth-accounts/lib/esm/common/eips/3540.cjs +0 -1
  800. package/dist/node_modules/web3-eth-accounts/lib/esm/common/eips/3540.js +0 -16
  801. package/dist/node_modules/web3-eth-accounts/lib/esm/common/eips/3541.cjs +0 -1
  802. package/dist/node_modules/web3-eth-accounts/lib/esm/common/eips/3541.js +0 -15
  803. package/dist/node_modules/web3-eth-accounts/lib/esm/common/eips/3554.cjs +0 -1
  804. package/dist/node_modules/web3-eth-accounts/lib/esm/common/eips/3554.js +0 -20
  805. package/dist/node_modules/web3-eth-accounts/lib/esm/common/eips/3607.cjs +0 -1
  806. package/dist/node_modules/web3-eth-accounts/lib/esm/common/eips/3607.js +0 -16
  807. package/dist/node_modules/web3-eth-accounts/lib/esm/common/eips/3651.cjs +0 -1
  808. package/dist/node_modules/web3-eth-accounts/lib/esm/common/eips/3651.js +0 -16
  809. package/dist/node_modules/web3-eth-accounts/lib/esm/common/eips/3670.cjs +0 -1
  810. package/dist/node_modules/web3-eth-accounts/lib/esm/common/eips/3670.js +0 -16
  811. package/dist/node_modules/web3-eth-accounts/lib/esm/common/eips/3675.cjs +0 -1
  812. package/dist/node_modules/web3-eth-accounts/lib/esm/common/eips/3675.js +0 -16
  813. package/dist/node_modules/web3-eth-accounts/lib/esm/common/eips/3855.cjs +0 -1
  814. package/dist/node_modules/web3-eth-accounts/lib/esm/common/eips/3855.js +0 -21
  815. package/dist/node_modules/web3-eth-accounts/lib/esm/common/eips/3860.cjs +0 -1
  816. package/dist/node_modules/web3-eth-accounts/lib/esm/common/eips/3860.js +0 -26
  817. package/dist/node_modules/web3-eth-accounts/lib/esm/common/eips/4345.cjs +0 -1
  818. package/dist/node_modules/web3-eth-accounts/lib/esm/common/eips/4345.js +0 -20
  819. package/dist/node_modules/web3-eth-accounts/lib/esm/common/eips/4399.cjs +0 -1
  820. package/dist/node_modules/web3-eth-accounts/lib/esm/common/eips/4399.js +0 -16
  821. package/dist/node_modules/web3-eth-accounts/lib/esm/common/eips/5133.cjs +0 -1
  822. package/dist/node_modules/web3-eth-accounts/lib/esm/common/eips/5133.js +0 -20
  823. package/dist/node_modules/web3-eth-accounts/lib/esm/common/eips/index.cjs +0 -1
  824. package/dist/node_modules/web3-eth-accounts/lib/esm/common/eips/index.js +0 -49
  825. package/dist/node_modules/web3-eth-accounts/lib/esm/common/enums.cjs +0 -1
  826. package/dist/node_modules/web3-eth-accounts/lib/esm/common/enums.js +0 -27
  827. package/dist/node_modules/web3-eth-accounts/lib/esm/common/hardforks/arrowGlacier.cjs +0 -1
  828. package/dist/node_modules/web3-eth-accounts/lib/esm/common/hardforks/arrowGlacier.js +0 -14
  829. package/dist/node_modules/web3-eth-accounts/lib/esm/common/hardforks/berlin.cjs +0 -1
  830. package/dist/node_modules/web3-eth-accounts/lib/esm/common/hardforks/berlin.js +0 -10
  831. package/dist/node_modules/web3-eth-accounts/lib/esm/common/hardforks/byzantium.cjs +0 -1
  832. package/dist/node_modules/web3-eth-accounts/lib/esm/common/hardforks/byzantium.js +0 -59
  833. package/dist/node_modules/web3-eth-accounts/lib/esm/common/hardforks/chainstart.cjs +0 -1
  834. package/dist/node_modules/web3-eth-accounts/lib/esm/common/hardforks/chainstart.js +0 -441
  835. package/dist/node_modules/web3-eth-accounts/lib/esm/common/hardforks/constantinople.cjs +0 -1
  836. package/dist/node_modules/web3-eth-accounts/lib/esm/common/hardforks/constantinople.js +0 -71
  837. package/dist/node_modules/web3-eth-accounts/lib/esm/common/hardforks/dao.cjs +0 -1
  838. package/dist/node_modules/web3-eth-accounts/lib/esm/common/hardforks/dao.js +0 -13
  839. package/dist/node_modules/web3-eth-accounts/lib/esm/common/hardforks/grayGlacier.cjs +0 -1
  840. package/dist/node_modules/web3-eth-accounts/lib/esm/common/hardforks/grayGlacier.js +0 -14
  841. package/dist/node_modules/web3-eth-accounts/lib/esm/common/hardforks/homestead.cjs +0 -1
  842. package/dist/node_modules/web3-eth-accounts/lib/esm/common/hardforks/homestead.js +0 -18
  843. package/dist/node_modules/web3-eth-accounts/lib/esm/common/hardforks/index.cjs +0 -1
  844. package/dist/node_modules/web3-eth-accounts/lib/esm/common/hardforks/index.js +0 -39
  845. package/dist/node_modules/web3-eth-accounts/lib/esm/common/hardforks/istanbul.cjs +0 -1
  846. package/dist/node_modules/web3-eth-accounts/lib/esm/common/hardforks/istanbul.js +0 -90
  847. package/dist/node_modules/web3-eth-accounts/lib/esm/common/hardforks/london.cjs +0 -1
  848. package/dist/node_modules/web3-eth-accounts/lib/esm/common/hardforks/london.js +0 -10
  849. package/dist/node_modules/web3-eth-accounts/lib/esm/common/hardforks/merge.cjs +0 -1
  850. package/dist/node_modules/web3-eth-accounts/lib/esm/common/hardforks/merge.js +0 -15
  851. package/dist/node_modules/web3-eth-accounts/lib/esm/common/hardforks/mergeForkIdTransition.cjs +0 -1
  852. package/dist/node_modules/web3-eth-accounts/lib/esm/common/hardforks/mergeForkIdTransition.js +0 -10
  853. package/dist/node_modules/web3-eth-accounts/lib/esm/common/hardforks/muirGlacier.cjs +0 -1
  854. package/dist/node_modules/web3-eth-accounts/lib/esm/common/hardforks/muirGlacier.js +0 -18
  855. package/dist/node_modules/web3-eth-accounts/lib/esm/common/hardforks/petersburg.cjs +0 -1
  856. package/dist/node_modules/web3-eth-accounts/lib/esm/common/hardforks/petersburg.js +0 -42
  857. package/dist/node_modules/web3-eth-accounts/lib/esm/common/hardforks/shanghai.cjs +0 -1
  858. package/dist/node_modules/web3-eth-accounts/lib/esm/common/hardforks/shanghai.js +0 -10
  859. package/dist/node_modules/web3-eth-accounts/lib/esm/common/hardforks/spuriousDragon.cjs +0 -1
  860. package/dist/node_modules/web3-eth-accounts/lib/esm/common/hardforks/spuriousDragon.js +0 -23
  861. package/dist/node_modules/web3-eth-accounts/lib/esm/common/hardforks/tangerineWhistle.cjs +0 -1
  862. package/dist/node_modules/web3-eth-accounts/lib/esm/common/hardforks/tangerineWhistle.js +0 -46
  863. package/dist/node_modules/web3-eth-accounts/lib/esm/common/types.cjs +0 -1
  864. package/dist/node_modules/web3-eth-accounts/lib/esm/common/types.js +0 -7
  865. package/dist/node_modules/web3-eth-accounts/lib/esm/common/utils.cjs +0 -1
  866. package/dist/node_modules/web3-eth-accounts/lib/esm/common/utils.js +0 -279
  867. package/dist/node_modules/web3-eth-accounts/lib/esm/schemas.cjs +0 -1
  868. package/dist/node_modules/web3-eth-accounts/lib/esm/schemas.js +0 -25
  869. package/dist/node_modules/web3-eth-accounts/lib/esm/tx/address.cjs +0 -1
  870. package/dist/node_modules/web3-eth-accounts/lib/esm/tx/address.js +0 -57
  871. package/dist/node_modules/web3-eth-accounts/lib/esm/tx/baseTransaction.cjs +0 -1
  872. package/dist/node_modules/web3-eth-accounts/lib/esm/tx/baseTransaction.js +0 -288
  873. package/dist/node_modules/web3-eth-accounts/lib/esm/tx/constants.cjs +0 -1
  874. package/dist/node_modules/web3-eth-accounts/lib/esm/tx/constants.js +0 -11
  875. package/dist/node_modules/web3-eth-accounts/lib/esm/tx/eip1559Transaction.cjs +0 -1
  876. package/dist/node_modules/web3-eth-accounts/lib/esm/tx/eip1559Transaction.js +0 -285
  877. package/dist/node_modules/web3-eth-accounts/lib/esm/tx/eip2930Transaction.cjs +0 -1
  878. package/dist/node_modules/web3-eth-accounts/lib/esm/tx/eip2930Transaction.js +0 -268
  879. package/dist/node_modules/web3-eth-accounts/lib/esm/tx/legacyTransaction.cjs +0 -1
  880. package/dist/node_modules/web3-eth-accounts/lib/esm/tx/legacyTransaction.js +0 -256
  881. package/dist/node_modules/web3-eth-accounts/lib/esm/tx/transactionFactory.cjs +0 -1
  882. package/dist/node_modules/web3-eth-accounts/lib/esm/tx/transactionFactory.js +0 -90
  883. package/dist/node_modules/web3-eth-accounts/lib/esm/tx/types.cjs +0 -1
  884. package/dist/node_modules/web3-eth-accounts/lib/esm/tx/types.js +0 -18
  885. package/dist/node_modules/web3-eth-accounts/lib/esm/tx/utils.cjs +0 -1
  886. package/dist/node_modules/web3-eth-accounts/lib/esm/tx/utils.js +0 -80
  887. package/dist/node_modules/web3-eth-accounts/lib/esm/wallet.cjs +0 -1
  888. package/dist/node_modules/web3-eth-accounts/lib/esm/wallet.js +0 -361
  889. package/dist/node_modules/web3-eth-contract/lib/esm/contract.cjs +0 -3
  890. package/dist/node_modules/web3-eth-contract/lib/esm/contract.js +0 -540
  891. package/dist/node_modules/web3-eth-contract/lib/esm/encoding.cjs +0 -1
  892. package/dist/node_modules/web3-eth-contract/lib/esm/encoding.js +0 -89
  893. package/dist/node_modules/web3-eth-contract/lib/esm/index.cjs +0 -1
  894. package/dist/node_modules/web3-eth-contract/lib/esm/index.js +0 -30
  895. package/dist/node_modules/web3-eth-contract/lib/esm/log_subscription.cjs +0 -1
  896. package/dist/node_modules/web3-eth-contract/lib/esm/log_subscription.js +0 -39
  897. package/dist/node_modules/web3-eth-contract/lib/esm/utils.cjs +0 -1
  898. package/dist/node_modules/web3-eth-contract/lib/esm/utils.js +0 -78
  899. package/dist/node_modules/web3-eth-ens/lib/esm/abi/ens/ENSRegistry.cjs +0 -1
  900. package/dist/node_modules/web3-eth-ens/lib/esm/abi/ens/ENSRegistry.js +0 -168
  901. package/dist/node_modules/web3-eth-ens/lib/esm/abi/ens/PublicResolver.cjs +0 -1
  902. package/dist/node_modules/web3-eth-ens/lib/esm/abi/ens/PublicResolver.js +0 -596
  903. package/dist/node_modules/web3-eth-ens/lib/esm/config.cjs +0 -1
  904. package/dist/node_modules/web3-eth-ens/lib/esm/config.js +0 -29
  905. package/dist/node_modules/web3-eth-ens/lib/esm/ens.cjs +0 -1
  906. package/dist/node_modules/web3-eth-ens/lib/esm/ens.js +0 -280
  907. package/dist/node_modules/web3-eth-ens/lib/esm/registry.cjs +0 -1
  908. package/dist/node_modules/web3-eth-ens/lib/esm/registry.js +0 -108
  909. package/dist/node_modules/web3-eth-ens/lib/esm/resolver.cjs +0 -1
  910. package/dist/node_modules/web3-eth-ens/lib/esm/resolver.js +0 -113
  911. package/dist/node_modules/web3-eth-ens/lib/esm/utils.cjs +0 -1
  912. package/dist/node_modules/web3-eth-ens/lib/esm/utils.js +0 -19
  913. package/dist/node_modules/web3-eth-iban/lib/esm/iban.cjs +0 -1
  914. package/dist/node_modules/web3-eth-iban/lib/esm/iban.js +0 -283
  915. package/dist/node_modules/web3-eth-personal/lib/esm/personal.cjs +0 -1
  916. package/dist/node_modules/web3-eth-personal/lib/esm/personal.js +0 -265
  917. package/dist/node_modules/web3-eth-personal/lib/esm/rpc_method_wrappers.cjs +0 -1
  918. package/dist/node_modules/web3-eth-personal/lib/esm/rpc_method_wrappers.js +0 -96
  919. package/dist/node_modules/web3-net/lib/esm/net.cjs +0 -1
  920. package/dist/node_modules/web3-net/lib/esm/net.js +0 -97
  921. package/dist/node_modules/web3-net/lib/esm/rpc_method_wrappers.cjs +0 -1
  922. package/dist/node_modules/web3-net/lib/esm/rpc_method_wrappers.js +0 -51
  923. package/dist/node_modules/web3-providers-http/lib/esm/index.cjs +0 -1
  924. package/dist/node_modules/web3-providers-http/lib/esm/index.js +0 -98
  925. package/dist/node_modules/web3-providers-ws/lib/esm/index.cjs +0 -1
  926. package/dist/node_modules/web3-providers-ws/lib/esm/index.js +0 -70
  927. package/dist/node_modules/web3-rpc-methods/lib/esm/eth_rpc_methods.cjs +0 -1
  928. package/dist/node_modules/web3-rpc-methods/lib/esm/eth_rpc_methods.js +0 -416
  929. package/dist/node_modules/web3-rpc-methods/lib/esm/net_rpc_methods.cjs +0 -1
  930. package/dist/node_modules/web3-rpc-methods/lib/esm/net_rpc_methods.js +0 -56
  931. package/dist/node_modules/web3-rpc-methods/lib/esm/personal_rpc_methods.cjs +0 -1
  932. package/dist/node_modules/web3-rpc-methods/lib/esm/personal_rpc_methods.js +0 -84
  933. package/dist/node_modules/web3-types/lib/esm/data_format_types.cjs +0 -1
  934. package/dist/node_modules/web3-types/lib/esm/data_format_types.js +0 -15
  935. package/dist/node_modules/web3-types/lib/esm/eth_types.cjs +0 -1
  936. package/dist/node_modules/web3-types/lib/esm/eth_types.js +0 -12
  937. package/dist/node_modules/web3-types/lib/esm/primitives_types.cjs +0 -1
  938. package/dist/node_modules/web3-types/lib/esm/primitives_types.js +0 -4
  939. package/dist/node_modules/web3-types/lib/esm/web3_base_provider.cjs +0 -1
  940. package/dist/node_modules/web3-types/lib/esm/web3_base_provider.js +0 -89
  941. package/dist/node_modules/web3-types/lib/esm/web3_base_wallet.cjs +0 -1
  942. package/dist/node_modules/web3-types/lib/esm/web3_base_wallet.js +0 -8
  943. package/dist/node_modules/web3-utils/lib/esm/chunk_response_parser.cjs +0 -1
  944. package/dist/node_modules/web3-utils/lib/esm/chunk_response_parser.js +0 -37
  945. package/dist/node_modules/web3-utils/lib/esm/converters.cjs +0 -1
  946. package/dist/node_modules/web3-utils/lib/esm/converters.js +0 -199
  947. package/dist/node_modules/web3-utils/lib/esm/event_emitter.cjs +0 -1
  948. package/dist/node_modules/web3-utils/lib/esm/event_emitter.js +0 -15
  949. package/dist/node_modules/web3-utils/lib/esm/formatter.cjs +0 -1
  950. package/dist/node_modules/web3-utils/lib/esm/formatter.js +0 -153
  951. package/dist/node_modules/web3-utils/lib/esm/hash.cjs +0 -1
  952. package/dist/node_modules/web3-utils/lib/esm/hash.js +0 -108
  953. package/dist/node_modules/web3-utils/lib/esm/index.cjs +0 -1
  954. package/dist/node_modules/web3-utils/lib/esm/index.js +0 -109
  955. package/dist/node_modules/web3-utils/lib/esm/json_rpc.cjs +0 -1
  956. package/dist/node_modules/web3-utils/lib/esm/json_rpc.js +0 -41
  957. package/dist/node_modules/web3-utils/lib/esm/objects.cjs +0 -1
  958. package/dist/node_modules/web3-utils/lib/esm/objects.js +0 -20
  959. package/dist/node_modules/web3-utils/lib/esm/promise_helpers.cjs +0 -1
  960. package/dist/node_modules/web3-utils/lib/esm/promise_helpers.js +0 -104
  961. package/dist/node_modules/web3-utils/lib/esm/random.cjs +0 -1
  962. package/dist/node_modules/web3-utils/lib/esm/random.js +0 -7
  963. package/dist/node_modules/web3-utils/lib/esm/socket_provider.cjs +0 -1
  964. package/dist/node_modules/web3-utils/lib/esm/socket_provider.js +0 -233
  965. package/dist/node_modules/web3-utils/lib/esm/string_manipulation.cjs +0 -1
  966. package/dist/node_modules/web3-utils/lib/esm/string_manipulation.js +0 -48
  967. package/dist/node_modules/web3-utils/lib/esm/uint8array.cjs +0 -1
  968. package/dist/node_modules/web3-utils/lib/esm/uint8array.js +0 -26
  969. package/dist/node_modules/web3-utils/lib/esm/uuid.cjs +0 -1
  970. package/dist/node_modules/web3-utils/lib/esm/uuid.js +0 -17
  971. package/dist/node_modules/web3-utils/lib/esm/validation.cjs +0 -1
  972. package/dist/node_modules/web3-utils/lib/esm/validation.js +0 -62
  973. package/dist/node_modules/web3-utils/lib/esm/web3_deferred_promise.cjs +0 -1
  974. package/dist/node_modules/web3-utils/lib/esm/web3_deferred_promise.js +0 -114
  975. package/dist/node_modules/web3-utils/lib/esm/web3_eip1193_provider.cjs +0 -1
  976. package/dist/node_modules/web3-utils/lib/esm/web3_eip1193_provider.js +0 -86
  977. package/dist/node_modules/web3-validator/lib/esm/constants.cjs +0 -1
  978. package/dist/node_modules/web3-validator/lib/esm/constants.js +0 -4
  979. package/dist/node_modules/web3-validator/lib/esm/default_validator.cjs +0 -1
  980. package/dist/node_modules/web3-validator/lib/esm/default_validator.js +0 -5
  981. package/dist/node_modules/web3-validator/lib/esm/errors.cjs +0 -3
  982. package/dist/node_modules/web3-validator/lib/esm/errors.js +0 -17
  983. package/dist/node_modules/web3-validator/lib/esm/formats.cjs +0 -1
  984. package/dist/node_modules/web3-validator/lib/esm/formats.js +0 -31
  985. package/dist/node_modules/web3-validator/lib/esm/utils.cjs +0 -1
  986. package/dist/node_modules/web3-validator/lib/esm/utils.js +0 -190
  987. package/dist/node_modules/web3-validator/lib/esm/validation/abi.cjs +0 -1
  988. package/dist/node_modules/web3-validator/lib/esm/validation/abi.js +0 -4
  989. package/dist/node_modules/web3-validator/lib/esm/validation/address.cjs +0 -1
  990. package/dist/node_modules/web3-validator/lib/esm/validation/address.js +0 -23
  991. package/dist/node_modules/web3-validator/lib/esm/validation/block.cjs +0 -1
  992. package/dist/node_modules/web3-validator/lib/esm/validation/block.js +0 -10
  993. package/dist/node_modules/web3-validator/lib/esm/validation/bloom.cjs +0 -1
  994. package/dist/node_modules/web3-validator/lib/esm/validation/bloom.js +0 -29
  995. package/dist/node_modules/web3-validator/lib/esm/validation/boolean.cjs +0 -1
  996. package/dist/node_modules/web3-validator/lib/esm/validation/boolean.js +0 -5
  997. package/dist/node_modules/web3-validator/lib/esm/validation/bytes.cjs +0 -1
  998. package/dist/node_modules/web3-validator/lib/esm/validation/bytes.js +0 -31
  999. package/dist/node_modules/web3-validator/lib/esm/validation/filter.cjs +0 -1
  1000. package/dist/node_modules/web3-validator/lib/esm/validation/filter.js +0 -26
  1001. package/dist/node_modules/web3-validator/lib/esm/validation/numbers.cjs +0 -1
  1002. package/dist/node_modules/web3-validator/lib/esm/validation/numbers.js +0 -54
  1003. package/dist/node_modules/web3-validator/lib/esm/validation/object.cjs +0 -1
  1004. package/dist/node_modules/web3-validator/lib/esm/validation/object.js +0 -13
  1005. package/dist/node_modules/web3-validator/lib/esm/validation/string.cjs +0 -1
  1006. package/dist/node_modules/web3-validator/lib/esm/validation/string.js +0 -23
  1007. package/dist/node_modules/web3-validator/lib/esm/validation/topic.cjs +0 -1
  1008. package/dist/node_modules/web3-validator/lib/esm/validation/topic.js +0 -6
  1009. package/dist/node_modules/web3-validator/lib/esm/validator.cjs +0 -1
  1010. package/dist/node_modules/web3-validator/lib/esm/validator.js +0 -86
  1011. package/dist/node_modules/web3-validator/lib/esm/web3_validator.cjs +0 -1
  1012. package/dist/node_modules/web3-validator/lib/esm/web3_validator.js +0 -31
  1013. package/dist/node_modules/zod/lib/index.cjs +0 -1
  1014. package/dist/node_modules/zod/lib/index.js +0 -2854
  1015. package/dist/prometheus-framework/node_modules/@vuepic/vue-datepicker/dist/main.css.cjs +0 -1
  1016. package/dist/prometheus-framework/node_modules/@vuepic/vue-datepicker/dist/main.css.js +0 -1
  1017. package/dist/prometheus-framework/node_modules/axios/lib/adapters/adapters.cjs +0 -3
  1018. package/dist/prometheus-framework/node_modules/axios/lib/adapters/adapters.js +0 -51
  1019. package/dist/prometheus-framework/node_modules/axios/lib/adapters/xhr.cjs +0 -1
  1020. package/dist/prometheus-framework/node_modules/axios/lib/adapters/xhr.js +0 -109
  1021. package/dist/prometheus-framework/node_modules/axios/lib/axios.cjs +0 -1
  1022. package/dist/prometheus-framework/node_modules/axios/lib/axios.js +0 -46
  1023. package/dist/prometheus-framework/node_modules/axios/lib/cancel/CancelToken.cjs +0 -1
  1024. package/dist/prometheus-framework/node_modules/axios/lib/cancel/CancelToken.js +0 -72
  1025. package/dist/prometheus-framework/node_modules/axios/lib/cancel/CanceledError.cjs +0 -1
  1026. package/dist/prometheus-framework/node_modules/axios/lib/cancel/CanceledError.js +0 -11
  1027. package/dist/prometheus-framework/node_modules/axios/lib/cancel/isCancel.cjs +0 -1
  1028. package/dist/prometheus-framework/node_modules/axios/lib/cancel/isCancel.js +0 -6
  1029. package/dist/prometheus-framework/node_modules/axios/lib/core/Axios.cjs +0 -2
  1030. package/dist/prometheus-framework/node_modules/axios/lib/core/Axios.js +0 -130
  1031. package/dist/prometheus-framework/node_modules/axios/lib/core/AxiosError.cjs +0 -1
  1032. package/dist/prometheus-framework/node_modules/axios/lib/core/AxiosError.js +0 -54
  1033. package/dist/prometheus-framework/node_modules/axios/lib/core/AxiosHeaders.cjs +0 -2
  1034. package/dist/prometheus-framework/node_modules/axios/lib/core/AxiosHeaders.js +0 -164
  1035. package/dist/prometheus-framework/node_modules/axios/lib/core/InterceptorManager.cjs +0 -1
  1036. package/dist/prometheus-framework/node_modules/axios/lib/core/InterceptorManager.js +0 -58
  1037. package/dist/prometheus-framework/node_modules/axios/lib/core/buildFullPath.cjs +0 -1
  1038. package/dist/prometheus-framework/node_modules/axios/lib/core/buildFullPath.js +0 -8
  1039. package/dist/prometheus-framework/node_modules/axios/lib/core/dispatchRequest.cjs +0 -1
  1040. package/dist/prometheus-framework/node_modules/axios/lib/core/dispatchRequest.js +0 -31
  1041. package/dist/prometheus-framework/node_modules/axios/lib/core/mergeConfig.cjs +0 -1
  1042. package/dist/prometheus-framework/node_modules/axios/lib/core/mergeConfig.js +0 -72
  1043. package/dist/prometheus-framework/node_modules/axios/lib/core/settle.cjs +0 -1
  1044. package/dist/prometheus-framework/node_modules/axios/lib/core/settle.js +0 -14
  1045. package/dist/prometheus-framework/node_modules/axios/lib/core/transformData.cjs +0 -1
  1046. package/dist/prometheus-framework/node_modules/axios/lib/core/transformData.js +0 -13
  1047. package/dist/prometheus-framework/node_modules/axios/lib/defaults/index.cjs +0 -1
  1048. package/dist/prometheus-framework/node_modules/axios/lib/defaults/index.js +0 -87
  1049. package/dist/prometheus-framework/node_modules/axios/lib/defaults/transitional.cjs +0 -1
  1050. package/dist/prometheus-framework/node_modules/axios/lib/defaults/transitional.js +0 -8
  1051. package/dist/prometheus-framework/node_modules/axios/lib/env/data.cjs +0 -1
  1052. package/dist/prometheus-framework/node_modules/axios/lib/env/data.js +0 -4
  1053. package/dist/prometheus-framework/node_modules/axios/lib/helpers/AxiosURLSearchParams.cjs +0 -1
  1054. package/dist/prometheus-framework/node_modules/axios/lib/helpers/AxiosURLSearchParams.js +0 -33
  1055. package/dist/prometheus-framework/node_modules/axios/lib/helpers/HttpStatusCode.cjs +0 -1
  1056. package/dist/prometheus-framework/node_modules/axios/lib/helpers/HttpStatusCode.js +0 -71
  1057. package/dist/prometheus-framework/node_modules/axios/lib/helpers/bind.cjs +0 -1
  1058. package/dist/prometheus-framework/node_modules/axios/lib/helpers/bind.js +0 -8
  1059. package/dist/prometheus-framework/node_modules/axios/lib/helpers/buildURL.cjs +0 -1
  1060. package/dist/prometheus-framework/node_modules/axios/lib/helpers/buildURL.js +0 -19
  1061. package/dist/prometheus-framework/node_modules/axios/lib/helpers/combineURLs.cjs +0 -1
  1062. package/dist/prometheus-framework/node_modules/axios/lib/helpers/combineURLs.js +0 -6
  1063. package/dist/prometheus-framework/node_modules/axios/lib/helpers/cookies.cjs +0 -1
  1064. package/dist/prometheus-framework/node_modules/axios/lib/helpers/cookies.js +0 -32
  1065. package/dist/prometheus-framework/node_modules/axios/lib/helpers/formDataToJSON.cjs +0 -1
  1066. package/dist/prometheus-framework/node_modules/axios/lib/helpers/formDataToJSON.js +0 -32
  1067. package/dist/prometheus-framework/node_modules/axios/lib/helpers/isAbsoluteURL.cjs +0 -1
  1068. package/dist/prometheus-framework/node_modules/axios/lib/helpers/isAbsoluteURL.js +0 -6
  1069. package/dist/prometheus-framework/node_modules/axios/lib/helpers/isAxiosError.cjs +0 -1
  1070. package/dist/prometheus-framework/node_modules/axios/lib/helpers/isAxiosError.js +0 -7
  1071. package/dist/prometheus-framework/node_modules/axios/lib/helpers/isURLSameOrigin.cjs +0 -1
  1072. package/dist/prometheus-framework/node_modules/axios/lib/helpers/isURLSameOrigin.js +0 -37
  1073. package/dist/prometheus-framework/node_modules/axios/lib/helpers/null.cjs +0 -1
  1074. package/dist/prometheus-framework/node_modules/axios/lib/helpers/null.js +0 -4
  1075. package/dist/prometheus-framework/node_modules/axios/lib/helpers/parseHeaders.cjs +0 -2
  1076. package/dist/prometheus-framework/node_modules/axios/lib/helpers/parseHeaders.js +0 -30
  1077. package/dist/prometheus-framework/node_modules/axios/lib/helpers/parseProtocol.cjs +0 -1
  1078. package/dist/prometheus-framework/node_modules/axios/lib/helpers/parseProtocol.js +0 -7
  1079. package/dist/prometheus-framework/node_modules/axios/lib/helpers/speedometer.cjs +0 -1
  1080. package/dist/prometheus-framework/node_modules/axios/lib/helpers/speedometer.js +0 -19
  1081. package/dist/prometheus-framework/node_modules/axios/lib/helpers/spread.cjs +0 -1
  1082. package/dist/prometheus-framework/node_modules/axios/lib/helpers/spread.js +0 -8
  1083. package/dist/prometheus-framework/node_modules/axios/lib/helpers/toFormData.cjs +0 -1
  1084. package/dist/prometheus-framework/node_modules/axios/lib/helpers/toFormData.js +0 -84
  1085. package/dist/prometheus-framework/node_modules/axios/lib/helpers/toURLEncodedForm.cjs +0 -1
  1086. package/dist/prometheus-framework/node_modules/axios/lib/helpers/toURLEncodedForm.js +0 -13
  1087. package/dist/prometheus-framework/node_modules/axios/lib/helpers/validator.cjs +0 -1
  1088. package/dist/prometheus-framework/node_modules/axios/lib/helpers/validator.js +0 -51
  1089. package/dist/prometheus-framework/node_modules/axios/lib/platform/browser/classes/Blob.cjs +0 -1
  1090. package/dist/prometheus-framework/node_modules/axios/lib/platform/browser/classes/Blob.js +0 -4
  1091. package/dist/prometheus-framework/node_modules/axios/lib/platform/browser/classes/FormData.cjs +0 -1
  1092. package/dist/prometheus-framework/node_modules/axios/lib/platform/browser/classes/FormData.js +0 -4
  1093. package/dist/prometheus-framework/node_modules/axios/lib/platform/browser/classes/URLSearchParams.cjs +0 -1
  1094. package/dist/prometheus-framework/node_modules/axios/lib/platform/browser/classes/URLSearchParams.js +0 -5
  1095. package/dist/prometheus-framework/node_modules/axios/lib/platform/browser/index.cjs +0 -1
  1096. package/dist/prometheus-framework/node_modules/axios/lib/platform/browser/index.js +0 -15
  1097. package/dist/prometheus-framework/node_modules/axios/lib/platform/common/utils.cjs +0 -1
  1098. package/dist/prometheus-framework/node_modules/axios/lib/platform/common/utils.js +0 -7
  1099. package/dist/prometheus-framework/node_modules/axios/lib/platform/index.cjs +0 -1
  1100. package/dist/prometheus-framework/node_modules/axios/lib/platform/index.js +0 -9
  1101. package/dist/prometheus-framework/node_modules/axios/lib/utils.cjs +0 -1
  1102. package/dist/prometheus-framework/node_modules/axios/lib/utils.js +0 -224
  1103. package/dist/prometheus-framework/node_modules/libphonenumber-js/es6/helpers/mergeArrays.cjs +0 -2
  1104. package/dist/prometheus-framework/node_modules/libphonenumber-js/es6/helpers/mergeArrays.js +0 -43
  1105. package/dist/prometheus-framework/src/components/Address/Address.vue.cjs +0 -1
  1106. package/dist/prometheus-framework/src/components/Address/Address.vue.js +0 -1
  1107. package/dist/prometheus-framework/src/components/Breadcrumbs/Breadcrumbs.vue.cjs +0 -1
  1108. package/dist/prometheus-framework/src/components/Breadcrumbs/Breadcrumbs.vue.js +0 -1
  1109. package/dist/prometheus-framework/src/components/Button/Button.vue.cjs +0 -1
  1110. package/dist/prometheus-framework/src/components/Button/Button.vue.js +0 -1
  1111. package/dist/prometheus-framework/src/components/Checkbox/Checkbox.vue2.cjs +0 -1
  1112. package/dist/prometheus-framework/src/components/Checkbox/Checkbox.vue2.js +0 -1
  1113. package/dist/prometheus-framework/src/components/Chips/Chips.vue2.cjs +0 -1
  1114. package/dist/prometheus-framework/src/components/Chips/Chips.vue2.js +0 -1
  1115. package/dist/prometheus-framework/src/components/DatePicker/Calendar.vue.cjs +0 -1
  1116. package/dist/prometheus-framework/src/components/DatePicker/Calendar.vue.js +0 -1
  1117. package/dist/prometheus-framework/src/components/Dropdown/Dropdown.vue2.cjs +0 -1
  1118. package/dist/prometheus-framework/src/components/Dropdown/Dropdown.vue2.js +0 -1
  1119. package/dist/prometheus-framework/src/components/Feed/Feed.vue2.cjs +0 -1
  1120. package/dist/prometheus-framework/src/components/Feed/Feed.vue2.js +0 -1
  1121. package/dist/prometheus-framework/src/components/Field/Field.vue.cjs +0 -1
  1122. package/dist/prometheus-framework/src/components/Field/Field.vue.js +0 -1
  1123. package/dist/prometheus-framework/src/components/FieldPhone/FieldPhone.vue2.cjs +0 -1
  1124. package/dist/prometheus-framework/src/components/FieldPhone/FieldPhone.vue2.js +0 -1
  1125. package/dist/prometheus-framework/src/components/FieldPhone/FieldPhone2.vue.cjs +0 -1
  1126. package/dist/prometheus-framework/src/components/FieldPhone/FieldPhone2.vue.js +0 -373
  1127. package/dist/prometheus-framework/src/components/FieldPhone/FieldPhone2.vue2.cjs +0 -1
  1128. package/dist/prometheus-framework/src/components/FieldPhone/FieldPhone2.vue2.js +0 -1
  1129. package/dist/prometheus-framework/src/components/FieldPhone/utils.cjs +0 -1
  1130. package/dist/prometheus-framework/src/components/FieldPhone/utils.js +0 -259
  1131. package/dist/prometheus-framework/src/components/FieldTags/BlockTags.vue2.cjs +0 -1
  1132. package/dist/prometheus-framework/src/components/FieldTags/BlockTags.vue2.js +0 -1
  1133. package/dist/prometheus-framework/src/components/FieldTags/tag-input.vue.cjs +0 -1
  1134. package/dist/prometheus-framework/src/components/FieldTags/tag-input.vue.js +0 -1
  1135. package/dist/prometheus-framework/src/components/FieldTags/vue-tags-input.scss.cjs +0 -1
  1136. package/dist/prometheus-framework/src/components/FieldTags/vue-tags-input.scss.js +0 -1
  1137. package/dist/prometheus-framework/src/components/Loader/Loader.vue.cjs +0 -1
  1138. package/dist/prometheus-framework/src/components/Loader/Loader.vue.js +0 -1
  1139. package/dist/prometheus-framework/src/components/LocationMarker/LocationMarker.vue.cjs +0 -1
  1140. package/dist/prometheus-framework/src/components/LocationMarker/LocationMarker.vue.js +0 -1
  1141. package/dist/prometheus-framework/src/components/Magnifier/Magnifier.vue.cjs +0 -1
  1142. package/dist/prometheus-framework/src/components/Magnifier/Magnifier.vue.js +0 -62
  1143. package/dist/prometheus-framework/src/components/Magnifier/Magnifier.vue2.cjs +0 -1
  1144. package/dist/prometheus-framework/src/components/Magnifier/Magnifier.vue2.js +0 -1
  1145. package/dist/prometheus-framework/src/components/Map/Map.vue2.cjs +0 -1
  1146. package/dist/prometheus-framework/src/components/Map/Map.vue2.js +0 -1
  1147. package/dist/prometheus-framework/src/components/Marquee/Marquee.vue2.cjs +0 -1
  1148. package/dist/prometheus-framework/src/components/Marquee/Marquee.vue2.js +0 -1
  1149. package/dist/prometheus-framework/src/components/Popup/Popup.vue2.cjs +0 -1
  1150. package/dist/prometheus-framework/src/components/Popup/Popup.vue2.js +0 -77
  1151. package/dist/prometheus-framework/src/components/Select/Select.vue.cjs +0 -1
  1152. package/dist/prometheus-framework/src/components/Select/Select.vue.js +0 -1
  1153. package/dist/prometheus-framework/src/components/SelectMulti/SelectMulti.vue2.cjs +0 -1
  1154. package/dist/prometheus-framework/src/components/SelectMulti/SelectMulti.vue2.js +0 -1
  1155. package/dist/prometheus-framework/src/components/Spoiler/Spoiler.vue.cjs +0 -1
  1156. package/dist/prometheus-framework/src/components/Spoiler/Spoiler.vue.js +0 -1
  1157. package/dist/prometheus-framework/src/components/Tab/Tab.vue.cjs +0 -1
  1158. package/dist/prometheus-framework/src/components/Tab/Tab.vue.js +0 -1
  1159. package/dist/prometheus-framework/src/components/Tooltip/Tooltip.vue2.cjs +0 -1
  1160. package/dist/prometheus-framework/src/components/Tooltip/Tooltip.vue2.js +0 -45
  1161. package/dist/prometheus-framework/src/components/Upload/Upload.vue2.cjs +0 -1
  1162. package/dist/prometheus-framework/src/components/Upload/Upload.vue2.js +0 -1
  1163. package/dist/prometheus-framework/src/modules/auth/components/pages/EnterPassword.vue2.cjs +0 -1
  1164. package/dist/prometheus-framework/src/modules/auth/components/pages/EnterPassword.vue2.js +0 -1
  1165. package/dist/prometheus-framework/src/modules/auth/components/pages/Invite.vue2.cjs +0 -1
  1166. package/dist/prometheus-framework/src/modules/auth/components/pages/Invite.vue2.js +0 -1
  1167. package/dist/prometheus-framework/src/modules/auth/components/pages/ResetPassword.vue2.cjs +0 -1
  1168. package/dist/prometheus-framework/src/modules/auth/components/pages/ResetPassword.vue2.js +0 -1
  1169. package/dist/prometheus-framework/src/modules/auth/components/pages/SignIn.vue2.cjs +0 -1
  1170. package/dist/prometheus-framework/src/modules/auth/components/pages/SignIn.vue2.js +0 -1
  1171. package/dist/prometheus-framework/src/modules/auth/components/pages/SignUp.vue2.cjs +0 -1
  1172. package/dist/prometheus-framework/src/modules/auth/components/pages/SignUp.vue2.js +0 -1
  1173. package/dist/prometheus-framework/src/modules/auth/components/sections/SliderFeatures.vue2.cjs +0 -1
  1174. package/dist/prometheus-framework/src/modules/auth/components/sections/SliderFeatures.vue2.js +0 -1
  1175. package/dist/prometheus-framework/src/modules/backoffice/components/layouts/Backoffice.vue.cjs +0 -1
  1176. package/dist/prometheus-framework/src/modules/backoffice/components/layouts/Backoffice.vue.js +0 -1
  1177. package/dist/prometheus-framework/src/modules/chats/components/pages/ChatPage.vue2.cjs +0 -1
  1178. package/dist/prometheus-framework/src/modules/chats/components/pages/ChatPage.vue2.js +0 -1
  1179. package/dist/prometheus-framework/src/modules/chats/components/sections/ChatWindow.vue2.cjs +0 -1
  1180. package/dist/prometheus-framework/src/modules/chats/components/sections/ChatWindow.vue2.js +0 -1
  1181. package/dist/prometheus-framework/src/modules/community/components/pages/Community.vue2.cjs +0 -1
  1182. package/dist/prometheus-framework/src/modules/community/components/pages/Community.vue2.js +0 -1
  1183. package/dist/prometheus-framework/src/modules/community/components/sections/HotPosts.vue2.cjs +0 -1
  1184. package/dist/prometheus-framework/src/modules/community/components/sections/HotPosts.vue2.js +0 -1
  1185. package/dist/prometheus-framework/src/modules/community/components/sections/JoinUs.vue2.cjs +0 -1
  1186. package/dist/prometheus-framework/src/modules/community/components/sections/JoinUs.vue2.js +0 -1
  1187. package/dist/prometheus-framework/src/modules/constructor/components/elements/H2.vue2.cjs +0 -1
  1188. package/dist/prometheus-framework/src/modules/constructor/components/elements/H2.vue2.js +0 -1
  1189. package/dist/prometheus-framework/src/modules/constructor/components/elements/Textarea.vue.cjs +0 -1
  1190. package/dist/prometheus-framework/src/modules/constructor/components/elements/Textarea.vue.js +0 -1
  1191. package/dist/prometheus-framework/src/modules/events/components/elements/ButtonCheck.vue2.cjs +0 -1
  1192. package/dist/prometheus-framework/src/modules/events/components/elements/ButtonCheck.vue2.js +0 -1
  1193. package/dist/prometheus-framework/src/modules/events/components/elements/ButtonJoin.vue2.cjs +0 -1
  1194. package/dist/prometheus-framework/src/modules/events/components/elements/ButtonJoin.vue2.js +0 -1
  1195. package/dist/prometheus-framework/src/modules/events/components/pages/EditEvent.vue2.cjs +0 -1
  1196. package/dist/prometheus-framework/src/modules/events/components/pages/EditEvent.vue2.js +0 -1
  1197. package/dist/prometheus-framework/src/modules/events/components/pages/EditEventTickets.vue2.cjs +0 -1
  1198. package/dist/prometheus-framework/src/modules/events/components/pages/EditEventTickets.vue2.js +0 -1
  1199. package/dist/prometheus-framework/src/modules/events/components/sections/HeroEvent.vue2.cjs +0 -1
  1200. package/dist/prometheus-framework/src/modules/events/components/sections/HeroEvent.vue2.js +0 -1
  1201. package/dist/prometheus-framework/src/modules/events/components/sections/List.vue2.cjs +0 -1
  1202. package/dist/prometheus-framework/src/modules/events/components/sections/List.vue2.js +0 -1
  1203. package/dist/prometheus-framework/src/modules/events/components/sections/SectionMainGuest.vue2.cjs +0 -1
  1204. package/dist/prometheus-framework/src/modules/events/components/sections/SectionMainGuest.vue2.js +0 -1
  1205. package/dist/prometheus-framework/src/modules/gallery/components/blocks/PhotoViewer.vue.cjs +0 -1
  1206. package/dist/prometheus-framework/src/modules/gallery/components/blocks/PhotoViewer.vue2.cjs +0 -1
  1207. package/dist/prometheus-framework/src/modules/gallery/components/blocks/PhotoViewer.vue2.js +0 -1
  1208. package/dist/prometheus-framework/src/modules/gallery/components/sections/BackofficeGallery.vue2.cjs +0 -1
  1209. package/dist/prometheus-framework/src/modules/gallery/components/sections/BackofficeGallery.vue2.js +0 -1
  1210. package/dist/prometheus-framework/src/modules/gallery/components/sections/GalleryWithCategories.vue.cjs +0 -1
  1211. package/dist/prometheus-framework/src/modules/gallery/components/sections/GalleryWithCategories.vue.js +0 -110
  1212. package/dist/prometheus-framework/src/modules/gallery/components/sections/GalleryWithCategories.vue2.cjs +0 -1
  1213. package/dist/prometheus-framework/src/modules/gallery/components/sections/GalleryWithCategories.vue2.js +0 -1
  1214. package/dist/prometheus-framework/src/modules/globals/components/elements/ButtonDate.vue2.cjs +0 -1
  1215. package/dist/prometheus-framework/src/modules/globals/components/elements/ButtonDate.vue2.js +0 -27
  1216. package/dist/prometheus-framework/src/modules/globals/components/sections/Title.vue.cjs +0 -1
  1217. package/dist/prometheus-framework/src/modules/globals/components/sections/Title.vue.js +0 -29
  1218. package/dist/prometheus-framework/src/modules/landing/components/elements/AnimatedGrid.vue2.cjs +0 -1
  1219. package/dist/prometheus-framework/src/modules/landing/components/elements/AnimatedGrid.vue2.js +0 -1
  1220. package/dist/prometheus-framework/src/modules/landing/components/sections/MobileApp.vue2.cjs +0 -1
  1221. package/dist/prometheus-framework/src/modules/landing/components/sections/MobileApp.vue2.js +0 -1
  1222. package/dist/prometheus-framework/src/modules/landing/components/sections/SubscribeNewsletter.vue2.cjs +0 -1
  1223. package/dist/prometheus-framework/src/modules/landing/components/sections/SubscribeNewsletter.vue2.js +0 -1
  1224. package/dist/prometheus-framework/src/modules/mobile/components/Menu/Menu.vue.cjs +0 -1
  1225. package/dist/prometheus-framework/src/modules/mobile/components/Menu/Menu.vue2.cjs +0 -1
  1226. package/dist/prometheus-framework/src/modules/mobile/components/Menu/Menu.vue2.js +0 -1
  1227. package/dist/prometheus-framework/src/modules/mobile/components/Menu/MenuItem.vue.cjs +0 -1
  1228. package/dist/prometheus-framework/src/modules/orders/components/blocks/CardOrder.vue2.cjs +0 -1
  1229. package/dist/prometheus-framework/src/modules/orders/components/blocks/CardOrder.vue2.js +0 -1
  1230. package/dist/prometheus-framework/src/modules/orders/components/pages/Order.vue2.cjs +0 -1
  1231. package/dist/prometheus-framework/src/modules/orders/components/pages/Order.vue2.js +0 -1
  1232. package/dist/prometheus-framework/src/modules/orders/components/pages/OrderBackoffice.vue2.cjs +0 -1
  1233. package/dist/prometheus-framework/src/modules/orders/components/pages/OrderBackoffice.vue2.js +0 -1
  1234. package/dist/prometheus-framework/src/modules/orders/components/pages/OrderCreate.vue2.cjs +0 -1
  1235. package/dist/prometheus-framework/src/modules/orders/components/pages/OrderCreate.vue2.js +0 -1
  1236. package/dist/prometheus-framework/src/modules/orders/components/pages/OrderCreateBackoffice.vue2.cjs +0 -1
  1237. package/dist/prometheus-framework/src/modules/orders/components/pages/OrderCreateBackoffice.vue2.js +0 -1
  1238. package/dist/prometheus-framework/src/modules/orders/components/partials/ShopCart.vue2.cjs +0 -1
  1239. package/dist/prometheus-framework/src/modules/orders/components/partials/ShopCart.vue2.js +0 -1
  1240. package/dist/prometheus-framework/src/modules/orders/components/sections/FormClientDetails.vue.cjs +0 -1
  1241. package/dist/prometheus-framework/src/modules/orders/components/sections/FormClientDetails.vue.js +0 -65
  1242. package/dist/prometheus-framework/src/modules/organizations/components/blocks/CardDepartment.vue2.cjs +0 -1
  1243. package/dist/prometheus-framework/src/modules/organizations/components/blocks/CardDepartment.vue2.js +0 -1
  1244. package/dist/prometheus-framework/src/modules/organizations/components/blocks/DepartmentMemberModify.vue.cjs +0 -1
  1245. package/dist/prometheus-framework/src/modules/organizations/components/blocks/DepartmentMemberModify.vue.js +0 -87
  1246. package/dist/prometheus-framework/src/modules/organizations/components/blocks/DepartmentMemberModify.vue2.cjs +0 -1
  1247. package/dist/prometheus-framework/src/modules/organizations/components/blocks/DepartmentMemberModify.vue2.js +0 -1
  1248. package/dist/prometheus-framework/src/modules/organizations/components/blocks/DepartmentSub.vue2.cjs +0 -1
  1249. package/dist/prometheus-framework/src/modules/organizations/components/blocks/DepartmentSub.vue2.js +0 -1
  1250. package/dist/prometheus-framework/src/modules/organizations/components/blocks/EditArray.vue2.cjs +0 -1
  1251. package/dist/prometheus-framework/src/modules/organizations/components/blocks/EditArray.vue2.js +0 -1
  1252. package/dist/prometheus-framework/src/modules/organizations/components/blocks/User.vue.cjs +0 -1
  1253. package/dist/prometheus-framework/src/modules/organizations/components/blocks/User.vue.js +0 -51
  1254. package/dist/prometheus-framework/src/modules/organizations/components/blocks/User.vue2.cjs +0 -1
  1255. package/dist/prometheus-framework/src/modules/organizations/components/blocks/User.vue2.js +0 -1
  1256. package/dist/prometheus-framework/src/modules/organizations/components/pages/Organization.vue2.cjs +0 -1
  1257. package/dist/prometheus-framework/src/modules/organizations/components/pages/Organization.vue2.js +0 -1
  1258. package/dist/prometheus-framework/src/modules/organizations/components/sections/Documents.vue2.cjs +0 -1
  1259. package/dist/prometheus-framework/src/modules/organizations/components/sections/Documents.vue2.js +0 -1
  1260. package/dist/prometheus-framework/src/modules/organizations/components/sections/Organizations.vue2.cjs +0 -1
  1261. package/dist/prometheus-framework/src/modules/organizations/components/sections/Organizations.vue2.js +0 -1
  1262. package/dist/prometheus-framework/src/modules/organizations/components/sections/Publics.vue2.cjs +0 -1
  1263. package/dist/prometheus-framework/src/modules/organizations/components/sections/Publics.vue2.js +0 -1
  1264. package/dist/prometheus-framework/src/modules/organizations/components/sections/Unit.vue.cjs +0 -1
  1265. package/dist/prometheus-framework/src/modules/organizations/components/sections/Unit.vue.js +0 -1
  1266. package/dist/prometheus-framework/src/modules/products/components/blocks/CardLeftover.vue2.cjs +0 -1
  1267. package/dist/prometheus-framework/src/modules/products/components/blocks/CardLeftover.vue2.js +0 -1
  1268. package/dist/prometheus-framework/src/modules/products/components/blocks/Images360.vue2.cjs +0 -1
  1269. package/dist/prometheus-framework/src/modules/products/components/blocks/Images360.vue2.js +0 -1
  1270. package/dist/prometheus-framework/src/modules/products/components/blocks/ImagesThumbnails.vue2.cjs +0 -1
  1271. package/dist/prometheus-framework/src/modules/products/components/blocks/ImagesThumbnails.vue2.js +0 -1
  1272. package/dist/prometheus-framework/src/modules/products/components/blocks/LeftoverPositions.vue2.cjs +0 -1
  1273. package/dist/prometheus-framework/src/modules/products/components/blocks/LeftoverPositions.vue2.js +0 -1
  1274. package/dist/prometheus-framework/src/modules/products/components/blocks/ListPositions.vue2.cjs +0 -1
  1275. package/dist/prometheus-framework/src/modules/products/components/blocks/ListPositions.vue2.js +0 -1
  1276. package/dist/prometheus-framework/src/modules/products/components/elements/Price.vue2.cjs +0 -1
  1277. package/dist/prometheus-framework/src/modules/products/components/elements/Price.vue2.js +0 -1
  1278. package/dist/prometheus-framework/src/modules/products/components/elements/THC.vue2.cjs +0 -1
  1279. package/dist/prometheus-framework/src/modules/products/components/elements/THC.vue2.js +0 -1
  1280. package/dist/prometheus-framework/src/modules/products/components/pages/CategoryEdit.vue2.cjs +0 -1
  1281. package/dist/prometheus-framework/src/modules/products/components/pages/CategoryEdit.vue2.js +0 -1
  1282. package/dist/prometheus-framework/src/modules/products/components/pages/EditLeftover.vue2.cjs +0 -1
  1283. package/dist/prometheus-framework/src/modules/products/components/pages/EditLeftover.vue2.js +0 -1
  1284. package/dist/prometheus-framework/src/modules/products/components/pages/Leftovers.vue2.cjs +0 -1
  1285. package/dist/prometheus-framework/src/modules/products/components/pages/Leftovers.vue2.js +0 -1
  1286. package/dist/prometheus-framework/src/modules/products/components/pages/Product.vue2.cjs +0 -1
  1287. package/dist/prometheus-framework/src/modules/products/components/pages/Product.vue2.js +0 -1
  1288. package/dist/prometheus-framework/src/modules/products/components/pages/ProductEdit.vue2.cjs +0 -1
  1289. package/dist/prometheus-framework/src/modules/products/components/pages/ProductEdit.vue2.js +0 -1
  1290. package/dist/prometheus-framework/src/modules/products/components/pages/ProductRecommmendation.vue2.cjs +0 -1
  1291. package/dist/prometheus-framework/src/modules/products/components/pages/ProductRecommmendation.vue2.js +0 -1
  1292. package/dist/prometheus-framework/src/modules/products/components/sections/FilterProducts.vue2.cjs +0 -1
  1293. package/dist/prometheus-framework/src/modules/products/components/sections/FilterProducts.vue2.js +0 -1
  1294. package/dist/prometheus-framework/src/modules/products/components/sections/HeroRecommendation.vue2.cjs +0 -1
  1295. package/dist/prometheus-framework/src/modules/products/components/sections/HeroRecommendation.vue2.js +0 -1
  1296. package/dist/prometheus-framework/src/modules/products/components/sections/PopularProducts.vue2.cjs +0 -1
  1297. package/dist/prometheus-framework/src/modules/products/components/sections/PopularProducts.vue2.js +0 -1
  1298. package/dist/prometheus-framework/src/modules/products/components/sections/SortProducts.vue.cjs +0 -1
  1299. package/dist/prometheus-framework/src/modules/products/components/sections/SortProducts.vue.js +0 -53
  1300. package/dist/prometheus-framework/src/modules/spots/components/blocks/CardSpot.vue2.cjs +0 -1
  1301. package/dist/prometheus-framework/src/modules/spots/components/blocks/CardSpot.vue2.js +0 -1
  1302. package/dist/prometheus-framework/src/modules/users/components/sections/FeaturedUsers.vue2.cjs +0 -1
  1303. package/dist/prometheus-framework/src/modules/users/components/sections/FeaturedUsers.vue2.js +0 -1
  1304. package/dist/prometheus-framework/src/modules/wallet/views/components/pages/Payments.vue2.cjs +0 -1
  1305. package/dist/prometheus-framework/src/modules/wallet/views/components/pages/Payments.vue2.js +0 -1
  1306. package/dist/queryProcessor-BJdKh0Ow.mjs +0 -162
  1307. package/dist/queryProcessor-BJoJAetd.mjs +0 -162
  1308. package/dist/queryProcessor-BUDoM96e.js +0 -148
  1309. package/dist/queryProcessor-Cl6sU582.mjs +0 -149
  1310. package/dist/queryProcessor-DRMo_GWK.js +0 -161
  1311. package/dist/queryProcessor-DWf9tsis.js +0 -161
  1312. package/dist/web-B2xhKZNK.js +0 -1
  1313. package/dist/web-B8tq3Fda.mjs +0 -54
  1314. package/dist/web-BDaOF322.js +0 -1
  1315. package/dist/web-BEJCRWop.mjs +0 -54
  1316. package/dist/web-BHzpMOmk.mjs +0 -54
  1317. package/dist/web-BX5um81l.js +0 -1
  1318. package/dist/web-ByJkgGrt.js +0 -1
  1319. package/dist/web-C0sFgeYh.mjs +0 -54
  1320. package/dist/web-CQQEUA9l.js +0 -1
  1321. package/dist/web-CQiHBOEN.mjs +0 -54
  1322. package/dist/web-CXzcKdk4.mjs +0 -54
  1323. package/dist/web-CciQvENI.js +0 -1
  1324. package/dist/web-CkrMHYIU.js +0 -1
  1325. package/dist/web-CtVocufd.js +0 -1
  1326. package/dist/web-CvRd3N_J.mjs +0 -54
  1327. package/dist/web-D0ugI6ra.js +0 -1
  1328. package/dist/web-D2Em-p-C.mjs +0 -54
  1329. package/dist/web-D9Cfcy5k.js +0 -1
  1330. package/dist/web-DEysqj0n.js +0 -1
  1331. package/dist/web-DNq1tHCE.mjs +0 -54
  1332. package/dist/web-DTzbVshr.mjs +0 -54
  1333. package/dist/web-Douq6xn6.js +0 -1
  1334. package/dist/web-DtWmpLE-.mjs +0 -54
  1335. package/dist/web-TGdVOTnw.js +0 -1
  1336. package/dist/web-VFuzUsNl.mjs +0 -54
  1337. package/dist/web-_W9a_nWD.mjs +0 -54
  1338. package/dist/web-kg3KgbAF.js +0 -1
  1339. package/dist/web-nVxTNRH4.mjs +0 -54
  1340. package/src/components/Magnifier/Magnifier.vue +0 -89
  1341. /package/src/{modules/mobile/components → components}/Menu/Menu.vue +0 -0
  1342. /package/src/{modules/mobile/components → components}/Menu/MenuItem.vue +0 -0
  1343. /package/src/{modules/gallery/components/blocks → components/PhotoViewer}/PhotoViewer.vue +0 -0
  1344. /package/src/modules/{mobile/components/BottomNavigation → globals/components/partials}/BottomNavigation.vue +0 -0
  1345. /package/src/modules/{mobile/components/NavigationBar → globals/components/partials}/NavigationBar.vue +0 -0
  1346. /package/src/modules/{mobile/components/Walkthrough → globals/components/sections}/Walkthrough.vue +0 -0
  1347. /package/src/modules/{landing → pages}/components/pages/Page.vue +0 -0
  1348. /package/src/modules/{backoffice/components/admin → pages/components/pages}/PageEdit.vue +0 -0
  1349. /package/src/modules/{backoffice/components/admin → pages/components/pages}/Pages.vue +0 -0
@@ -0,0 +1 @@
1
+ "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("../../globals/components/layouts/Empty.vue.cjs");require("../../auth/store/auth.cjs");const t=[{path:"backoffice",component:e.default,children:[{path:"",name:"Backoffice",meta:{title:{en:"Backoffice",ru:"Управление"},authorize:[]},component:()=>Promise.resolve().then(()=>require("../components/pages/OrganizationBackoffice.vue.cjs"))}]}];exports.default=t;
@@ -0,0 +1,27 @@
1
+ import o from "../../globals/components/layouts/Empty.vue.js";
2
+ import "../../auth/store/auth.js";
3
+ const a = [{
4
+ path: "backoffice",
5
+ component: o,
6
+ // beforeEnter: [
7
+ // validationAuth.requiresAdmin,
8
+ // ],
9
+ children: [{
10
+ path: "",
11
+ name: "Backoffice",
12
+ meta: {
13
+ title: {
14
+ en: "Backoffice",
15
+ ru: "Управление"
16
+ },
17
+ authorize: []
18
+ },
19
+ component: () => import(
20
+ /* webpackChunkName: 'Organizations' */
21
+ "../components/pages/OrganizationBackoffice.vue.js"
22
+ )
23
+ }]
24
+ }];
25
+ export {
26
+ a as default
27
+ };
@@ -1 +1 @@
1
- "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("../../globals/components/layouts/Empty.vue.cjs"),r=require("./members.router.cjs"),n=require("./departments.router.cjs"),o=require("../../products/router/products.router.cjs"),a=require("../../products/router/categories.router.cjs"),i=require("../../products/router/leftovers.router.cjs"),u=require("../../wallet/views/router/payments.router.cjs"),s=require("../../orders/router/orders.backoffice.router.cjs"),l=require("../../backoffice/router/backoffice.cjs"),t=require("../../middlewares/client/auth.validation.cjs"),c=[{path:"organizations",component:e.default,meta:{title:{en:"Organizations",ru:"Организации"}},children:[{path:"create",name:"Create Organization",meta:{title:{en:"Create Organization",ru:"Создать Организацию"}},beforeEnter:[t.requiresAuth],component:()=>Promise.resolve().then(()=>require("../components/pages/OrganizationEdit.vue.cjs"))},{path:":_id",name:"OrganizationRoot",meta:{title:{en:"Organization",ru:"Организация"}},component:e.default,children:[{path:"",name:"Organization",meta:{title:{en:"Organization",ru:"Организация"}},component:()=>Promise.resolve().then(()=>require("../components/pages/Organization.vue.cjs"))},...r.default,...n.default,...o.default,...a.default,...i.default,...u.default,...s.default,...l.default]},{path:":_id/edit",name:"Organization Edit",meta:{title:{en:"Edit Organization",ru:"Редактировать Организацию"}},beforeEnter:[t.requiresAuth],component:()=>Promise.resolve().then(()=>require("../components/pages/OrganizationEdit.vue.cjs"))}]}];exports.default=c;
1
+ "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("../../globals/components/layouts/Empty.vue.cjs"),r=require("./members.router.cjs"),o=require("./departments.router.cjs"),n=require("../../products/router/products.router.cjs"),a=require("../../products/router/categories.router.cjs"),i=require("../../products/router/leftovers.router.cjs"),u=require("../../wallet/views/router/payments.router.cjs"),s=require("../../orders/router/orders.backoffice.router.cjs"),l=require("../../gallery/router/gallery.backoffice.router.cjs"),c=require("./backoffice.router.cjs"),t=require("../../middlewares/client/auth.validation.cjs"),d=[{path:"organizations",component:e.default,meta:{title:{en:"Organizations",ru:"Организации"}},children:[{path:"create",name:"Create Organization",meta:{title:{en:"Create Organization",ru:"Создать Организацию"}},beforeEnter:[t.requiresAuth],component:()=>Promise.resolve().then(()=>require("../components/pages/OrganizationEdit.vue.cjs"))},{path:":_id",name:"OrganizationRoot",meta:{title:{en:"Organization",ru:"Организация"}},component:e.default,children:[{path:"",name:"Organization",meta:{title:{en:"Organization",ru:"Организация"}},component:()=>Promise.resolve().then(()=>require("../components/pages/Organization.vue.cjs"))},...r.default,...o.default,...n.default,...a.default,...i.default,...u.default,...s.default,...l.default,...c.default]},{path:":_id/edit",name:"Organization Edit",meta:{title:{en:"Edit Organization",ru:"Редактировать Организацию"}},beforeEnter:[t.requiresAuth],component:()=>Promise.resolve().then(()=>require("../components/pages/OrganizationEdit.vue.cjs"))}]}];exports.default=d;
@@ -1,14 +1,15 @@
1
1
  import t from "../../globals/components/layouts/Empty.vue.js";
2
- import e from "./members.router.js";
3
- import r from "./departments.router.js";
2
+ import r from "./members.router.js";
3
+ import e from "./departments.router.js";
4
4
  import i from "../../products/router/products.router.js";
5
5
  import n from "../../products/router/categories.router.js";
6
6
  import a from "../../products/router/leftovers.router.js";
7
7
  import m from "../../wallet/views/router/payments.router.js";
8
8
  import p from "../../orders/router/orders.backoffice.router.js";
9
- import u from "../../backoffice/router/backoffice.js";
9
+ import u from "../../gallery/router/gallery.backoffice.router.js";
10
+ import f from "./backoffice.router.js";
10
11
  import { requiresAuth as o } from "../../middlewares/client/auth.validation.js";
11
- const E = [{
12
+ const y = [{
12
13
  path: "organizations",
13
14
  component: t,
14
15
  meta: {
@@ -50,14 +51,15 @@ const E = [{
50
51
  },
51
52
  component: () => import("../components/pages/Organization.vue.js")
52
53
  },
53
- ...e,
54
54
  ...r,
55
+ ...e,
55
56
  ...i,
56
57
  ...n,
57
58
  ...a,
58
59
  ...m,
59
60
  ...p,
60
- ...u
61
+ ...u,
62
+ ...f
61
63
  ]
62
64
  }, {
63
65
  path: ":_id/edit",
@@ -73,5 +75,5 @@ const E = [{
73
75
  }]
74
76
  }];
75
77
  export {
76
- E as default
78
+ y as default
77
79
  };
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const o=require("../../../../node_modules/axios/lib/axios.cjs");require("../../../../../node_modules/js-cookie/dist/js.cookie.cjs");const l=require("vue"),n=require("../../globals/store/globals.cjs"),s=o.default.create({baseURL:process.env.API_URL,withCredentials:!0});s.defaults.withCredentials=!0;const a=l.reactive({departments:[],department:{organization:"",profile:{photo:"",name:"",description:"",categories:[]},address:"",location:{lat:null,lng:null},worktime:[],delivery:[],payment:[],members:[],subdepartments:[],hidden:!1,accesses:{gallery:{read:!1,edit:!1,delete:!1},products:{read:!1,edit:!1,delete:!1},orders:{read:!1,confirm:!1,delete:!1},departments:{read:!1,edit:!1,delete:!1}}},error:null}),d={async readOne(r){try{const e=await s.get(`/api/departments/get/${r}`);return a.department=e.data,a.error=null,e.data}catch(e){return n.setError(e),null}},async read(r={}){try{const e=await s.get("/api/departments/read",{params:r});return console.log("Response:",e),a.departments=e.data,a.error=null,e.data}catch(e){return console.log(e),n.setError(e),null}},async create(r,e){try{const t=await s.post(`/api/departments/${r}/create`,e);return a.error=null,t.data}catch(t){return n.setError(t),null}},async update(r,e){try{const t=await s.post(`/api/departments/${r}/update`,e);return a.error=null,t}catch(t){return n.setError(t),null}},async delete(r,e){try{return await s.delete(`/api/departments/${r}/delete`,{data:{_id:e}}),a.error=null,!0}catch(t){return n.setError(t),!1}}};l.watch(a,(r,e)=>{});exports.actions=d;exports.state=a;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const o=require("axios");require("../../../../../node_modules/js-cookie/dist/js.cookie.cjs");const l=require("vue"),n=require("../../globals/store/globals.cjs"),s=o.create({baseURL:process.env.API_URL,withCredentials:!0});s.defaults.withCredentials=!0;const a=l.reactive({departments:[],department:{organization:"",profile:{photo:"",name:"",description:"",categories:[]},address:"",location:{lat:null,lng:null},worktime:[],delivery:[],payment:[],members:[],subdepartments:[],hidden:!1,accesses:{gallery:{read:!1,edit:!1,delete:!1},products:{read:!1,edit:!1,delete:!1},orders:{read:!1,confirm:!1,delete:!1},departments:{read:!1,edit:!1,delete:!1}}},error:null}),d={async readOne(r){try{const e=await s.get(`/api/departments/get/${r}`);return a.department=e.data,a.error=null,e.data}catch(e){return n.setError(e),null}},async read(r={}){try{const e=await s.get("/api/departments/read",{params:r});return console.log("Response:",e),a.departments=e.data,a.error=null,e.data}catch(e){return console.log(e),n.setError(e),null}},async create(r,e){try{const t=await s.post(`/api/departments/${r}/create`,e);return a.error=null,t.data}catch(t){return n.setError(t),null}},async update(r,e){try{const t=await s.post(`/api/departments/${r}/update`,e);return a.error=null,t}catch(t){return n.setError(t),null}},async delete(r,e){try{return await s.delete(`/api/departments/${r}/delete`,{data:{_id:e}}),a.error=null,!0}catch(t){return n.setError(t),!1}}};l.watch(a,(r,e)=>{});exports.actions=d;exports.state=a;
@@ -1,4 +1,4 @@
1
- import l from "../../../../node_modules/axios/lib/axios.js";
1
+ import l from "axios";
2
2
  import "../../../../../node_modules/js-cookie/dist/js.cookie.js";
3
3
  import { reactive as o, watch as d } from "vue";
4
4
  import { setError as n } from "../../globals/store/globals.js";
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const c=require("../../../../node_modules/axios/lib/axios.cjs"),n=require("vue"),a=require("../../globals/store/globals.cjs"),i=require("../../auth/store/auth.cjs"),s=c.default.create({baseURL:process.env.API_URL,withCredentials:!0}),r=n.reactive({invites:[],invite:null,error:null}),l={async read(t){try{const e=await s.get(`/api/invites/${t.owner}`);return r.invites=e.data,r.error=null,e.data}catch(e){a.setError(e)}},async readOne(t){try{const e=await s.get(`/api/invites/get/${t}`);r.invite=e.data,i.state.user.phone=e.data.phone,i.state.user.email=e.data.email}catch(e){a.setError(e)}},async create(t){try{await s.post("/api/invites/create",t),r.error=null}catch(e){a.setError(e)}},async update(t,e){try{await s.put("/api/invites/update",e),r.error=null}catch(o){a.setError(o)}},async delete(t){try{await s.delete(`/api/invites/delete/${t}`),r.error=null}catch(e){a.setError(e)}}};n.watch(r,(t,e)=>{});exports.actions=l;exports.state=r;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const c=require("axios"),n=require("vue"),a=require("../../globals/store/globals.cjs"),i=require("../../auth/store/auth.cjs"),s=c.create({baseURL:process.env.API_URL,withCredentials:!0}),r=n.reactive({invites:[],invite:null,error:null}),l={async read(t){try{const e=await s.get(`/api/invites/${t.owner}`);return r.invites=e.data,r.error=null,e.data}catch(e){a.setError(e)}},async readOne(t){try{const e=await s.get(`/api/invites/get/${t}`);r.invite=e.data,i.state.user.phone=e.data.phone,i.state.user.email=e.data.email}catch(e){a.setError(e)}},async create(t){try{await s.post("/api/invites/create",t),r.error=null}catch(e){a.setError(e)}},async update(t,e){try{await s.put("/api/invites/update",e),r.error=null}catch(o){a.setError(o)}},async delete(t){try{await s.delete(`/api/invites/delete/${t}`),r.error=null}catch(e){a.setError(e)}}};n.watch(r,(t,e)=>{});exports.actions=l;exports.state=r;
@@ -1,4 +1,4 @@
1
- import s from "../../../../node_modules/axios/lib/axios.js";
1
+ import s from "axios";
2
2
  import { reactive as c, watch as l } from "vue";
3
3
  import { setError as a } from "../../globals/store/globals.js";
4
4
  import { state as n } from "../../auth/store/auth.js";
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const u=require("../../../../node_modules/axios/lib/axios.cjs"),l=require("vue"),i=require("../../globals/store/globals.cjs"),a=u.default.create({baseURL:process.env.API_URL,withCredentials:!0}),s=l.reactive({memberships:[],error:null}),d={async read(r={}){try{const e=await a.get("/api/memberships",{params:r});return s.error=null,s.memberships=e.data,Promise.resolve(e.data)}catch(e){return i.setError(e),Promise.reject(e)}},async create(r){try{const e=await a.post("/api/memberships/create",r);return s.error=null,Promise.resolve(e.data)}catch(e){return i.setError(e),Promise.reject(e)}},async update(r){try{const e=await a.post("/api/memberships/update",r);return s.error=null,Promise.resolve(e.data)}catch(e){return i.setError(e),Promise.reject(e)}},async delete(r){try{const e=await a.post("/api/memberships/delete",{_id:r});return s.error=null,Promise.resolve(e.data)}catch(e){return i.setError(e),Promise.reject(e)}}},h={handleMembershipUpdate(r,e,n,y,p,c){let t;if(Array.isArray(r)?t=r.find(o=>o._id===e.target):typeof r=="object"&&r._id===e.target&&(t=r),t)if(t[p]=n,n)t.memberships.push(e),t[c]+=1;else{const o=t.memberships.findIndex(m=>m._id===e._id);o!==-1&&(t.memberships.splice(o,1),t[c]-=1)}}};l.watch(s,r=>{});exports.actions=d;exports.mutations=h;exports.state=s;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const u=require("axios"),l=require("vue"),i=require("../../globals/store/globals.cjs"),a=u.create({baseURL:process.env.API_URL,withCredentials:!0}),s=l.reactive({memberships:[],error:null}),d={async read(r={}){try{const e=await a.get("/api/memberships",{params:r});return s.error=null,s.memberships=e.data,Promise.resolve(e.data)}catch(e){return i.setError(e),Promise.reject(e)}},async create(r){try{const e=await a.post("/api/memberships/create",r);return s.error=null,Promise.resolve(e.data)}catch(e){return i.setError(e),Promise.reject(e)}},async update(r){try{const e=await a.post("/api/memberships/update",r);return s.error=null,Promise.resolve(e.data)}catch(e){return i.setError(e),Promise.reject(e)}},async delete(r){try{const e=await a.post("/api/memberships/delete",{_id:r});return s.error=null,Promise.resolve(e.data)}catch(e){return i.setError(e),Promise.reject(e)}}},h={handleMembershipUpdate(r,e,n,y,p,c){let t;if(Array.isArray(r)?t=r.find(o=>o._id===e.target):typeof r=="object"&&r._id===e.target&&(t=r),t)if(t[p]=n,n)t.memberships.push(e),t[c]+=1;else{const o=t.memberships.findIndex(m=>m._id===e._id);o!==-1&&(t.memberships.splice(o,1),t[c]-=1)}}};l.watch(s,r=>{});exports.actions=d;exports.mutations=h;exports.state=s;
@@ -1,4 +1,4 @@
1
- import l from "../../../../node_modules/axios/lib/axios.js";
1
+ import l from "axios";
2
2
  import { reactive as d, watch as h } from "vue";
3
3
  import { setError as i } from "../../globals/store/globals.js";
4
4
  const a = l.create({
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const l=require("../../../../node_modules/axios/lib/axios.cjs"),i=require("../../../../../node_modules/js-cookie/dist/js.cookie.cjs"),c=require("vue"),o=require("../../globals/store/globals.cjs"),s=l.default.create({baseURL:process.env.API_URL,withCredentials:!0}),a=c.reactive({all:[],current:{_id:null,profile:{tags:[],photo:"",name:"",description:""},structure:[],owner:null,types:"",contacts:{email:"",website:"",phone:"",address:""},socials:{telegram:"",line:"",facebook:"",instagram:"",youtube:""},rating:{popularity:0,median:0,amount:0}}}),u={async create(t,e){t.owner=e;try{const r=await s.post("/api/organizations/create",t);return a.current=r.data,r.data}catch(r){throw console.log(r),o.setError(r),r}},async read(t={}){console.log(t);try{const e=await s.get("/api/organizations",{params:t});return t._id&&Object.assign(a.current||{},e.data[0]),Promise.resolve(e.data)}catch(e){return o.setError(e),Promise.reject(e)}},async update(t,e){return console.log(t,e),await s.post(`/api/organizations/${t}/update`,e).then(r=>(console.log("Organization updated successfully"),Promise.resolve(r.data)),r=>(console.log("Updating organization failed"),Promise.reject(r)))},async remove(t){await s.delete(`/api/organizations/${t}/delete`).then(e=>{a.error=null;let r=i.default.get("user"),n=JSON.parse(r);return n.organization=null,i.default.set("user",JSON.stringify(n),{expires:7,domain:".osi.plus",sameSite:"none",secure:!0}),Promise.resolve(e.data)},e=>(o.setError(e),Promise.reject(e))).catch(e=>{o.setError(e)})},async reset(){a.current={_id:null,profile:{categories:[],photo:"",name:"",description:""},structure:[],owner:null,types:"",contacts:{email:"",website:"",phone:"",address:""},socials:{telegram:"",line:"",facebook:"",instagram:""},rating:{popularity:0,median:0,amount:0}}}};c.watch(a,(t,e)=>{});exports.actions=u;exports.state=a;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const l=require("axios"),i=require("../../../../../node_modules/js-cookie/dist/js.cookie.cjs"),c=require("vue"),o=require("../../globals/store/globals.cjs"),s=l.create({baseURL:process.env.API_URL,withCredentials:!0}),a=c.reactive({all:[],current:{_id:null,profile:{tags:[],photo:"",name:"",description:""},structure:[],owner:null,types:"",contacts:{email:"",website:"",phone:"",address:""},socials:{telegram:"",line:"",facebook:"",instagram:"",youtube:""},rating:{popularity:0,median:0,amount:0}}}),u={async create(t,e){t.owner=e;try{const r=await s.post("/api/organizations/create",t);return a.current=r.data,r.data}catch(r){throw console.log(r),o.setError(r),r}},async read(t={}){console.log(t);try{const e=await s.get("/api/organizations",{params:t});return t._id&&Object.assign(a.current||{},e.data[0]),Promise.resolve(e.data)}catch(e){return o.setError(e),Promise.reject(e)}},async update(t,e){return console.log(t,e),await s.post(`/api/organizations/${t}/update`,e).then(r=>(console.log("Organization updated successfully"),Promise.resolve(r.data)),r=>(console.log("Updating organization failed"),Promise.reject(r)))},async remove(t){await s.delete(`/api/organizations/${t}/delete`).then(e=>{a.error=null;let r=i.default.get("user"),n=JSON.parse(r);return n.organization=null,i.default.set("user",JSON.stringify(n),{expires:7,domain:".osi.plus",sameSite:"none",secure:!0}),Promise.resolve(e.data)},e=>(o.setError(e),Promise.reject(e))).catch(e=>{o.setError(e)})},async reset(){a.current={_id:null,profile:{categories:[],photo:"",name:"",description:""},structure:[],owner:null,types:"",contacts:{email:"",website:"",phone:"",address:""},socials:{telegram:"",line:"",facebook:"",instagram:""},rating:{popularity:0,median:0,amount:0}}}};c.watch(a,(t,e)=>{});exports.actions=u;exports.state=a;
@@ -1,4 +1,4 @@
1
- import c from "../../../../node_modules/axios/lib/axios.js";
1
+ import c from "axios";
2
2
  import i from "../../../../../node_modules/js-cookie/dist/js.cookie.js";
3
3
  import { reactive as l, watch as u } from "vue";
4
4
  import { setError as o } from "../../globals/store/globals.js";
@@ -1 +1 @@
1
- "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vue"),s=require("vue-router"),c=require("../../../globals/components/blocks/CardHeader.vue.cjs"),i=require("../../../icons/navigation/IconEdit.vue.cjs"),d=require("../../../../../../_virtual/_plugin-vue_export-helper.cjs");require("./CardLeftover.vue2.cjs");const m=t=>(e.pushScopeId("data-v-839424cb"),t=t(),e.popScopeId(),t),u={class:"flex-column pos-relative flex-wrap"},f={class:"mn-t-small w-100 bg-white radius-small pd-small spoiler"},v={class:"flex-child flex-child-shrink-0"},h={key:0,class:"mn-r-thin mn-l-thin t-transp"},p={key:1,class:"flex-child flex-child-shrink-0"},k={key:2,class:"mn-r-thin mn-l-thin t-transp"},g={key:3,class:"t-truncate"},y={key:0},V={class:"mn-t-small w-100 mn-b-thin flex"},N={class:"w-50 flex"},E=m(()=>e.createElementVNode("span",{class:"mn-r-thin mn-l-thin t-transp"},"|",-1)),x={class:"w-50"},B={class:"t-transp"},C={class:"t-right w-50"},w={class:"t-transp"},S={__name:"CardLeftover",props:{leftover:Object},setup(t){s.useRouter();const r=e.ref(!0);return(n,l)=>{const a=e.resolveComponent("router-link");return e.openBlock(),e.createElementBlock("div",u,[e.createVNode(c.default,{entity:t.leftover,entityType:"leftover",user:n.user,owner:t.leftover.creator,creator:t.leftover.creator,date:t.leftover.createdAt},null,8,["entity","user","owner","creator","date"]),e.createVNode(a,{to:{name:"LeftoverEdit",params:{_id:t.leftover.organization,leftover:t.leftover._id}},class:"cursor-pointer pos-absolute pos-t-regular pos-r-regular radius-extra pd-thin bg-second"},{default:e.withCtx(()=>[e.createVNode(i.default,{class:"i-regular",classes:"fill-white"})]),_:1},8,["to"]),e.createElementVNode("div",f,[e.createElementVNode("div",{onClick:l[0]||(l[0]=o=>r.value=!r.value),class:"flex-v-center flex"},[e.createElementVNode("span",{class:e.normalizeClass(["flex-child flex-child-shrink-0 capitalize w-max mn-r-thin t-medium radius-big pd-b-nano pd-t-nano pd-r-thin pd-l-thin",{"bg-green":t.leftover.type==="stock-in","bg-red":t.leftover.type==="stock-out"}])},e.toDisplayString(t.leftover.type),3),e.createElementVNode("span",v,"Positions "+e.toDisplayString(t.leftover.positions.length),1),t.leftover.order?(e.openBlock(),e.createElementBlock("span",h,"|")):e.createCommentVNode("",!0),t.leftover.order?(e.openBlock(),e.createElementBlock("span",p,"For order "+e.toDisplayString(t.leftover.order),1)):e.createCommentVNode("",!0),t.leftover.comment?(e.openBlock(),e.createElementBlock("span",k,"|")):e.createCommentVNode("",!0),t.leftover.comment?(e.openBlock(),e.createElementBlock("p",g,"Comment: "+e.toDisplayString(t.leftover.comment),1)):e.createCommentVNode("",!0)]),e.createVNode(e.Transition,{name:"fade"},{default:e.withCtx(()=>[r.value?(e.openBlock(),e.createElementBlock("div",y,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(t.leftover.positions,o=>(e.openBlock(),e.createElementBlock("div",V,[e.createElementVNode("div",N,[e.createElementVNode("span",null,e.toDisplayString(o.name),1),E,e.createElementVNode("span",x,[e.createTextVNode(e.toDisplayString(o.price)+" ",1),e.createElementVNode("span",B,e.toDisplayString(n.returnCurrency()),1)])]),e.createElementVNode("div",C,[e.createTextVNode(e.toDisplayString(o.quantity)+" ",1),e.createElementVNode("span",w,e.toDisplayString(o.type),1)])]))),256))])):e.createCommentVNode("",!0)]),_:1})])])}}},_=d.default(S,[["__scopeId","data-v-839424cb"]]);exports.default=_;
1
+ "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vue"),s=require("vue-router"),c=require("../../../globals/components/blocks/CardHeader.vue.cjs"),i=require("../../../icons/navigation/IconEdit.vue.cjs"),d=require("../../../../../../_virtual/_plugin-vue_export-helper.cjs");;/* empty css */const m=t=>(e.pushScopeId("data-v-839424cb"),t=t(),e.popScopeId(),t),u={class:"flex-column pos-relative flex-wrap"},f={class:"mn-t-small w-100 bg-white radius-small pd-small spoiler"},v={class:"flex-child flex-child-shrink-0"},h={key:0,class:"mn-r-thin mn-l-thin t-transp"},p={key:1,class:"flex-child flex-child-shrink-0"},k={key:2,class:"mn-r-thin mn-l-thin t-transp"},g={key:3,class:"t-truncate"},y={key:0},V={class:"mn-t-small w-100 mn-b-thin flex"},N={class:"w-50 flex"},E=m(()=>e.createElementVNode("span",{class:"mn-r-thin mn-l-thin t-transp"},"|",-1)),x={class:"w-50"},B={class:"t-transp"},C={class:"t-right w-50"},w={class:"t-transp"},S={__name:"CardLeftover",props:{leftover:Object},setup(t){s.useRouter();const r=e.ref(!0);return(n,l)=>{const a=e.resolveComponent("router-link");return e.openBlock(),e.createElementBlock("div",u,[e.createVNode(c.default,{entity:t.leftover,entityType:"leftover",user:n.user,owner:t.leftover.creator,creator:t.leftover.creator,date:t.leftover.createdAt},null,8,["entity","user","owner","creator","date"]),e.createVNode(a,{to:{name:"LeftoverEdit",params:{_id:t.leftover.organization,leftover:t.leftover._id}},class:"cursor-pointer pos-absolute pos-t-regular pos-r-regular radius-extra pd-thin bg-second"},{default:e.withCtx(()=>[e.createVNode(i.default,{class:"i-regular",classes:"fill-white"})]),_:1},8,["to"]),e.createElementVNode("div",f,[e.createElementVNode("div",{onClick:l[0]||(l[0]=o=>r.value=!r.value),class:"flex-v-center flex"},[e.createElementVNode("span",{class:e.normalizeClass(["flex-child flex-child-shrink-0 capitalize w-max mn-r-thin t-medium radius-big pd-b-nano pd-t-nano pd-r-thin pd-l-thin",{"bg-green":t.leftover.type==="stock-in","bg-red":t.leftover.type==="stock-out"}])},e.toDisplayString(t.leftover.type),3),e.createElementVNode("span",v,"Positions "+e.toDisplayString(t.leftover.positions.length),1),t.leftover.order?(e.openBlock(),e.createElementBlock("span",h,"|")):e.createCommentVNode("",!0),t.leftover.order?(e.openBlock(),e.createElementBlock("span",p,"For order "+e.toDisplayString(t.leftover.order),1)):e.createCommentVNode("",!0),t.leftover.comment?(e.openBlock(),e.createElementBlock("span",k,"|")):e.createCommentVNode("",!0),t.leftover.comment?(e.openBlock(),e.createElementBlock("p",g,"Comment: "+e.toDisplayString(t.leftover.comment),1)):e.createCommentVNode("",!0)]),e.createVNode(e.Transition,{name:"fade"},{default:e.withCtx(()=>[r.value?(e.openBlock(),e.createElementBlock("div",y,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(t.leftover.positions,o=>(e.openBlock(),e.createElementBlock("div",V,[e.createElementVNode("div",N,[e.createElementVNode("span",null,e.toDisplayString(o.name),1),E,e.createElementVNode("span",x,[e.createTextVNode(e.toDisplayString(o.price)+" ",1),e.createElementVNode("span",B,e.toDisplayString(n.returnCurrency()),1)])]),e.createElementVNode("div",C,[e.createTextVNode(e.toDisplayString(o.quantity)+" ",1),e.createElementVNode("span",w,e.toDisplayString(o.type),1)])]))),256))])):e.createCommentVNode("",!0)]),_:1})])])}}},_=d.default(S,[["__scopeId","data-v-839424cb"]]);exports.default=_;
@@ -3,7 +3,7 @@ import { useRouter as w } from "vue-router";
3
3
  import b from "../../../globals/components/blocks/CardHeader.vue.js";
4
4
  import C from "../../../icons/navigation/IconEdit.vue.js";
5
5
  import I from "../../../../../../_virtual/_plugin-vue_export-helper.js";
6
- import "./CardLeftover.vue2.js";
6
+ /* empty css */
7
7
  const L = (e) => (k("data-v-839424cb"), e = e(), g(), e), N = { class: "flex-column pos-relative flex-wrap" }, S = { class: "mn-t-small w-100 bg-white radius-small pd-small spoiler" }, V = { class: "flex-child flex-child-shrink-0" }, z = {
8
8
  key: 0,
9
9
  class: "mn-r-thin mn-l-thin t-transp"
@@ -1 +1 @@
1
- "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vue"),i=require("../../../../components/Field/Field.vue2.cjs"),c=require("../../../../components/Select/Select.vue2.cjs");require("../../../../components/SelectMulti/SelectMulti.vue2.cjs");const y=require("../../../icons/navigation/IconAdd.vue.cjs"),k=require("../../../icons/navigation/IconDelete.vue.cjs"),h={class:"gap-thin"},w={class:"gap-thin mn-b-thin flex-nowrap flex"},g={class:"bg-white w-100 w-min-15r br-solid br-1px br-black-transp-5 pd-small radius-small"},x=["disabled"],V={key:0,class:"gap-thin flex-nowrap flex"},N={__name:"CardPosition",props:{product:Object,products:Array,array:Array,showPrice:{type:Boolean,default:!0}},emits:["add","delete","update"],setup(s,{emit:p}){const l=s,n=p,u=e.ref(null),t=e.ref(1),a=e.ref("pcs"),d=e.ref(0),m=e.computed(()=>u.value&&t.value>0&&d.value>=0);e.watch(l.array,()=>{u.value=l.product,t.value=l.product.quantity||1,d.value=l.product.price,a.value=l.product.type}),l.product&&(u.value=l.product,t.value=l.product.quantity||1,d.value=l.product.price,a.value=l.product.type),e.watch([u,t,d,a],()=>{n("update",{...u.value,price:d.value,quantity:t.value||1,type:a.value})});function v(){n("add",{...u.value,price:d.value,quantity:t.value||1,type:a.value})}function b(){n("delete",{...u.value,price:d.value,quantity:t.value||1,type:a.value})}return(f,r)=>(e.openBlock(),e.createElementBlock("div",h,[e.createElementVNode("div",w,[e.createElementVNode("div",g,e.toDisplayString(u.value.name||u.value._id.name),1),s.showPrice?e.createCommentVNode("",!0):(e.openBlock(),e.createBlock(i.default,{key:0,field:t.value,"onUpdate:field":r[1]||(r[1]=o=>t.value=o),type:"number",label:"Qty",class:"bg-white w-100 w-max-10r br-solid br-1px br-black-transp-5 pd-small radius-small"},{default:e.withCtx(()=>[e.createVNode(c.default,{select:a.value,"onUpdate:select":r[0]||(r[0]=o=>a.value=o),options:["pcs","g","ml"],class:"bg-light pd-r-thin pd-l-thin pd-t-nano pd-b-nano radius-thin"},null,8,["select"])]),_:1},8,["field"])),s.product?e.createCommentVNode("",!0):(e.openBlock(),e.createElementBlock("button",{key:1,disabled:!m.value,onClick:v,class:"bg-main aspect-1x1 radius-small pd-small"},[e.createVNode(e.unref(y.default),{class:"i-semi"})],8,x)),s.product?(e.openBlock(),e.createElementBlock("button",{key:2,onClick:b,class:"bg-red aspect-1x1 radius-small pd-small"},[e.createVNode(e.unref(k.default),{class:"i-semi"})])):e.createCommentVNode("",!0)]),s.showPrice?(e.openBlock(),e.createElementBlock("div",V,[e.createVNode(i.default,{field:d.value,"onUpdate:field":r[2]||(r[2]=o=>d.value=o),type:"number",label:"Price",symbol:f.returnCurrency(),class:"bg-white w-100 br-solid br-1px br-black-transp-5 pd-small radius-small"},null,8,["field","symbol"]),e.createVNode(i.default,{field:t.value,"onUpdate:field":r[4]||(r[4]=o=>t.value=o),type:"number",label:"Qty",class:"bg-white w-100 br-solid br-1px br-black-transp-5 pd-small radius-small"},{default:e.withCtx(()=>[e.createVNode(c.default,{select:a.value,"onUpdate:select":r[3]||(r[3]=o=>a.value=o),options:["pcs","g","ml"],class:"bg-light pd-r-thin pd-l-thin pd-t-nano pd-b-nano radius-thin"},null,8,["select"])]),_:1},8,["field"])])):e.createCommentVNode("",!0)]))}};exports.default=N;
1
+ "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vue"),i=require("../../../../components/Field/Field.vue2.cjs"),c=require("../../../../components/Select/Select.vue2.cjs");;/* empty css */const y=require("../../../icons/navigation/IconAdd.vue.cjs"),k=require("../../../icons/navigation/IconDelete.vue.cjs"),h={class:"gap-thin"},w={class:"gap-thin mn-b-thin flex-nowrap flex"},g={class:"bg-white w-100 w-min-15r br-solid br-1px br-black-transp-5 pd-small radius-small"},x=["disabled"],V={key:0,class:"gap-thin flex-nowrap flex"},N={__name:"CardPosition",props:{product:Object,products:Array,array:Array,showPrice:{type:Boolean,default:!0}},emits:["add","delete","update"],setup(s,{emit:p}){const l=s,n=p,u=e.ref(null),t=e.ref(1),a=e.ref("pcs"),d=e.ref(0),m=e.computed(()=>u.value&&t.value>0&&d.value>=0);e.watch(l.array,()=>{u.value=l.product,t.value=l.product.quantity||1,d.value=l.product.price,a.value=l.product.type}),l.product&&(u.value=l.product,t.value=l.product.quantity||1,d.value=l.product.price,a.value=l.product.type),e.watch([u,t,d,a],()=>{n("update",{...u.value,price:d.value,quantity:t.value||1,type:a.value})});function v(){n("add",{...u.value,price:d.value,quantity:t.value||1,type:a.value})}function b(){n("delete",{...u.value,price:d.value,quantity:t.value||1,type:a.value})}return(f,r)=>(e.openBlock(),e.createElementBlock("div",h,[e.createElementVNode("div",w,[e.createElementVNode("div",g,e.toDisplayString(u.value.name||u.value._id.name),1),s.showPrice?e.createCommentVNode("",!0):(e.openBlock(),e.createBlock(i.default,{key:0,field:t.value,"onUpdate:field":r[1]||(r[1]=o=>t.value=o),type:"number",label:"Qty",class:"bg-white w-100 w-max-10r br-solid br-1px br-black-transp-5 pd-small radius-small"},{default:e.withCtx(()=>[e.createVNode(c.default,{select:a.value,"onUpdate:select":r[0]||(r[0]=o=>a.value=o),options:["pcs","g","ml"],class:"bg-light pd-r-thin pd-l-thin pd-t-nano pd-b-nano radius-thin"},null,8,["select"])]),_:1},8,["field"])),s.product?e.createCommentVNode("",!0):(e.openBlock(),e.createElementBlock("button",{key:1,disabled:!m.value,onClick:v,class:"bg-main aspect-1x1 radius-small pd-small"},[e.createVNode(e.unref(y.default),{class:"i-semi"})],8,x)),s.product?(e.openBlock(),e.createElementBlock("button",{key:2,onClick:b,class:"bg-red aspect-1x1 radius-small pd-small"},[e.createVNode(e.unref(k.default),{class:"i-semi"})])):e.createCommentVNode("",!0)]),s.showPrice?(e.openBlock(),e.createElementBlock("div",V,[e.createVNode(i.default,{field:d.value,"onUpdate:field":r[2]||(r[2]=o=>d.value=o),type:"number",label:"Price",symbol:f.returnCurrency(),class:"bg-white w-100 br-solid br-1px br-black-transp-5 pd-small radius-small"},null,8,["field","symbol"]),e.createVNode(i.default,{field:t.value,"onUpdate:field":r[4]||(r[4]=o=>t.value=o),type:"number",label:"Qty",class:"bg-white w-100 br-solid br-1px br-black-transp-5 pd-small radius-small"},{default:e.withCtx(()=>[e.createVNode(c.default,{select:a.value,"onUpdate:select":r[3]||(r[3]=o=>a.value=o),options:["pcs","g","ml"],class:"bg-light pd-r-thin pd-l-thin pd-t-nano pd-b-nano radius-thin"},null,8,["select"])]),_:1},8,["field"])])):e.createCommentVNode("",!0)]))}};exports.default=N;
@@ -1,7 +1,7 @@
1
1
  import { ref as n, computed as q, watch as v, openBlock as o, createElementBlock as p, createElementVNode as y, toDisplayString as U, createBlock as B, withCtx as f, createVNode as i, createCommentVNode as c, unref as h } from "vue";
2
2
  import b from "../../../../components/Field/Field.vue2.js";
3
3
  import w from "../../../../components/Select/Select.vue2.js";
4
- import "../../../../components/SelectMulti/SelectMulti.vue2.js";
4
+ /* empty css */
5
5
  import Q from "../../../icons/navigation/IconAdd.vue.js";
6
6
  import V from "../../../icons/navigation/IconDelete.vue.js";
7
7
  const _ = { class: "gap-thin" }, N = { class: "gap-thin mn-b-thin flex-nowrap flex" }, S = { class: "bg-white w-100 w-min-15r br-solid br-1px br-black-transp-5 pd-small radius-small" }, A = ["disabled"], E = {
@@ -1 +1 @@
1
- "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vue"),M=require("../../../../components/Loader/Loader.vue2.cjs");require("./Images360.vue2.cjs");const b=require("../../../../../../_virtual/_plugin-vue_export-helper.cjs"),k={class:"product-360-viewer"},y=e.createStaticVNode('<svg class="pos-absolute z-index-2 pos-b-0 pd-small" width="73" height="50" viewBox="0 0 73 50" fill="none" xmlns="http://www.w3.org/2000/svg" data-v-c6fa6581><path d="M42.5934 17.2017C42.5934 20.8208 39.8428 23.7544 36.45 23.7544C33.0573 23.7544 30.3066 20.8208 30.3066 17.2017C30.3066 13.5826 33.0573 10.6484 36.45 10.6484C39.8428 10.6484 42.5934 13.5826 42.5934 17.2017Z" fill="rgb(var(--black))" fill-opacity="0.1" data-v-c6fa6581></path><path d="M22.5953 29.4883H50.3053C53.7389 29.4883 56.5197 26.778 56.5197 23.4405V10.8396C56.5197 7.49996 53.739 4.79176 50.3053 4.79176H48.8712C48.2747 2.05313 45.7826 0 42.7962 0H30.1063C27.1179 0 24.6257 2.053 24.0313 4.78967H22.5971C19.1656 4.78967 16.3828 7.49788 16.3828 10.8375V23.4384C16.3807 26.778 19.1634 29.4882 22.595 29.4882L22.5953 29.4883ZM36.449 8.31471C41.4535 8.31471 45.5123 12.2648 45.5123 17.1352C45.5123 22.0062 41.4535 25.9582 36.449 25.9582C31.4445 25.9582 27.3856 22.0081 27.3856 17.1377C27.3856 12.2673 31.4445 8.31471 36.449 8.31471ZM20.9092 9.32597H24.0182C24.9472 9.32597 25.7019 10.0584 25.7019 10.9625C25.7019 11.8686 24.9493 12.6011 24.0182 12.6011H20.9092C19.9823 12.6011 19.2254 11.8707 19.2254 10.9625C19.2275 10.0604 19.9822 9.32597 20.9092 9.32597Z" fill="rgb(var(--black))" fill-opacity="0.1" data-v-c6fa6581></path><path d="M58.8645 12.2878C58.8645 12.2878 77.1839 21.8549 65.5604 32.0445C63.6718 33.6967 55.2747 38.9138 42.5947 39.9368V45.0519C50.0424 44.2514 61.7635 41.887 68.4037 34.9253C82.5323 20.1097 58.8657 12.2871 58.8657 12.2871L58.8645 12.2878Z" fill="rgb(var(--black))" fill-opacity="0.1" data-v-c6fa6581></path><path d="M37.6664 41.209L29.1818 35.5097C28.077 34.7658 27.1702 35.2358 27.1702 36.5516V39.5855C16.2598 38.0408 9.07761 33.565 7.35125 32.0517C-4.2894 21.858 14.0557 12.2871 14.0557 12.2871C14.0557 12.2871 -9.64257 20.1134 4.5039 34.9343C10.2723 40.9769 19.8619 43.5552 27.1712 44.656V44.952V48.5701C27.1712 49.8901 28.078 50.3554 29.1827 49.6141L37.6673 43.9127C38.7757 43.1683 38.7757 41.9525 37.6673 41.2092L37.6664 41.209Z" fill="rgb(var(--black))" fill-opacity="0.1" data-v-c6fa6581></path></svg>',1),V={key:0,class:"h-100 w-100 transition-ease"},I=["src"],B={__name:"Images360",props:{imagePath:{type:String,required:!0},imageCount:{type:Number,default:36},autoRotateSpeed:{type:Number,default:100}},setup(m){const n=m,r=e.ref(0),c=e.ref(!1),u=e.ref(0),v=e.ref(0);e.ref(!0);const g=async()=>{const t=[];for(let a=1;a<=n.imageCount;a++){const l=new Image;l.src=`${n.imagePath}/${a}.jpg`;try{await l.decode(),v.value++}catch(d){console.warn(`Failed to decode ${n.imagePath}/${a}.jpg:`,d)}t.push(l)}return t},C=e.computed(()=>Math.round(v.value/n.imageCount*100)),s=e.ref([]),o=e.ref(""),h=e.ref(null);e.watch(r,t=>{o.value=s.value[t]||""});function p(t){c.value=!0,u.value=t.clientX||t.touches[0].clientX}function f(t){if(!c.value)return;const a=t.clientX||t.touches[0].clientX,l=a-u.value;if(Math.abs(l)>=5){const d=l>0?1:-1;r.value=(r.value+d)%n.imageCount,r.value<0&&(r.value=n.imageCount-1),u.value=a}}function i(){c.value=!1}let _=null;const w=()=>{s.value=[]};return e.onMounted(async()=>{s.value=await g(),o.value=s.value[0]||""}),e.onUnmounted(()=>{clearInterval(_),w()}),(t,a)=>(e.openBlock(),e.createElementBlock("div",k,[y,e.createVNode(e.Transition,{name:"scale5",css:!h.value,appear:""},{default:e.withCtx(()=>[o.value?(e.openBlock(),e.createElementBlock("div",V,[o.value?(e.openBlock(),e.createElementBlock("img",{key:o.value,class:"h-100 w-100 transition-ease",src:(t.FILE_SERVER_URL||"")+o.value.src,alt:"360 product view",onMousedown:p,onMousemove:f,onMouseup:i,onMouseleave:i,onTouchstart:p,onTouchmove:f,onTouchend:i,onDragstart:a[0]||(a[0]=e.withModifiers(()=>{},["prevent"]))},null,40,I)):e.createCommentVNode("",!0)])):e.createCommentVNode("",!0)]),_:1},8,["css"]),e.createVNode(e.Transition,{name:"scale5"},{default:e.withCtx(()=>[o.value?e.createCommentVNode("",!0):(e.openBlock(),e.createBlock(M.default,{key:0,progress:C.value,class:"center z-index-5"},null,8,["progress"]))]),_:1})]))}},L=b.default(B,[["__scopeId","data-v-c6fa6581"]]);exports.default=L;
1
+ "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vue"),M=require("../../../../components/Loader/Loader.vue2.cjs");;/* empty css */const b=require("../../../../../../_virtual/_plugin-vue_export-helper.cjs"),k={class:"product-360-viewer"},y=e.createStaticVNode('<svg class="pos-absolute z-index-2 pos-b-0 pd-small" width="73" height="50" viewBox="0 0 73 50" fill="none" xmlns="http://www.w3.org/2000/svg" data-v-c6fa6581><path d="M42.5934 17.2017C42.5934 20.8208 39.8428 23.7544 36.45 23.7544C33.0573 23.7544 30.3066 20.8208 30.3066 17.2017C30.3066 13.5826 33.0573 10.6484 36.45 10.6484C39.8428 10.6484 42.5934 13.5826 42.5934 17.2017Z" fill="rgb(var(--black))" fill-opacity="0.1" data-v-c6fa6581></path><path d="M22.5953 29.4883H50.3053C53.7389 29.4883 56.5197 26.778 56.5197 23.4405V10.8396C56.5197 7.49996 53.739 4.79176 50.3053 4.79176H48.8712C48.2747 2.05313 45.7826 0 42.7962 0H30.1063C27.1179 0 24.6257 2.053 24.0313 4.78967H22.5971C19.1656 4.78967 16.3828 7.49788 16.3828 10.8375V23.4384C16.3807 26.778 19.1634 29.4882 22.595 29.4882L22.5953 29.4883ZM36.449 8.31471C41.4535 8.31471 45.5123 12.2648 45.5123 17.1352C45.5123 22.0062 41.4535 25.9582 36.449 25.9582C31.4445 25.9582 27.3856 22.0081 27.3856 17.1377C27.3856 12.2673 31.4445 8.31471 36.449 8.31471ZM20.9092 9.32597H24.0182C24.9472 9.32597 25.7019 10.0584 25.7019 10.9625C25.7019 11.8686 24.9493 12.6011 24.0182 12.6011H20.9092C19.9823 12.6011 19.2254 11.8707 19.2254 10.9625C19.2275 10.0604 19.9822 9.32597 20.9092 9.32597Z" fill="rgb(var(--black))" fill-opacity="0.1" data-v-c6fa6581></path><path d="M58.8645 12.2878C58.8645 12.2878 77.1839 21.8549 65.5604 32.0445C63.6718 33.6967 55.2747 38.9138 42.5947 39.9368V45.0519C50.0424 44.2514 61.7635 41.887 68.4037 34.9253C82.5323 20.1097 58.8657 12.2871 58.8657 12.2871L58.8645 12.2878Z" fill="rgb(var(--black))" fill-opacity="0.1" data-v-c6fa6581></path><path d="M37.6664 41.209L29.1818 35.5097C28.077 34.7658 27.1702 35.2358 27.1702 36.5516V39.5855C16.2598 38.0408 9.07761 33.565 7.35125 32.0517C-4.2894 21.858 14.0557 12.2871 14.0557 12.2871C14.0557 12.2871 -9.64257 20.1134 4.5039 34.9343C10.2723 40.9769 19.8619 43.5552 27.1712 44.656V44.952V48.5701C27.1712 49.8901 28.078 50.3554 29.1827 49.6141L37.6673 43.9127C38.7757 43.1683 38.7757 41.9525 37.6673 41.2092L37.6664 41.209Z" fill="rgb(var(--black))" fill-opacity="0.1" data-v-c6fa6581></path></svg>',1),V={key:0,class:"h-100 w-100 transition-ease"},I=["src"],B={__name:"Images360",props:{imagePath:{type:String,required:!0},imageCount:{type:Number,default:36},autoRotateSpeed:{type:Number,default:100}},setup(m){const n=m,r=e.ref(0),c=e.ref(!1),u=e.ref(0),v=e.ref(0);e.ref(!0);const g=async()=>{const t=[];for(let a=1;a<=n.imageCount;a++){const l=new Image;l.src=`${n.imagePath}/${a}.jpg`;try{await l.decode(),v.value++}catch(d){console.warn(`Failed to decode ${n.imagePath}/${a}.jpg:`,d)}t.push(l)}return t},C=e.computed(()=>Math.round(v.value/n.imageCount*100)),s=e.ref([]),o=e.ref(""),h=e.ref(null);e.watch(r,t=>{o.value=s.value[t]||""});function p(t){c.value=!0,u.value=t.clientX||t.touches[0].clientX}function f(t){if(!c.value)return;const a=t.clientX||t.touches[0].clientX,l=a-u.value;if(Math.abs(l)>=5){const d=l>0?1:-1;r.value=(r.value+d)%n.imageCount,r.value<0&&(r.value=n.imageCount-1),u.value=a}}function i(){c.value=!1}let _=null;const w=()=>{s.value=[]};return e.onMounted(async()=>{s.value=await g(),o.value=s.value[0]||""}),e.onUnmounted(()=>{clearInterval(_),w()}),(t,a)=>(e.openBlock(),e.createElementBlock("div",k,[y,e.createVNode(e.Transition,{name:"scale5",css:!h.value,appear:""},{default:e.withCtx(()=>[o.value?(e.openBlock(),e.createElementBlock("div",V,[o.value?(e.openBlock(),e.createElementBlock("img",{key:o.value,class:"h-100 w-100 transition-ease",src:(t.FILE_SERVER_URL||"")+o.value.src,alt:"360 product view",onMousedown:p,onMousemove:f,onMouseup:i,onMouseleave:i,onTouchstart:p,onTouchmove:f,onTouchend:i,onDragstart:a[0]||(a[0]=e.withModifiers(()=>{},["prevent"]))},null,40,I)):e.createCommentVNode("",!0)])):e.createCommentVNode("",!0)]),_:1},8,["css"]),e.createVNode(e.Transition,{name:"scale5"},{default:e.withCtx(()=>[o.value?e.createCommentVNode("",!0):(e.openBlock(),e.createBlock(M.default,{key:0,progress:C.value,class:"center z-index-5"},null,8,["progress"]))]),_:1})]))}},L=b.default(B,[["__scopeId","data-v-c6fa6581"]]);exports.default=L;
@@ -1,6 +1,6 @@
1
1
  import { ref as a, computed as L, watch as x, onMounted as R, onUnmounted as H, openBlock as c, createElementBlock as p, createVNode as h, Transition as _, withCtx as w, withModifiers as X, createCommentVNode as m, createBlock as Z, createStaticVNode as N } from "vue";
2
2
  import B from "../../../../components/Loader/Loader.vue2.js";
3
- import "./Images360.vue2.js";
3
+ /* empty css */
4
4
  import E from "../../../../../../_virtual/_plugin-vue_export-helper.js";
5
5
  const P = { class: "product-360-viewer" }, S = /* @__PURE__ */ N('<svg class="pos-absolute z-index-2 pos-b-0 pd-small" width="73" height="50" viewBox="0 0 73 50" fill="none" xmlns="http://www.w3.org/2000/svg" data-v-c6fa6581><path d="M42.5934 17.2017C42.5934 20.8208 39.8428 23.7544 36.45 23.7544C33.0573 23.7544 30.3066 20.8208 30.3066 17.2017C30.3066 13.5826 33.0573 10.6484 36.45 10.6484C39.8428 10.6484 42.5934 13.5826 42.5934 17.2017Z" fill="rgb(var(--black))" fill-opacity="0.1" data-v-c6fa6581></path><path d="M22.5953 29.4883H50.3053C53.7389 29.4883 56.5197 26.778 56.5197 23.4405V10.8396C56.5197 7.49996 53.739 4.79176 50.3053 4.79176H48.8712C48.2747 2.05313 45.7826 0 42.7962 0H30.1063C27.1179 0 24.6257 2.053 24.0313 4.78967H22.5971C19.1656 4.78967 16.3828 7.49788 16.3828 10.8375V23.4384C16.3807 26.778 19.1634 29.4882 22.595 29.4882L22.5953 29.4883ZM36.449 8.31471C41.4535 8.31471 45.5123 12.2648 45.5123 17.1352C45.5123 22.0062 41.4535 25.9582 36.449 25.9582C31.4445 25.9582 27.3856 22.0081 27.3856 17.1377C27.3856 12.2673 31.4445 8.31471 36.449 8.31471ZM20.9092 9.32597H24.0182C24.9472 9.32597 25.7019 10.0584 25.7019 10.9625C25.7019 11.8686 24.9493 12.6011 24.0182 12.6011H20.9092C19.9823 12.6011 19.2254 11.8707 19.2254 10.9625C19.2275 10.0604 19.9822 9.32597 20.9092 9.32597Z" fill="rgb(var(--black))" fill-opacity="0.1" data-v-c6fa6581></path><path d="M58.8645 12.2878C58.8645 12.2878 77.1839 21.8549 65.5604 32.0445C63.6718 33.6967 55.2747 38.9138 42.5947 39.9368V45.0519C50.0424 44.2514 61.7635 41.887 68.4037 34.9253C82.5323 20.1097 58.8657 12.2871 58.8657 12.2871L58.8645 12.2878Z" fill="rgb(var(--black))" fill-opacity="0.1" data-v-c6fa6581></path><path d="M37.6664 41.209L29.1818 35.5097C28.077 34.7658 27.1702 35.2358 27.1702 36.5516V39.5855C16.2598 38.0408 9.07761 33.565 7.35125 32.0517C-4.2894 21.858 14.0557 12.2871 14.0557 12.2871C14.0557 12.2871 -9.64257 20.1134 4.5039 34.9343C10.2723 40.9769 19.8619 43.5552 27.1712 44.656V44.952V48.5701C27.1712 49.8901 28.078 50.3554 29.1827 49.6141L37.6673 43.9127C38.7757 43.1683 38.7757 41.9525 37.6673 41.2092L37.6664 41.209Z" fill="rgb(var(--black))" fill-opacity="0.1" data-v-c6fa6581></path></svg>', 1), T = {
6
6
  key: 0,
@@ -45,8 +45,7 @@ const P = { class: "product-360-viewer" }, S = /* @__PURE__ */ N('<svg class="po
45
45
  i.value = !0, u.value = e.clientX || e.touches[0].clientX;
46
46
  }
47
47
  function C(e) {
48
- if (!i.value)
49
- return;
48
+ if (!i.value) return;
50
49
  const t = e.clientX || e.touches[0].clientX, n = t - u.value;
51
50
  if (Math.abs(n) >= 5) {
52
51
  const v = n > 0 ? 1 : -1;
@@ -1 +1 @@
1
- "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vue"),u=require("../../../../components/Popup/Popup.vue2.cjs"),c=require("../../../../components/Magnifier/Magnifier.vue.cjs");require("./ImagesThumbnails.vue2.cjs");const d=require("../../../../../../_virtual/_plugin-vue_export-helper.cjs"),p={class:"product-images"},m={class:"no-responsive cols-4 gap-thin"},_=["src","onClick"],g={__name:"ImagesThumbnails",props:{images:{type:Array,required:!0}},setup(o){const t=e.ref(!1),n=e.ref(0),a=s=>{n.value=s,t.value=!0},i=()=>{t.value=!1};return(s,v)=>(e.openBlock(),e.createElementBlock("div",p,[e.createElementVNode("div",m,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(o.images,(l,r)=>(e.openBlock(),e.createElementBlock("img",{key:r,src:(s.FILE_SERVER_URL||"")+l,onClick:h=>a(r),class:"radius-medium bg-white o-hidden thumbnail"},null,8,_))),128))]),e.createVNode(u.default,{onClosePopup:i,isPopupOpen:t.value,class:"radius-medium o-hidden"},{default:e.withCtx(()=>[e.createVNode(c.default,{imageSrc:(s.FILE_SERVER_URL||"")+o.images[n.value],class:"magnifier z-index-4"},null,8,["imageSrc"])]),_:1},8,["isPopupOpen"])]))}},f=d.default(g,[["__scopeId","data-v-5058c750"]]);exports.default=f;
1
+ "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vue"),c=require("../../../../components/Popup/Popup.vue.cjs"),i=require("../../../../components/PhotoViewer/PhotoViewer.vue.cjs");;/* empty css */const p=require("../../../../../../_virtual/_plugin-vue_export-helper.cjs"),d={class:"o-scroll product-images"},_={class:"no-responsive flex flex-nowrap gap-thin"},m=["src","onClick"],h={__name:"ImagesThumbnails",props:{images:{type:Array,required:!0}},setup(r){const t=e.ref(!1),l=e.ref(null),n=o=>{l.value=o,t.value=!0},u=()=>{t.value=!1};return(o,g)=>(e.openBlock(),e.createElementBlock("div",d,[e.createElementVNode("div",_,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(r.images,(s,a)=>(e.openBlock(),e.createElementBlock("img",{key:a,src:(o.FILE_SERVER_URL||"")+s,onClick:v=>n(s),class:"flex-child flex-child-grow-1 aspect-1x1 radius-semi bg-white o-hidden thumbnail"},null,8,m))),128))]),e.createVNode(c.default,{onClosePopup:u,isPopupOpen:t.value,class:"radius-medium o-hidden"},{default:e.withCtx(()=>[e.createVNode(i.default,{photoUrl:(o.FILE_SERVER_URL||"")+l.value},null,8,["photoUrl"])]),_:1},8,["isPopupOpen"])]))}},f=p.default(h,[["__scopeId","data-v-103087bb"]]);exports.default=f;
@@ -1,9 +1,9 @@
1
- import { ref as r, openBlock as o, createElementBlock as i, createElementVNode as p, Fragment as d, renderList as _, createVNode as c, withCtx as g } from "vue";
2
- import f from "../../../../components/Popup/Popup.vue2.js";
3
- import h from "../../../../components/Magnifier/Magnifier.vue.js";
4
- import "./ImagesThumbnails.vue2.js";
1
+ import { ref as i, openBlock as s, createElementBlock as t, createElementVNode as m, Fragment as d, renderList as _, createVNode as n, withCtx as h } from "vue";
2
+ import f from "../../../../components/Popup/Popup.vue.js";
3
+ import g from "../../../../components/PhotoViewer/PhotoViewer.vue.js";
4
+ /* empty css */
5
5
  import v from "../../../../../../_virtual/_plugin-vue_export-helper.js";
6
- const E = { class: "product-images" }, I = { class: "no-responsive cols-4 gap-thin" }, P = ["src", "onClick"], R = {
6
+ const E = { class: "o-scroll product-images" }, b = { class: "no-responsive flex flex-nowrap gap-thin" }, x = ["src", "onClick"], P = {
7
7
  __name: "ImagesThumbnails",
8
8
  props: {
9
9
  images: {
@@ -11,37 +11,36 @@ const E = { class: "product-images" }, I = { class: "no-responsive cols-4 gap-th
11
11
  required: !0
12
12
  }
13
13
  },
14
- setup(t) {
15
- const s = r(!1), a = r(0), l = (e) => {
16
- a.value = e, s.value = !0;
17
- }, m = () => {
18
- s.value = !1;
14
+ setup(a) {
15
+ const o = i(!1), l = i(null), p = (e) => {
16
+ l.value = e, o.value = !0;
17
+ }, c = () => {
18
+ o.value = !1;
19
19
  };
20
- return (e, b) => (o(), i("div", E, [
21
- p("div", I, [
22
- (o(!0), i(d, null, _(t.images, (u, n) => (o(), i("img", {
23
- key: n,
24
- src: (e.FILE_SERVER_URL || "") + u,
25
- onClick: (k) => l(n),
26
- class: "radius-medium bg-white o-hidden thumbnail"
27
- }, null, 8, P))), 128))
20
+ return (e, I) => (s(), t("div", E, [
21
+ m("div", b, [
22
+ (s(!0), t(d, null, _(a.images, (r, u) => (s(), t("img", {
23
+ key: u,
24
+ src: (e.FILE_SERVER_URL || "") + r,
25
+ onClick: (R) => p(r),
26
+ class: "flex-child flex-child-grow-1 aspect-1x1 radius-semi bg-white o-hidden thumbnail"
27
+ }, null, 8, x))), 128))
28
28
  ]),
29
- c(f, {
30
- onClosePopup: m,
31
- isPopupOpen: s.value,
29
+ n(f, {
30
+ onClosePopup: c,
31
+ isPopupOpen: o.value,
32
32
  class: "radius-medium o-hidden"
33
33
  }, {
34
- default: g(() => [
35
- c(h, {
36
- imageSrc: (e.FILE_SERVER_URL || "") + t.images[a.value],
37
- class: "magnifier z-index-4"
38
- }, null, 8, ["imageSrc"])
34
+ default: h(() => [
35
+ n(g, {
36
+ photoUrl: (e.FILE_SERVER_URL || "") + l.value
37
+ }, null, 8, ["photoUrl"])
39
38
  ]),
40
39
  _: 1
41
40
  }, 8, ["isPopupOpen"])
42
41
  ]));
43
42
  }
44
- }, y = /* @__PURE__ */ v(R, [["__scopeId", "data-v-5058c750"]]);
43
+ }, U = /* @__PURE__ */ v(P, [["__scopeId", "data-v-103087bb"]]);
45
44
  export {
46
- y as default
45
+ U as default
47
46
  };
@@ -1 +1 @@
1
- "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vue"),r=require("vue-router"),s=require("../../../../components/Field/Field.vue2.cjs"),d=require("../../store/leftovers.cjs");require("./LeftoverPositions.vue2.cjs");const u={class:"flex-column flex-wrap block"},m={key:0,class:"w-100"},f={class:"mn-r-regular w-100"},p=["onClick"],y={__name:"LeftoverPositions",props:{order:Object},setup(o){r.useRouter(),r.useRoute();const i=o;function a(n){d.actions.deleteItemFromLeftover(i.order.positions[n])}return(n,b)=>(e.openBlock(),e.createElementBlock("div",null,[e.createElementVNode("ul",u,[o.order.positions.length===0?(e.openBlock(),e.createElementBlock("span",m," No positions added yet ")):e.createCommentVNode("",!0),(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(o.order.positions,(t,c)=>(e.openBlock(),e.createElementBlock("li",{key:t._id,class:"w-100 flex-center flex-nowrap flex"},[e.createElementVNode("span",f,e.toDisplayString(t.name),1),e.createVNode(s.default,{field:t.price,"onUpdate:field":l=>t.price=l,type:"number",label:"Price",symbol:n.returnCurrency(),class:"bg-light pd-medium radius-small"},null,8,["field","onUpdate:field","symbol"]),e.createVNode(s.default,{field:t.quantity,"onUpdate:field":l=>t.quantity=l,type:"number",label:"Quantity",class:"bg-light pd-medium radius-small",symbol:t.type},null,8,["field","onUpdate:field","symbol"]),e.createElementVNode("a",{class:"button",onClick:l=>a(c)}," Delete ",8,p)]))),128))])]))}};exports.default=y;
1
+ "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vue"),r=require("vue-router"),s=require("../../../../components/Field/Field.vue2.cjs"),d=require("../../store/leftovers.cjs");;/* empty css */const u={class:"flex-column flex-wrap block"},m={key:0,class:"w-100"},f={class:"mn-r-regular w-100"},p=["onClick"],y={__name:"LeftoverPositions",props:{order:Object},setup(o){r.useRouter(),r.useRoute();const i=o;function a(n){d.actions.deleteItemFromLeftover(i.order.positions[n])}return(n,b)=>(e.openBlock(),e.createElementBlock("div",null,[e.createElementVNode("ul",u,[o.order.positions.length===0?(e.openBlock(),e.createElementBlock("span",m," No positions added yet ")):e.createCommentVNode("",!0),(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(o.order.positions,(t,c)=>(e.openBlock(),e.createElementBlock("li",{key:t._id,class:"w-100 flex-center flex-nowrap flex"},[e.createElementVNode("span",f,e.toDisplayString(t.name),1),e.createVNode(s.default,{field:t.price,"onUpdate:field":l=>t.price=l,type:"number",label:"Price",symbol:n.returnCurrency(),class:"bg-light pd-medium radius-small"},null,8,["field","onUpdate:field","symbol"]),e.createVNode(s.default,{field:t.quantity,"onUpdate:field":l=>t.quantity=l,type:"number",label:"Quantity",class:"bg-light pd-medium radius-small",symbol:t.type},null,8,["field","onUpdate:field","symbol"]),e.createElementVNode("a",{class:"button",onClick:l=>a(c)}," Delete ",8,p)]))),128))])]))}};exports.default=y;
@@ -2,7 +2,7 @@ import { openBlock as l, createElementBlock as o, createElementVNode as i, creat
2
2
  import { useRouter as b, useRoute as _ } from "vue-router";
3
3
  import a from "../../../../components/Field/Field.vue2.js";
4
4
  import { actions as g } from "../../store/leftovers.js";
5
- import "./LeftoverPositions.vue2.js";
5
+ /* empty css */
6
6
  const h = { class: "flex-column flex-wrap block" }, k = {
7
7
  key: 0,
8
8
  class: "w-100"
@@ -1 +1 @@
1
- "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vue"),n=require("vue-router");require("../../../../components/Field/Field.vue.cjs");const i=require("./CardPosition.vue.cjs"),u=require("../../store/leftovers.cjs");require("./ListPositions.vue2.cjs");const a={class:"flex-column flex-wrap"},d={key:0,class:"w-100"},m={class:"flex-v-center flex radius-medium pd-small bg-white w-100"},p={__name:"ListPositions",props:{order:Object},setup(t){n.useRouter(),n.useRoute();const l=t;function s(r){u.actions.deleteItemFromLeftover(l.order.positions[r])}return(r,f)=>(e.openBlock(),e.createElementBlock("div",null,[e.createElementVNode("ul",a,[t.order.positions.length===0?(e.openBlock(),e.createElementBlock("span",d," No positions added yet ")):e.createCommentVNode("",!0),(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(t.order.positions,(o,c)=>(e.openBlock(),e.createElementBlock("li",{key:o._id,class:"w-100 gap-small flex-stretch flex-center flex-nowrap flex"},[e.createElementVNode("span",m,e.toDisplayString(o.name),1),e.createVNode(i.default,{products:[],product:o,onAdd:_=>s(c)},null,8,["product","onAdd"])]))),128))])]))}};exports.default=p;
1
+ "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vue"),n=require("vue-router");;/* empty css */const i=require("./CardPosition.vue.cjs"),u=require("../../store/leftovers.cjs");;/* empty css */const a={class:"flex-column flex-wrap"},d={key:0,class:"w-100"},m={class:"flex-v-center flex radius-medium pd-small bg-white w-100"},p={__name:"ListPositions",props:{order:Object},setup(t){n.useRouter(),n.useRoute();const l=t;function s(r){u.actions.deleteItemFromLeftover(l.order.positions[r])}return(r,f)=>(e.openBlock(),e.createElementBlock("div",null,[e.createElementVNode("ul",a,[t.order.positions.length===0?(e.openBlock(),e.createElementBlock("span",d," No positions added yet ")):e.createCommentVNode("",!0),(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(t.order.positions,(o,c)=>(e.openBlock(),e.createElementBlock("li",{key:o._id,class:"w-100 gap-small flex-stretch flex-center flex-nowrap flex"},[e.createElementVNode("span",m,e.toDisplayString(o.name),1),e.createVNode(i.default,{products:[],product:o,onAdd:_=>s(c)},null,8,["product","onAdd"])]))),128))])]))}};exports.default=p;
@@ -1,9 +1,9 @@
1
1
  import { openBlock as e, createElementBlock as t, createElementVNode as n, createCommentVNode as d, Fragment as a, renderList as m, toDisplayString as p, createVNode as u } from "vue";
2
2
  import { useRouter as f, useRoute as _ } from "vue-router";
3
- import "../../../../components/Field/Field.vue.js";
3
+ /* empty css */
4
4
  import x from "./CardPosition.vue.js";
5
5
  import { actions as h } from "../../store/leftovers.js";
6
- import "./ListPositions.vue2.js";
6
+ /* empty css */
7
7
  const w = { class: "flex-column flex-wrap" }, g = {
8
8
  key: 0,
9
9
  class: "w-100"
@@ -1 +1 @@
1
- "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vue");require("./Price.vue2.cjs");const l={key:0,class:"pd-r-small t-transp t-transp p-medium line-through price"},i={__name:"Price",props:{product:Object,size:String},setup(t){return(r,a)=>(e.openBlock(),e.createElementBlock("div",{class:e.normalizeClass(["price-tag radius-small",{"bg-main":!t.product.sale,"bg-third-small":t.product.sale}])},[e.createElementVNode("p",{class:e.normalizeClass({h4:!t.size,"h5 t-semi pd-thin":t.size==="small","h3 t-semi pd-small":t.size==="big"})},e.toDisplayString(t.product.price)+" "+e.toDisplayString(r.returnCurrency()),3),t.product.sale?(e.openBlock(),e.createElementBlock("p",l,e.toDisplayString(t.product.price/100*(100+t.product.sale))+" "+e.toDisplayString(r.returnCurrency()),1)):e.createCommentVNode("",!0)],2))}};exports.default=i;
1
+ "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vue");;/* empty css */const l={key:0,class:"pd-r-small t-transp t-transp p-medium line-through price"},i={__name:"Price",props:{product:Object,size:String},setup(t){return(r,a)=>(e.openBlock(),e.createElementBlock("div",{class:e.normalizeClass(["price-tag radius-small",{"bg-main":!t.product.sale,"bg-third-small":t.product.sale}])},[e.createElementVNode("p",{class:e.normalizeClass({h4:!t.size,"h5 t-semi pd-thin":t.size==="small","h3 t-semi pd-small":t.size==="big"})},e.toDisplayString(t.product.price)+" "+e.toDisplayString(r.returnCurrency()),3),t.product.sale?(e.openBlock(),e.createElementBlock("p",l,e.toDisplayString(t.product.price/100*(100+t.product.sale))+" "+e.toDisplayString(r.returnCurrency()),1)):e.createCommentVNode("",!0)],2))}};exports.default=i;
@@ -1,5 +1,5 @@
1
1
  import { openBlock as a, createElementBlock as c, normalizeClass as i, createElementVNode as l, toDisplayString as t, createCommentVNode as s } from "vue";
2
- import "./Price.vue2.js";
2
+ /* empty css */
3
3
  const n = {
4
4
  key: 0,
5
5
  class: "pd-r-small t-transp t-transp p-medium line-through price"
@@ -1 +1 @@
1
- "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vue");require("./THC.vue2.cjs");const o={key:0,class:"thc"},n={class:"t-bold t-white"},r=e.createElementVNode("p",{class:"t-white h6"},"THC",-1),i={key:0,width:"60",height:"66",viewBox:"0 0 60 66",fill:"none",xmlns:"http://www.w3.org/2000/svg"},l=e.createElementVNode("path",{fill:"#FF0000",stroke:"rgb(var(--white))","stroke-width":"3",d:"M26 3.3094C28.4752 1.88034 31.5248 1.88034 34 3.3094L53.7128 14.6906C56.188 16.1197 57.7128 18.7607 57.7128 21.6188V44.3812C57.7128 47.2393 56.188 49.8803 53.7128 51.3094L34 62.6906C31.5248 64.1197 28.4752 64.1197 26 62.6906L6.28719 51.3094C3.81198 49.8803 2.28719 47.2393 2.28719 44.3812V21.6188C2.28719 18.7607 3.81198 16.1197 6.28719 14.6906L26 3.3094Z"},null,-1),c=[l],s={key:1,width:"60",height:"66",viewBox:"0 0 60 66",fill:"none",xmlns:"http://www.w3.org/2000/svg"},d=e.createElementVNode("path",{fill:"#FF0099",stroke:"rgb(var(--white))","stroke-width":"3",d:"M26 3.3094C28.4752 1.88034 31.5248 1.88034 34 3.3094L53.7128 14.6906C56.188 16.1197 57.7128 18.7607 57.7128 21.6188V44.3812C57.7128 47.2393 56.188 49.8803 53.7128 51.3094L34 62.6906C31.5248 64.1197 28.4752 64.1197 26 62.6906L6.28719 51.3094C3.81198 49.8803 2.28719 47.2393 2.28719 44.3812V21.6188C2.28719 18.7607 3.81198 16.1197 6.28719 14.6906L26 3.3094Z"},null,-1),a=[d],h={key:2,width:"60",height:"66",viewBox:"0 0 60 66",fill:"none",xmlns:"http://www.w3.org/2000/svg"},u=e.createElementVNode("path",{fill:"#EB00FF",stroke:"rgb(var(--white))","stroke-width":"3",d:"M26 3.3094C28.4752 1.88034 31.5248 1.88034 34 3.3094L53.7128 14.6906C56.188 16.1197 57.7128 18.7607 57.7128 21.6188V44.3812C57.7128 47.2393 56.188 49.8803 53.7128 51.3094L34 62.6906C31.5248 64.1197 28.4752 64.1197 26 62.6906L6.28719 51.3094C3.81198 49.8803 2.28719 47.2393 2.28719 44.3812V21.6188C2.28719 18.7607 3.81198 16.1197 6.28719 14.6906L26 3.3094Z"},null,-1),m=[u],w={key:3,width:"60",height:"66",viewBox:"0 0 60 66",fill:"none",xmlns:"http://www.w3.org/2000/svg"},C=e.createElementVNode("path",{fill:"#00FF29",stroke:"rgb(var(--white))","stroke-width":"3",d:"M26 3.3094C28.4752 1.88034 31.5248 1.88034 34 3.3094L53.7128 14.6906C56.188 16.1197 57.7128 18.7607 57.7128 21.6188V44.3812C57.7128 47.2393 56.188 49.8803 53.7128 51.3094L34 62.6906C31.5248 64.1197 28.4752 64.1197 26 62.6906L6.28719 51.3094C3.81198 49.8803 2.28719 47.2393 2.28719 44.3812V21.6188C2.28719 18.7607 3.81198 16.1197 6.28719 14.6906L26 3.3094Z"},null,-1),v=[C],_={__name:"THC",props:{product:Object},setup(t){return(g,k)=>t.product.information[1]?(e.openBlock(),e.createElementBlock("div",o,[e.createElementVNode("p",n,e.toDisplayString(t.product.information[1].value)+" %",1),r,Number(t.product.information[1].value)>=18?(e.openBlock(),e.createElementBlock("svg",i,c)):e.createCommentVNode("",!0),Number(t.product.information[1].value)<=18&&Number(t.product.information[1].value)>=14?(e.openBlock(),e.createElementBlock("svg",s,a)):e.createCommentVNode("",!0),Number(t.product.information[1].value)<=14&&Number(t.product.information[1].value)>=10?(e.openBlock(),e.createElementBlock("svg",h,m)):e.createCommentVNode("",!0),Number(t.product.information[1].value)<=10?(e.openBlock(),e.createElementBlock("svg",w,v)):e.createCommentVNode("",!0)])):e.createCommentVNode("",!0)}};exports.default=_;
1
+ "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vue");;/* empty css */const o={key:0,class:"thc"},n={class:"t-bold t-white"},r=e.createElementVNode("p",{class:"t-white h6"},"THC",-1),i={key:0,width:"60",height:"66",viewBox:"0 0 60 66",fill:"none",xmlns:"http://www.w3.org/2000/svg"},l=e.createElementVNode("path",{fill:"#FF0000",stroke:"rgb(var(--white))","stroke-width":"3",d:"M26 3.3094C28.4752 1.88034 31.5248 1.88034 34 3.3094L53.7128 14.6906C56.188 16.1197 57.7128 18.7607 57.7128 21.6188V44.3812C57.7128 47.2393 56.188 49.8803 53.7128 51.3094L34 62.6906C31.5248 64.1197 28.4752 64.1197 26 62.6906L6.28719 51.3094C3.81198 49.8803 2.28719 47.2393 2.28719 44.3812V21.6188C2.28719 18.7607 3.81198 16.1197 6.28719 14.6906L26 3.3094Z"},null,-1),c=[l],s={key:1,width:"60",height:"66",viewBox:"0 0 60 66",fill:"none",xmlns:"http://www.w3.org/2000/svg"},d=e.createElementVNode("path",{fill:"#FF0099",stroke:"rgb(var(--white))","stroke-width":"3",d:"M26 3.3094C28.4752 1.88034 31.5248 1.88034 34 3.3094L53.7128 14.6906C56.188 16.1197 57.7128 18.7607 57.7128 21.6188V44.3812C57.7128 47.2393 56.188 49.8803 53.7128 51.3094L34 62.6906C31.5248 64.1197 28.4752 64.1197 26 62.6906L6.28719 51.3094C3.81198 49.8803 2.28719 47.2393 2.28719 44.3812V21.6188C2.28719 18.7607 3.81198 16.1197 6.28719 14.6906L26 3.3094Z"},null,-1),a=[d],h={key:2,width:"60",height:"66",viewBox:"0 0 60 66",fill:"none",xmlns:"http://www.w3.org/2000/svg"},u=e.createElementVNode("path",{fill:"#EB00FF",stroke:"rgb(var(--white))","stroke-width":"3",d:"M26 3.3094C28.4752 1.88034 31.5248 1.88034 34 3.3094L53.7128 14.6906C56.188 16.1197 57.7128 18.7607 57.7128 21.6188V44.3812C57.7128 47.2393 56.188 49.8803 53.7128 51.3094L34 62.6906C31.5248 64.1197 28.4752 64.1197 26 62.6906L6.28719 51.3094C3.81198 49.8803 2.28719 47.2393 2.28719 44.3812V21.6188C2.28719 18.7607 3.81198 16.1197 6.28719 14.6906L26 3.3094Z"},null,-1),m=[u],w={key:3,width:"60",height:"66",viewBox:"0 0 60 66",fill:"none",xmlns:"http://www.w3.org/2000/svg"},C=e.createElementVNode("path",{fill:"#00FF29",stroke:"rgb(var(--white))","stroke-width":"3",d:"M26 3.3094C28.4752 1.88034 31.5248 1.88034 34 3.3094L53.7128 14.6906C56.188 16.1197 57.7128 18.7607 57.7128 21.6188V44.3812C57.7128 47.2393 56.188 49.8803 53.7128 51.3094L34 62.6906C31.5248 64.1197 28.4752 64.1197 26 62.6906L6.28719 51.3094C3.81198 49.8803 2.28719 47.2393 2.28719 44.3812V21.6188C2.28719 18.7607 3.81198 16.1197 6.28719 14.6906L26 3.3094Z"},null,-1),v=[C],_={__name:"THC",props:{product:Object},setup(t){return(g,k)=>t.product.information[1]?(e.openBlock(),e.createElementBlock("div",o,[e.createElementVNode("p",n,e.toDisplayString(t.product.information[1].value)+" %",1),r,Number(t.product.information[1].value)>=18?(e.openBlock(),e.createElementBlock("svg",i,c)):e.createCommentVNode("",!0),Number(t.product.information[1].value)<=18&&Number(t.product.information[1].value)>=14?(e.openBlock(),e.createElementBlock("svg",s,a)):e.createCommentVNode("",!0),Number(t.product.information[1].value)<=14&&Number(t.product.information[1].value)>=10?(e.openBlock(),e.createElementBlock("svg",h,m)):e.createCommentVNode("",!0),Number(t.product.information[1].value)<=10?(e.openBlock(),e.createElementBlock("svg",w,v)):e.createCommentVNode("",!0)])):e.createCommentVNode("",!0)}};exports.default=_;
@@ -1,5 +1,5 @@
1
1
  import { openBlock as o, createElementBlock as i, createElementVNode as e, toDisplayString as s, createCommentVNode as n } from "vue";
2
- import "./THC.vue2.js";
2
+ /* empty css */
3
3
  const r = {
4
4
  key: 0,
5
5
  class: "thc"
@@ -1 +1 @@
1
- "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vue"),c=require("vue-router"),i=require("../../../icons/navigation/IconDelete.vue.cjs"),f=require("../../../../components/Button/Button.vue2.cjs"),g=require("../../../../components/Select/Select.vue2.cjs"),d=require("../../../../components/Field/Field.vue2.cjs"),n=require("../../../../components/Block/Block.vue.cjs"),l=require("../../store/categories.cjs");require("./CategoryEdit.vue2.cjs");const b={class:"mn-r-auto"},h={class:"mn-b-medium w-100 flex-nowrap gap-thin flex"},w={class:"flex-v-center flex-nowrap flex"},x=e.createElementVNode("h4",{class:"mn-r-thin t-medium"},"Localization",-1),N=["onClick"],k=["onClick"],V=["onClick"],y={__name:"CategoryEdit",setup(C){const o=c.useRoute(),u=c.useRouter();o.params.category?l.actions.fetchCategory(o.params.category):l.actions.resetCategory(),e.computed(()=>l.state.current),e.computed(()=>o.name);function m(){o.params.category?l.actions.updateCategory(o.params.category):l.actions.addCategory()}function p(){u.push({name:"Categories Organization",params:{_id:o.params._id}})}return(_,r)=>(e.openBlock(),e.createElementBlock(e.Fragment,null,[e.createVNode(n.default,{class:"radius-big mn-b-thin flex-nowrap flex-v-center flex"},{default:e.withCtx(()=>[e.createElementVNode("h1",b,e.toDisplayString(e.unref(o).params.category?"Edit Category":"Add Category"),1),e.createVNode(f.default,{submit:m,callback:p,class:"pd-small radius-big bg-main t-black uppercase t-medium"},{default:e.withCtx(()=>[e.createTextVNode(" Save Category ")]),_:1})]),_:1}),e.createVNode(n.default,{title:"Profile",class:"mn-b-thin"},{default:e.withCtx(()=>[e.createElementVNode("div",h,[e.createVNode(d.default,{field:l.state.current.order,"onUpdate:field":r[0]||(r[0]=t=>l.state.current.order=t),label:"Order",disabled:!0,class:"w-25 bg-white radius-small pd-medium"},null,8,["field"]),e.createVNode(d.default,{field:l.state.current.url,"onUpdate:field":r[1]||(r[1]=t=>l.state.current.url=t),label:"URL",placeholder:"Enter category URL",class:"w-100 bg-white radius-small pd-medium"},null,8,["field"]),e.createVNode(d.default,{field:l.state.current.name,"onUpdate:field":r[2]||(r[2]=t=>l.state.current.name=t),label:"Name",placeholder:"Enter category name",class:"w-100 bg-white radius-small pd-medium"},null,8,["field"])]),e.createVNode(g.default,{select:l.state.current.status,"onUpdate:select":r[3]||(r[3]=t=>l.state.current.status=t),label:"Status",options:["draft","internal","published","removed"],placeholder:"Display product",class:"pos-relative w-100 mn-b-small bg-white radius-small pd-medium"},null,8,["select"]),e.createElementVNode("div",w,[x,e.createElementVNode("button",{onClick:r[4]||(r[4]=()=>l.state.current.localization.push({locale:"",text:""})),class:"i-small pd-thin button-delete button"}," + ")]),(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(l.state.current.localization,(t,s)=>(e.openBlock(),e.createElementBlock("div",{class:"gap-thin mn-b-thin flex-nowrap flex",key:s},[e.createVNode(d.default,{field:t.locale,"onUpdate:field":a=>t.locale=a,placeholder:"Locale",class:"w-100 bg-white radius-small pd-medium"},null,8,["field","onUpdate:field"]),e.createVNode(d.default,{field:t.text,"onUpdate:field":a=>t.text=a,placeholder:"Text",class:"w-100 bg-white radius-small pd-medium"},null,8,["field","onUpdate:field"]),e.createElementVNode("div",{onClick:()=>l.state.current.localization.splice(s,1),class:"radius-small pd-small flex-center flex aspect-1x1 bg-red"},[e.createVNode(i.default,{class:"i-medium"})],8,N)]))),128))]),_:1}),e.createVNode(n.default,{title:"Subcategories",placeholder:"No subcategories added yet",actions:[{label:"+",function:()=>l.state.current.subcategories.push({name:"",url:""})}],class:"mn-b-thin"},{default:e.withCtx(()=>[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(l.state.current.subcategories,(t,s)=>(e.openBlock(),e.createElementBlock("div",{class:"gap-thin mn-b-thin flex-nowrap flex",key:s},[e.createVNode(d.default,{field:t.name,"onUpdate:field":a=>t.name=a,placeholder:"Subcategory name",class:"w-100 bg-white radius-small pd-medium"},null,8,["field","onUpdate:field"]),e.createVNode(d.default,{field:t.url,"onUpdate:field":a=>t.url=a,placeholder:"Subcategory",class:"w-100 bg-white radius-small pd-medium"},null,8,["field","onUpdate:field"]),e.createElementVNode("div",{onClick:()=>l.state.current.subcategories.splice(s,1),class:"radius-small pd-small flex-center flex aspect-1x1 bg-red"},[e.createVNode(i.default,{class:"i-medium"})],8,k)]))),128))]),_:1},8,["actions"]),e.createVNode(n.default,{title:"Filters",placeholder:"No filters added yet",actions:[{label:"+",function:()=>l.state.current.filters.push({name:"",url:""})}]},{default:e.withCtx(()=>[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(l.state.current.filters,(t,s)=>(e.openBlock(),e.createElementBlock("div",{class:"gap-thin mn-b-thin flex-nowrap flex",key:s},[e.createVNode(d.default,{field:t.name,"onUpdate:field":a=>t.name=a,placeholder:"Filter name",class:"w-100 bg-white radius-small pd-medium"},null,8,["field","onUpdate:field"]),e.createVNode(d.default,{field:t.options,"onUpdate:field":a=>t.options=a,placeholder:"Filter options divided by ,",class:"w-100 bg-white radius-small pd-medium"},null,8,["field","onUpdate:field"]),e.createElementVNode("div",{onClick:()=>l.state.current.filters.splice(s,1),class:"radius-small pd-small flex-center flex aspect-1x1 bg-red"},[e.createVNode(i.default,{class:"i-medium"})],8,V)]))),128))]),_:1},8,["actions"])],64))}};exports.default=y;
1
+ "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vue"),c=require("vue-router"),i=require("../../../icons/navigation/IconDelete.vue.cjs"),f=require("../../../../components/Button/Button.vue2.cjs"),g=require("../../../../components/Select/Select.vue2.cjs"),d=require("../../../../components/Field/Field.vue2.cjs"),n=require("../../../../components/Block/Block.vue.cjs"),l=require("../../store/categories.cjs");;/* empty css */const b={class:"mn-r-auto"},h={class:"mn-b-medium w-100 flex-nowrap gap-thin flex"},w={class:"flex-v-center flex-nowrap flex"},x=e.createElementVNode("h4",{class:"mn-r-thin t-medium"},"Localization",-1),N=["onClick"],k=["onClick"],V=["onClick"],y={__name:"CategoryEdit",setup(C){const o=c.useRoute(),u=c.useRouter();o.params.category?l.actions.fetchCategory(o.params.category):l.actions.resetCategory(),e.computed(()=>l.state.current),e.computed(()=>o.name);function m(){o.params.category?l.actions.updateCategory(o.params.category):l.actions.addCategory()}function p(){u.push({name:"Categories Organization",params:{_id:o.params._id}})}return(_,r)=>(e.openBlock(),e.createElementBlock(e.Fragment,null,[e.createVNode(n.default,{class:"radius-big mn-b-thin flex-nowrap flex-v-center flex"},{default:e.withCtx(()=>[e.createElementVNode("h1",b,e.toDisplayString(e.unref(o).params.category?"Edit Category":"Add Category"),1),e.createVNode(f.default,{submit:m,callback:p,class:"pd-small radius-big bg-main t-black uppercase t-medium"},{default:e.withCtx(()=>[e.createTextVNode(" Save Category ")]),_:1})]),_:1}),e.createVNode(n.default,{title:"Profile",class:"mn-b-thin"},{default:e.withCtx(()=>[e.createElementVNode("div",h,[e.createVNode(d.default,{field:l.state.current.order,"onUpdate:field":r[0]||(r[0]=t=>l.state.current.order=t),label:"Order",disabled:!0,class:"w-25 bg-white radius-small pd-medium"},null,8,["field"]),e.createVNode(d.default,{field:l.state.current.url,"onUpdate:field":r[1]||(r[1]=t=>l.state.current.url=t),label:"URL",placeholder:"Enter category URL",class:"w-100 bg-white radius-small pd-medium"},null,8,["field"]),e.createVNode(d.default,{field:l.state.current.name,"onUpdate:field":r[2]||(r[2]=t=>l.state.current.name=t),label:"Name",placeholder:"Enter category name",class:"w-100 bg-white radius-small pd-medium"},null,8,["field"])]),e.createVNode(g.default,{select:l.state.current.status,"onUpdate:select":r[3]||(r[3]=t=>l.state.current.status=t),label:"Status",options:["draft","internal","published","removed"],placeholder:"Display product",class:"pos-relative w-100 mn-b-small bg-white radius-small pd-medium"},null,8,["select"]),e.createElementVNode("div",w,[x,e.createElementVNode("button",{onClick:r[4]||(r[4]=()=>l.state.current.localization.push({locale:"",text:""})),class:"i-small pd-thin button-delete button"}," + ")]),(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(l.state.current.localization,(t,s)=>(e.openBlock(),e.createElementBlock("div",{class:"gap-thin mn-b-thin flex-nowrap flex",key:s},[e.createVNode(d.default,{field:t.locale,"onUpdate:field":a=>t.locale=a,placeholder:"Locale",class:"w-100 bg-white radius-small pd-medium"},null,8,["field","onUpdate:field"]),e.createVNode(d.default,{field:t.text,"onUpdate:field":a=>t.text=a,placeholder:"Text",class:"w-100 bg-white radius-small pd-medium"},null,8,["field","onUpdate:field"]),e.createElementVNode("div",{onClick:()=>l.state.current.localization.splice(s,1),class:"radius-small pd-small flex-center flex aspect-1x1 bg-red"},[e.createVNode(i.default,{class:"i-medium"})],8,N)]))),128))]),_:1}),e.createVNode(n.default,{title:"Subcategories",placeholder:"No subcategories added yet",actions:[{label:"+",function:()=>l.state.current.subcategories.push({name:"",url:""})}],class:"mn-b-thin"},{default:e.withCtx(()=>[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(l.state.current.subcategories,(t,s)=>(e.openBlock(),e.createElementBlock("div",{class:"gap-thin mn-b-thin flex-nowrap flex",key:s},[e.createVNode(d.default,{field:t.name,"onUpdate:field":a=>t.name=a,placeholder:"Subcategory name",class:"w-100 bg-white radius-small pd-medium"},null,8,["field","onUpdate:field"]),e.createVNode(d.default,{field:t.url,"onUpdate:field":a=>t.url=a,placeholder:"Subcategory",class:"w-100 bg-white radius-small pd-medium"},null,8,["field","onUpdate:field"]),e.createElementVNode("div",{onClick:()=>l.state.current.subcategories.splice(s,1),class:"radius-small pd-small flex-center flex aspect-1x1 bg-red"},[e.createVNode(i.default,{class:"i-medium"})],8,k)]))),128))]),_:1},8,["actions"]),e.createVNode(n.default,{title:"Filters",placeholder:"No filters added yet",actions:[{label:"+",function:()=>l.state.current.filters.push({name:"",url:""})}]},{default:e.withCtx(()=>[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(l.state.current.filters,(t,s)=>(e.openBlock(),e.createElementBlock("div",{class:"gap-thin mn-b-thin flex-nowrap flex",key:s},[e.createVNode(d.default,{field:t.name,"onUpdate:field":a=>t.name=a,placeholder:"Filter name",class:"w-100 bg-white radius-small pd-medium"},null,8,["field","onUpdate:field"]),e.createVNode(d.default,{field:t.options,"onUpdate:field":a=>t.options=a,placeholder:"Filter options divided by ,",class:"w-100 bg-white radius-small pd-medium"},null,8,["field","onUpdate:field"]),e.createElementVNode("div",{onClick:()=>l.state.current.filters.splice(s,1),class:"radius-small pd-small flex-center flex aspect-1x1 bg-red"},[e.createVNode(i.default,{class:"i-medium"})],8,V)]))),128))]),_:1},8,["actions"])],64))}};exports.default=y;
@@ -6,7 +6,7 @@ import E from "../../../../components/Select/Select.vue2.js";
6
6
  import i from "../../../../components/Field/Field.vue2.js";
7
7
  import p from "../../../../components/Block/Block.vue.js";
8
8
  import { actions as f, state as t } from "../../store/categories.js";
9
- import "./CategoryEdit.vue2.js";
9
+ /* empty css */
10
10
  const N = { class: "mn-r-auto" }, z = { class: "mn-b-medium w-100 flex-nowrap gap-thin flex" }, F = { class: "flex-v-center flex-nowrap flex" }, L = /* @__PURE__ */ d("h4", { class: "mn-r-thin t-medium" }, "Localization", -1), R = ["onClick"], T = ["onClick"], V = ["onClick"], J = {
11
11
  __name: "CategoryEdit",
12
12
  setup($) {
@@ -1 +1 @@
1
- "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vue"),d=require("../../../../components/Block/Block.vue.cjs"),w=require("../../../../components/Field/Field.vue2.cjs"),N=require("../../../../components/Feed/Feed.vue.cjs"),C=require("../../../../components/Select/Select.vue2.cjs"),q=require("../../../../components/Popup/Popup.vue2.cjs");require("../../../../components/SelectMulti/SelectMulti.vue2.cjs");const P=require("../blocks/CardPosition.vue.cjs"),x=require("../../../orders/components/blocks/CardOrderItem.vue.cjs"),v=require("vue-router"),p=require("../../../globals/store/globals.cjs"),V=require("../../../auth/store/auth.cjs"),t=require("../../store/leftovers.cjs"),m=require("../../store/products.cjs");require("./EditLeftover.vue2.cjs");const B={class:"pd-thin"},E={class:"mn-b-medium gap-small flex-v-center flex-nowrap flex"},S={class:""},D={class:"bg-light mn-b-thin h-min-20r h-max-20r o-scroll pd-medium radius-big"},L={class:"gap-thin flex-v-center flex-nojustify flex"},R={class:"mn-r-auto"},F={__name:"EditLeftover",setup(O){const r=v.useRoute(),i=v.useRouter(),f=e.ref(m.state.all);e.ref(null);const b=e.computed(()=>Number(t.state.current.positions.reduce((a,s)=>Number(a)+Number(s.price),0))),c=e.ref(!1);function g(){c.value=!0}function h(){c.value=!1}e.onMounted(async()=>{if(r.params.leftover)try{await t.actions.fetch(r.params.leftover)}catch{console.error("error")}else t.state.current={type:"",order:"",positions:[]};try{const a=await m.actions.read({organization:r.params._id,limit:100});f.value=a}catch{console.error("error")}});function _(){r.params.leftover?t.actions.fetch(r.params.leftover):t.state.current={type:"",order:"",positions:[]}}function y(){t.state.current.organization=r.params._id,r.params.leftover?t.actions.update(t.state.current).then(()=>i.push({name:"Leftovers",params:{_id:r.params._id}}),a=>console.error("error")):(t.state.current.creator={type:"user",target:V.state.user._id},t.state.current.owner={type:"organization",target:r.params._id},console.log("leftover state is",t.state.current),t.actions.create(t.state.current).then(()=>i.push({name:"Leftovers",params:{_id:r.params._id}}),a=>console.error("error")))}function k(){t.actions.delete(r.params.leftover).then(()=>i.push({name:"Leftovers",params:{_id:r.params._id}}),a=>console.error("error"))}return(a,s)=>(e.openBlock(),e.createElementBlock("div",B,[e.createElementVNode("header",E,[e.createElementVNode("h2",S,e.toDisplayString(e.unref(r).params.leftover?"Edit ":"Add ")+" Inventory",1),e.createVNode(C.default,{select:t.state.current.type,"onUpdate:select":s[0]||(s[0]=o=>t.state.current.type=o),options:["stock-in","stock-out"],placeholder:"Select type",class:"bg-main t-black w-max pd-small t-semi p-big uppercase radius-small"},null,8,["select"])]),e.createVNode(q.default,{title:"Add position",onClosePopup:h,isPopupOpen:c.value,class:"bg-white w-min-30r w-max-30r radius-big pd-medium"},{default:e.withCtx(()=>[e.createElementVNode("div",D,[e.createVNode(N.default,{search:!0,states:{empty:{title:"No Products Found",description:"Currently, there are no such products available."}},store:{read:o=>m.actions.read(o),state:null},options:{organization:e.unref(r).params._id},class:""},{default:e.withCtx(({items:o})=>[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(o,(n,l)=>(e.openBlock(),e.createBlock(x.default,{key:n._id,editable:!1,product:n,onClick:()=>{let u={...n};u.quantity=1,u.type="pcs",p.actions.add(t.state.current.positions,u),h()},class:"bg-white pd-thin radius-medium w-100 mn-b-thin"},null,8,["product","onClick"]))),128))]),_:1},8,["store","options"])])]),_:1},8,["isPopupOpen"]),e.createVNode(d.default,{title:"Invetory Sheet",actions:[{label:"+",function:()=>g()}],placeholder:"No positions added yet",class:"mn-b-semi"},{default:e.withCtx(()=>[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(t.state.current.positions,(o,n)=>(e.openBlock(),e.createBlock(P.default,{key:o._id,product:o,array:t.state.current.positions,products:f.value,onUpdate:l=>p.actions.update(t.state.current.positions,l,n),onDelete:l=>p.actions.delete(t.state.current.positions,l,n),class:"mn-b-small radius-medium bg-white pd-small"},null,8,["product","array","products","onUpdate","onDelete"]))),128))]),_:1},8,["actions"]),e.createVNode(d.default,{title:"Comment",class:"mn-b-semi"},{default:e.withCtx(()=>[e.createVNode(w.default,{field:t.state.current.comment,"onUpdate:field":s[1]||(s[1]=o=>t.state.current.comment=o),label:"Comment",type:"textarea",class:"w-100 bg-white radius-small pd-medium"},null,8,["field"])]),_:1}),e.createVNode(d.default,{class:""},{default:e.withCtx(()=>[e.createElementVNode("section",L,[e.createElementVNode("h3",R," In total: "+e.toDisplayString(a.formatPrice(b.value)),1),e.createElementVNode("a",{onClick:s[2]||(s[2]=o=>y()),class:"bg-main button"}," Save "),e.createElementVNode("a",{class:"t-white bg-second button",onClick:s[3]||(s[3]=o=>_())}," Reset "),e.unref(r).params.leftover?(e.openBlock(),e.createElementBlock("a",{key:0,onClick:s[4]||(s[4]=o=>k()),class:"t-white bg-red button"}," Delete ")):e.createCommentVNode("",!0)])]),_:1})]))}};exports.default=F;
1
+ "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vue"),d=require("../../../../components/Block/Block.vue.cjs"),w=require("../../../../components/Field/Field.vue2.cjs"),N=require("../../../../components/Feed/Feed.vue.cjs"),C=require("../../../../components/Select/Select.vue2.cjs"),q=require("../../../../components/Popup/Popup.vue.cjs");;/* empty css */const P=require("../blocks/CardPosition.vue.cjs"),x=require("../../../orders/components/blocks/CardOrderItem.vue.cjs"),v=require("vue-router"),p=require("../../../globals/store/globals.cjs"),V=require("../../../auth/store/auth.cjs"),t=require("../../store/leftovers.cjs"),m=require("../../store/products.cjs");;/* empty css */const B={class:"pd-thin"},E={class:"mn-b-medium gap-small flex-v-center flex-nowrap flex"},S={class:""},D={class:"bg-light mn-b-thin h-min-20r h-max-20r o-scroll pd-medium radius-big"},L={class:"gap-thin flex-v-center flex-nojustify flex"},R={class:"mn-r-auto"},F={__name:"EditLeftover",setup(O){const r=v.useRoute(),i=v.useRouter(),f=e.ref(m.state.all);e.ref(null);const b=e.computed(()=>Number(t.state.current.positions.reduce((a,s)=>Number(a)+Number(s.price),0))),c=e.ref(!1);function g(){c.value=!0}function h(){c.value=!1}e.onMounted(async()=>{if(r.params.leftover)try{await t.actions.fetch(r.params.leftover)}catch{console.error("error")}else t.state.current={type:"",order:"",positions:[]};try{const a=await m.actions.read({organization:r.params._id,limit:100});f.value=a}catch{console.error("error")}});function _(){r.params.leftover?t.actions.fetch(r.params.leftover):t.state.current={type:"",order:"",positions:[]}}function y(){t.state.current.organization=r.params._id,r.params.leftover?t.actions.update(t.state.current).then(()=>i.push({name:"Leftovers",params:{_id:r.params._id}}),a=>console.error("error")):(t.state.current.creator={type:"user",target:V.state.user._id},t.state.current.owner={type:"organization",target:r.params._id},console.log("leftover state is",t.state.current),t.actions.create(t.state.current).then(()=>i.push({name:"Leftovers",params:{_id:r.params._id}}),a=>console.error("error")))}function k(){t.actions.delete(r.params.leftover).then(()=>i.push({name:"Leftovers",params:{_id:r.params._id}}),a=>console.error("error"))}return(a,s)=>(e.openBlock(),e.createElementBlock("div",B,[e.createElementVNode("header",E,[e.createElementVNode("h2",S,e.toDisplayString(e.unref(r).params.leftover?"Edit ":"Add ")+" Inventory",1),e.createVNode(C.default,{select:t.state.current.type,"onUpdate:select":s[0]||(s[0]=o=>t.state.current.type=o),options:["stock-in","stock-out"],placeholder:"Select type",class:"bg-main t-black w-max pd-small t-semi p-big uppercase radius-small"},null,8,["select"])]),e.createVNode(q.default,{title:"Add position",onClosePopup:h,isPopupOpen:c.value,class:"bg-white w-min-30r w-max-30r radius-big pd-medium"},{default:e.withCtx(()=>[e.createElementVNode("div",D,[e.createVNode(N.default,{search:!0,states:{empty:{title:"No Products Found",description:"Currently, there are no such products available."}},store:{read:o=>m.actions.read(o),state:null},options:{organization:e.unref(r).params._id},class:""},{default:e.withCtx(({items:o})=>[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(o,(n,l)=>(e.openBlock(),e.createBlock(x.default,{key:n._id,editable:!1,product:n,onClick:()=>{let u={...n};u.quantity=1,u.type="pcs",p.actions.add(t.state.current.positions,u),h()},class:"bg-white pd-thin radius-medium w-100 mn-b-thin"},null,8,["product","onClick"]))),128))]),_:1},8,["store","options"])])]),_:1},8,["isPopupOpen"]),e.createVNode(d.default,{title:"Invetory Sheet",actions:[{label:"+",function:()=>g()}],placeholder:"No positions added yet",class:"mn-b-semi"},{default:e.withCtx(()=>[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(t.state.current.positions,(o,n)=>(e.openBlock(),e.createBlock(P.default,{key:o._id,product:o,array:t.state.current.positions,products:f.value,onUpdate:l=>p.actions.update(t.state.current.positions,l,n),onDelete:l=>p.actions.delete(t.state.current.positions,l,n),class:"mn-b-small radius-medium bg-white pd-small"},null,8,["product","array","products","onUpdate","onDelete"]))),128))]),_:1},8,["actions"]),e.createVNode(d.default,{title:"Comment",class:"mn-b-semi"},{default:e.withCtx(()=>[e.createVNode(w.default,{field:t.state.current.comment,"onUpdate:field":s[1]||(s[1]=o=>t.state.current.comment=o),label:"Comment",type:"textarea",class:"w-100 bg-white radius-small pd-medium"},null,8,["field"])]),_:1}),e.createVNode(d.default,{class:""},{default:e.withCtx(()=>[e.createElementVNode("section",L,[e.createElementVNode("h3",R," In total: "+e.toDisplayString(a.formatPrice(b.value)),1),e.createElementVNode("a",{onClick:s[2]||(s[2]=o=>y()),class:"bg-main button"}," Save "),e.createElementVNode("a",{class:"t-white bg-second button",onClick:s[3]||(s[3]=o=>_())}," Reset "),e.unref(r).params.leftover?(e.openBlock(),e.createElementBlock("a",{key:0,onClick:s[4]||(s[4]=o=>k()),class:"t-white bg-red button"}," Delete ")):e.createCommentVNode("",!0)])]),_:1})]))}};exports.default=F;
@@ -3,8 +3,8 @@ import v from "../../../../components/Block/Block.vue.js";
3
3
  import B from "../../../../components/Field/Field.vue2.js";
4
4
  import F from "../../../../components/Feed/Feed.vue.js";
5
5
  import I from "../../../../components/Select/Select.vue2.js";
6
- import O from "../../../../components/Popup/Popup.vue2.js";
7
- import "../../../../components/SelectMulti/SelectMulti.vue2.js";
6
+ import O from "../../../../components/Popup/Popup.vue.js";
7
+ /* empty css */
8
8
  import V from "../blocks/CardPosition.vue.js";
9
9
  import A from "../../../orders/components/blocks/CardOrderItem.vue.js";
10
10
  import { useRoute as j, useRouter as q } from "vue-router";
@@ -12,7 +12,7 @@ import { actions as y } from "../../../globals/store/globals.js";
12
12
  import { state as M } from "../../../auth/store/auth.js";
13
13
  import { state as e, actions as u } from "../../store/leftovers.js";
14
14
  import { state as G, actions as C } from "../../store/products.js";
15
- import "./EditLeftover.vue2.js";
15
+ /* empty css */
16
16
  const H = { class: "pd-thin" }, J = { class: "mn-b-medium gap-small flex-v-center flex-nowrap flex" }, K = { class: "" }, Q = { class: "bg-light mn-b-thin h-min-20r h-max-20r o-scroll pd-medium radius-big" }, T = { class: "gap-thin flex-v-center flex-nojustify flex" }, W = { class: "mn-r-auto" }, de = {
17
17
  __name: "EditLeftover",
18
18
  setup(X) {
@@ -1 +1 @@
1
- "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vue"),a=require("vue-router"),d=require("../../../../components/Tab/Tab.vue2.cjs"),m=require("../../../../components/Feed/Feed.vue.cjs"),p=require("../blocks/CardLeftover.vue.cjs"),u=require("../../store/leftovers.cjs");require("./Leftovers.vue2.cjs");const v={class:"pd-thin"},f={class:"mn-b-medium flex-v-center flex-nowrap flex"},b=e.createElementVNode("h2",{class:"mn-r-medium"},"Inventory",-1),h={class:"mn-b-semi pd-medium bg-light radius-big"},_=e.createElementVNode("p",{class:"mn-b-thin"},"Balance:",-1),g={__name:"Leftovers",setup(k){const s=a.useRoute();a.useRouter();const l=e.ref(s.query.tab?s.query.tab:"all"),i=e.computed(()=>u.state.all.reduce((o,r)=>{const t=r.positions.reduce((n,c)=>n+c.price,0);return r.type==="stock-in"?o-t:r.type==="stock-out"?o+t:o},0));return(o,r)=>(e.openBlock(),e.createElementBlock("div",v,[e.createElementVNode("header",f,[b,e.createElementVNode("button",{onClick:r[0]||(r[0]=t=>o.$router.push({name:"LeftoverAdd"})),class:"radius-100 i-big hover-scale-1 cursor-pointer t-white bg-second"}," + ")]),e.createElementVNode("section",h,[_,e.createElementVNode("h3",null,e.toDisplayString(o.formatPrice(i.value)),1)]),e.createVNode(d.default,{selected:l.value,"onUpdate:selected":r[1]||(r[1]=t=>l.value=t),tabs:[{name:"All",value:"all"},{name:"Stock-In",value:"stock-in"},{name:"Stock-Out",value:"stock-out"}],class:"mn-b-small o-hidden h5 radius-big bg-light"},null,8,["selected"]),e.createVNode(m.default,{search:!0,states:{empty:{title:"No Leftovers Found",description:"Currently, there are no leftovers available."}},store:{read:t=>u.actions.read(t)},options:{limit:15,owner:e.unref(s).params._id,...l.value!=="all"&&{type:l.value}}},{default:e.withCtx(({items:t})=>[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(t,n=>(e.openBlock(),e.createBlock(p.default,{leftover:n,class:"bg-light pd-small mn-b-thin radius-small"},null,8,["leftover"]))),256))]),_:1},8,["store","options"])]))}};exports.default=g;
1
+ "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vue"),a=require("vue-router"),d=require("../../../../components/Tab/Tab.vue2.cjs"),m=require("../../../../components/Feed/Feed.vue.cjs"),p=require("../blocks/CardLeftover.vue.cjs"),u=require("../../store/leftovers.cjs");;/* empty css */const v={class:"pd-thin"},f={class:"mn-b-medium flex-v-center flex-nowrap flex"},b=e.createElementVNode("h2",{class:"mn-r-medium"},"Inventory",-1),h={class:"mn-b-semi pd-medium bg-light radius-big"},_=e.createElementVNode("p",{class:"mn-b-thin"},"Balance:",-1),g={__name:"Leftovers",setup(k){const s=a.useRoute();a.useRouter();const l=e.ref(s.query.tab?s.query.tab:"all"),i=e.computed(()=>u.state.all.reduce((o,r)=>{const t=r.positions.reduce((n,c)=>n+c.price,0);return r.type==="stock-in"?o-t:r.type==="stock-out"?o+t:o},0));return(o,r)=>(e.openBlock(),e.createElementBlock("div",v,[e.createElementVNode("header",f,[b,e.createElementVNode("button",{onClick:r[0]||(r[0]=t=>o.$router.push({name:"LeftoverAdd"})),class:"radius-100 i-big hover-scale-1 cursor-pointer t-white bg-second"}," + ")]),e.createElementVNode("section",h,[_,e.createElementVNode("h3",null,e.toDisplayString(o.formatPrice(i.value)),1)]),e.createVNode(d.default,{selected:l.value,"onUpdate:selected":r[1]||(r[1]=t=>l.value=t),tabs:[{name:"All",value:"all"},{name:"Stock-In",value:"stock-in"},{name:"Stock-Out",value:"stock-out"}],class:"mn-b-small o-hidden h5 radius-big bg-light"},null,8,["selected"]),e.createVNode(m.default,{search:!0,states:{empty:{title:"No Leftovers Found",description:"Currently, there are no leftovers available."}},store:{read:t=>u.actions.read(t)},options:{limit:15,owner:e.unref(s).params._id,...l.value!=="all"&&{type:l.value}}},{default:e.withCtx(({items:t})=>[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(t,n=>(e.openBlock(),e.createBlock(p.default,{leftover:n,class:"bg-light pd-small mn-b-thin radius-small"},null,8,["leftover"]))),256))]),_:1},8,["store","options"])]))}};exports.default=g;