@ozdao/prometheus-framework 0.2.129 → 0.2.132

Sign up to get free protection for your applications and to get access to all the features.
Files changed (1275) hide show
  1. package/dist/_virtual/_commonjsHelpers.cjs +1 -1
  2. package/dist/_virtual/_commonjsHelpers.js +3 -5
  3. package/dist/auth.server.js +0 -1
  4. package/dist/auth.server.mjs +0 -1
  5. package/dist/community.server.js +183 -52
  6. package/dist/community.server.mjs +183 -52
  7. package/dist/{engagement.schema-CI2ifjXN.mjs → engagement.schema-CCdSLKd4.mjs} +1 -2
  8. package/dist/{engagement.schema-fdLNO2_6.js → engagement.schema-D-9md46B.js} +1 -2
  9. package/dist/events.server.js +5 -8
  10. package/dist/events.server.mjs +5 -8
  11. package/dist/files.server.js +39 -6
  12. package/dist/files.server.mjs +39 -6
  13. package/dist/gallery.server.js +2 -2
  14. package/dist/gallery.server.mjs +2 -2
  15. package/dist/main-CI9l9xMs.js +92 -0
  16. package/dist/main-Ckn0Sslr.js +92 -0
  17. package/dist/main-DPg58GOU.mjs +14509 -0
  18. package/dist/{main-DvdaURTh.mjs → main-DxyAONrm.mjs} +4250 -4142
  19. package/dist/main.css +1 -1
  20. package/dist/node_modules/@googlemaps/js-api-loader/dist/index.js +10 -20
  21. package/dist/node_modules/embla-carousel/esm/embla-carousel.esm.js +22 -41
  22. package/dist/node_modules/embla-carousel-autoplay/esm/embla-carousel-autoplay.esm.js +3 -6
  23. package/dist/node_modules/embla-carousel-reactive-utils/esm/embla-carousel-reactive-utils.esm.js +2 -4
  24. package/dist/node_modules/fast-deep-equal/index.js +10 -20
  25. package/dist/node_modules/vue-draggable-next/dist/vue-draggable-next.esm-bundler.js +14 -28
  26. package/dist/orders.server.js +1 -1
  27. package/dist/orders.server.mjs +1 -1
  28. package/dist/organizations.server.js +9 -12
  29. package/dist/organizations.server.mjs +9 -12
  30. package/dist/products.server.js +2 -1
  31. package/dist/products.server.mjs +2 -1
  32. package/dist/prometheus-framework/node_modules/@capacitor/core/dist/index.js +1 -2
  33. package/dist/prometheus-framework/node_modules/@vuepic/vue-datepicker/dist/vue-datepicker.cjs +1 -1
  34. package/dist/prometheus-framework/node_modules/@vuepic/vue-datepicker/dist/vue-datepicker.js +3414 -3284
  35. package/dist/prometheus-framework/node_modules/bignumber.js/bignumber.js +84 -163
  36. package/dist/prometheus-framework/node_modules/date-fns/_lib/protectedTokens.js +1 -2
  37. package/dist/prometheus-framework/node_modules/date-fns/addMonths.js +1 -2
  38. package/dist/prometheus-framework/node_modules/date-fns/compareAsc.cjs +1 -0
  39. package/dist/prometheus-framework/node_modules/date-fns/compareAsc.js +9 -0
  40. package/dist/prometheus-framework/node_modules/date-fns/differenceInCalendarYears.cjs +1 -0
  41. package/dist/prometheus-framework/node_modules/date-fns/differenceInCalendarYears.js +9 -0
  42. package/dist/prometheus-framework/node_modules/date-fns/differenceInYears.cjs +1 -0
  43. package/dist/prometheus-framework/node_modules/date-fns/differenceInYears.js +13 -0
  44. package/dist/prometheus-framework/node_modules/date-fns/format.js +1 -2
  45. package/dist/prometheus-framework/node_modules/date-fns/locale/_lib/buildMatchPatternFn.js +2 -4
  46. package/dist/prometheus-framework/node_modules/date-fns/parse/_lib/Setter.cjs +1 -1
  47. package/dist/prometheus-framework/node_modules/date-fns/parse/_lib/Setter.js +11 -11
  48. package/dist/prometheus-framework/node_modules/date-fns/parse/_lib/parsers/AMPMMidnightParser.cjs +1 -1
  49. package/dist/prometheus-framework/node_modules/date-fns/parse/_lib/parsers/AMPMMidnightParser.js +1 -1
  50. package/dist/prometheus-framework/node_modules/date-fns/parse/_lib/parsers/AMPMParser.cjs +1 -1
  51. package/dist/prometheus-framework/node_modules/date-fns/parse/_lib/parsers/AMPMParser.js +1 -1
  52. package/dist/prometheus-framework/node_modules/date-fns/parse/_lib/parsers/DateParser.cjs +1 -1
  53. package/dist/prometheus-framework/node_modules/date-fns/parse/_lib/parsers/DateParser.js +1 -1
  54. package/dist/prometheus-framework/node_modules/date-fns/parse/_lib/parsers/DayOfYearParser.cjs +1 -1
  55. package/dist/prometheus-framework/node_modules/date-fns/parse/_lib/parsers/DayOfYearParser.js +1 -1
  56. package/dist/prometheus-framework/node_modules/date-fns/parse/_lib/parsers/DayParser.cjs +1 -1
  57. package/dist/prometheus-framework/node_modules/date-fns/parse/_lib/parsers/DayParser.js +1 -1
  58. package/dist/prometheus-framework/node_modules/date-fns/parse/_lib/parsers/DayPeriodParser.cjs +1 -1
  59. package/dist/prometheus-framework/node_modules/date-fns/parse/_lib/parsers/DayPeriodParser.js +1 -1
  60. package/dist/prometheus-framework/node_modules/date-fns/parse/_lib/parsers/EraParser.cjs +1 -1
  61. package/dist/prometheus-framework/node_modules/date-fns/parse/_lib/parsers/EraParser.js +1 -1
  62. package/dist/prometheus-framework/node_modules/date-fns/parse/_lib/parsers/ExtendedYearParser.cjs +1 -1
  63. package/dist/prometheus-framework/node_modules/date-fns/parse/_lib/parsers/ExtendedYearParser.js +1 -1
  64. package/dist/prometheus-framework/node_modules/date-fns/parse/_lib/parsers/FractionOfSecondParser.cjs +1 -1
  65. package/dist/prometheus-framework/node_modules/date-fns/parse/_lib/parsers/FractionOfSecondParser.js +1 -1
  66. package/dist/prometheus-framework/node_modules/date-fns/parse/_lib/parsers/Hour0To11Parser.cjs +1 -1
  67. package/dist/prometheus-framework/node_modules/date-fns/parse/_lib/parsers/Hour0To11Parser.js +1 -1
  68. package/dist/prometheus-framework/node_modules/date-fns/parse/_lib/parsers/Hour0to23Parser.cjs +1 -1
  69. package/dist/prometheus-framework/node_modules/date-fns/parse/_lib/parsers/Hour0to23Parser.js +1 -1
  70. package/dist/prometheus-framework/node_modules/date-fns/parse/_lib/parsers/Hour1To24Parser.cjs +1 -1
  71. package/dist/prometheus-framework/node_modules/date-fns/parse/_lib/parsers/Hour1To24Parser.js +1 -1
  72. package/dist/prometheus-framework/node_modules/date-fns/parse/_lib/parsers/Hour1to12Parser.cjs +1 -1
  73. package/dist/prometheus-framework/node_modules/date-fns/parse/_lib/parsers/Hour1to12Parser.js +1 -1
  74. package/dist/prometheus-framework/node_modules/date-fns/parse/_lib/parsers/ISODayParser.cjs +1 -1
  75. package/dist/prometheus-framework/node_modules/date-fns/parse/_lib/parsers/ISODayParser.js +1 -1
  76. package/dist/prometheus-framework/node_modules/date-fns/parse/_lib/parsers/ISOTimezoneParser.cjs +1 -1
  77. package/dist/prometheus-framework/node_modules/date-fns/parse/_lib/parsers/ISOTimezoneParser.js +1 -1
  78. package/dist/prometheus-framework/node_modules/date-fns/parse/_lib/parsers/ISOTimezoneWithZParser.cjs +1 -1
  79. package/dist/prometheus-framework/node_modules/date-fns/parse/_lib/parsers/ISOTimezoneWithZParser.js +1 -1
  80. package/dist/prometheus-framework/node_modules/date-fns/parse/_lib/parsers/ISOWeekParser.cjs +1 -1
  81. package/dist/prometheus-framework/node_modules/date-fns/parse/_lib/parsers/ISOWeekParser.js +1 -1
  82. package/dist/prometheus-framework/node_modules/date-fns/parse/_lib/parsers/ISOWeekYearParser.cjs +1 -1
  83. package/dist/prometheus-framework/node_modules/date-fns/parse/_lib/parsers/ISOWeekYearParser.js +1 -1
  84. package/dist/prometheus-framework/node_modules/date-fns/parse/_lib/parsers/LocalDayParser.cjs +1 -1
  85. package/dist/prometheus-framework/node_modules/date-fns/parse/_lib/parsers/LocalDayParser.js +1 -1
  86. package/dist/prometheus-framework/node_modules/date-fns/parse/_lib/parsers/LocalWeekParser.cjs +1 -1
  87. package/dist/prometheus-framework/node_modules/date-fns/parse/_lib/parsers/LocalWeekParser.js +1 -1
  88. package/dist/prometheus-framework/node_modules/date-fns/parse/_lib/parsers/LocalWeekYearParser.cjs +1 -1
  89. package/dist/prometheus-framework/node_modules/date-fns/parse/_lib/parsers/LocalWeekYearParser.js +1 -1
  90. package/dist/prometheus-framework/node_modules/date-fns/parse/_lib/parsers/MinuteParser.cjs +1 -1
  91. package/dist/prometheus-framework/node_modules/date-fns/parse/_lib/parsers/MinuteParser.js +1 -1
  92. package/dist/prometheus-framework/node_modules/date-fns/parse/_lib/parsers/MonthParser.cjs +1 -1
  93. package/dist/prometheus-framework/node_modules/date-fns/parse/_lib/parsers/MonthParser.js +1 -1
  94. package/dist/prometheus-framework/node_modules/date-fns/parse/_lib/parsers/QuarterParser.cjs +1 -1
  95. package/dist/prometheus-framework/node_modules/date-fns/parse/_lib/parsers/QuarterParser.js +1 -1
  96. package/dist/prometheus-framework/node_modules/date-fns/parse/_lib/parsers/SecondParser.cjs +1 -1
  97. package/dist/prometheus-framework/node_modules/date-fns/parse/_lib/parsers/SecondParser.js +1 -1
  98. package/dist/prometheus-framework/node_modules/date-fns/parse/_lib/parsers/StandAloneLocalDayParser.cjs +1 -1
  99. package/dist/prometheus-framework/node_modules/date-fns/parse/_lib/parsers/StandAloneLocalDayParser.js +1 -1
  100. package/dist/prometheus-framework/node_modules/date-fns/parse/_lib/parsers/StandAloneMonthParser.cjs +1 -1
  101. package/dist/prometheus-framework/node_modules/date-fns/parse/_lib/parsers/StandAloneMonthParser.js +1 -1
  102. package/dist/prometheus-framework/node_modules/date-fns/parse/_lib/parsers/StandAloneQuarterParser.cjs +1 -1
  103. package/dist/prometheus-framework/node_modules/date-fns/parse/_lib/parsers/StandAloneQuarterParser.js +1 -1
  104. package/dist/prometheus-framework/node_modules/date-fns/parse/_lib/parsers/TimestampMillisecondsParser.cjs +1 -1
  105. package/dist/prometheus-framework/node_modules/date-fns/parse/_lib/parsers/TimestampMillisecondsParser.js +6 -6
  106. package/dist/prometheus-framework/node_modules/date-fns/parse/_lib/parsers/TimestampSecondsParser.cjs +1 -1
  107. package/dist/prometheus-framework/node_modules/date-fns/parse/_lib/parsers/TimestampSecondsParser.js +6 -6
  108. package/dist/prometheus-framework/node_modules/date-fns/parse/_lib/parsers/YearParser.cjs +1 -1
  109. package/dist/prometheus-framework/node_modules/date-fns/parse/_lib/parsers/YearParser.js +1 -1
  110. package/dist/prometheus-framework/node_modules/date-fns/startOfMonth.cjs +1 -0
  111. package/dist/prometheus-framework/node_modules/date-fns/startOfMonth.js +9 -0
  112. package/dist/prometheus-framework/node_modules/libphonenumber-js/es6/ParseError.js +4 -8
  113. package/dist/prometheus-framework/node_modules/libphonenumber-js/es6/format.js +5 -10
  114. package/dist/prometheus-framework/node_modules/libphonenumber-js/es6/helpers/getCountryByNationalNumber.js +4 -8
  115. package/dist/prometheus-framework/node_modules/libphonenumber-js/es6/helpers/getNumberType.js +4 -8
  116. package/dist/prometheus-framework/node_modules/libphonenumber-js/es6/normalizeArguments.js +7 -14
  117. package/dist/prometheus-framework/node_modules/libphonenumber-js/es6/parse.js +1 -2
  118. package/dist/prometheus-framework/node_modules/libphonenumber-js/es6/parseIncompletePhoneNumber.js +4 -8
  119. package/dist/prometheus-framework/node_modules/libphonenumber-js/es6/parsePhoneNumber_.js +1 -2
  120. package/dist/prometheus-framework/node_modules/libphonenumber-js/es6/tools/semver-compare.js +4 -8
  121. package/dist/prometheus-framework/node_modules/libphonenumber-js/metadata.min.json.cjs +1 -1
  122. package/dist/prometheus-framework/node_modules/libphonenumber-js/metadata.min.json.js +1 -1
  123. package/dist/prometheus-framework/src/components/Address/Address.vue.cjs +1 -1
  124. package/dist/prometheus-framework/src/components/Address/Address.vue.js +1 -1
  125. package/dist/prometheus-framework/src/components/Address/Address.vue2.cjs +1 -1
  126. package/dist/prometheus-framework/src/components/Address/Address.vue2.js +88 -1
  127. package/dist/prometheus-framework/src/components/Block/Block.vue.js +13 -13
  128. package/dist/prometheus-framework/src/components/BottomSheet/BottomSheet.vue.js +2 -4
  129. package/dist/prometheus-framework/src/components/Button/Button.vue.cjs +1 -1
  130. package/dist/prometheus-framework/src/components/Button/Button.vue.js +95 -1
  131. package/dist/prometheus-framework/src/components/Button/Button.vue2.cjs +1 -1
  132. package/dist/prometheus-framework/src/components/Button/Button.vue2.js +1 -1
  133. package/dist/prometheus-framework/src/components/Checkbox/Checkbox.vue.js +1 -2
  134. package/dist/prometheus-framework/src/components/Chips/Chips.vue.cjs +1 -1
  135. package/dist/prometheus-framework/src/components/Chips/Chips.vue.js +27 -1
  136. package/dist/prometheus-framework/src/components/Chips/Chips.vue2.cjs +1 -1
  137. package/dist/prometheus-framework/src/components/Chips/Chips.vue2.js +13 -14
  138. package/dist/prometheus-framework/src/components/DatePicker/Calendar.vue2.cjs +1 -1
  139. package/dist/prometheus-framework/src/components/DatePicker/Calendar.vue2.js +33 -34
  140. package/dist/prometheus-framework/src/components/Draggable/Draggable.vue.cjs +1 -0
  141. package/dist/prometheus-framework/src/components/Draggable/Draggable.vue.js +75 -0
  142. package/dist/prometheus-framework/src/components/Dropdown/Dropdown.vue.cjs +1 -1
  143. package/dist/prometheus-framework/src/components/Dropdown/Dropdown.vue.js +58 -1
  144. package/dist/prometheus-framework/src/components/Dropdown/Dropdown.vue2.cjs +1 -1
  145. package/dist/prometheus-framework/src/components/Dropdown/Dropdown.vue2.js +15 -16
  146. package/dist/prometheus-framework/src/components/Feed/Feed.vue.cjs +1 -1
  147. package/dist/prometheus-framework/src/components/Feed/Feed.vue.js +95 -89
  148. package/dist/prometheus-framework/src/components/Field/Field.vue.cjs +1 -1
  149. package/dist/prometheus-framework/src/components/Field/Field.vue.js +84 -1
  150. package/dist/prometheus-framework/src/components/Field/Field.vue2.cjs +1 -1
  151. package/dist/prometheus-framework/src/components/Field/Field.vue2.js +1 -1
  152. package/dist/prometheus-framework/src/components/FieldBig/FieldBig.vue.cjs +1 -1
  153. package/dist/prometheus-framework/src/components/FieldBig/FieldBig.vue.js +32 -29
  154. package/dist/prometheus-framework/src/components/FieldPhone/FieldPhone.vue.cjs +1 -1
  155. package/dist/prometheus-framework/src/components/FieldPhone/FieldPhone.vue.js +23 -24
  156. package/dist/prometheus-framework/src/components/FieldTags/BlockTags.vue.cjs +1 -1
  157. package/dist/prometheus-framework/src/components/FieldTags/BlockTags.vue.js +1 -1
  158. package/dist/prometheus-framework/src/components/FieldTags/FieldTags.vue.cjs +1 -1
  159. package/dist/prometheus-framework/src/components/FieldTags/FieldTags.vue.js +40 -40
  160. package/dist/prometheus-framework/src/components/FieldTags/create-tags.js +4 -8
  161. package/dist/prometheus-framework/src/components/FieldTags/tag-input.vue2.cjs +1 -1
  162. package/dist/prometheus-framework/src/components/FieldTags/tag-input.vue2.js +6 -6
  163. package/dist/prometheus-framework/src/components/FieldTags/vue-tags-input.js +5 -10
  164. package/dist/prometheus-framework/src/components/Loader/Loader.vue2.cjs +1 -1
  165. package/dist/prometheus-framework/src/components/Loader/Loader.vue2.js +1 -1
  166. package/dist/prometheus-framework/src/components/LocationMarker/LocationMarker.vue.cjs +1 -1
  167. package/dist/prometheus-framework/src/components/LocationMarker/LocationMarker.vue.js +1 -1
  168. package/dist/prometheus-framework/src/components/LocationMarker/LocationMarker.vue2.cjs +1 -1
  169. package/dist/prometheus-framework/src/components/LocationMarker/LocationMarker.vue2.js +126 -1
  170. package/dist/prometheus-framework/src/components/Map/Map.vue.cjs +1 -1
  171. package/dist/prometheus-framework/src/components/Map/Map.vue.js +1 -1
  172. package/dist/prometheus-framework/src/components/Marquee/Marquee.vue.cjs +1 -1
  173. package/dist/prometheus-framework/src/components/Marquee/Marquee.vue.js +1 -1
  174. package/dist/prometheus-framework/src/components/Menu/Menu.vue.cjs +1 -1
  175. package/dist/prometheus-framework/src/components/Menu/Menu.vue.js +1 -1
  176. package/dist/prometheus-framework/src/components/Menu/Menu.vue2.cjs +1 -1
  177. package/dist/prometheus-framework/src/components/Menu/Menu.vue2.js +13 -1
  178. package/dist/prometheus-framework/src/components/PhotoViewer/PhotoViewer.vue.cjs +1 -1
  179. package/dist/prometheus-framework/src/components/PhotoViewer/PhotoViewer.vue.js +23 -24
  180. package/dist/prometheus-framework/src/components/Popup/Popup.vue.cjs +1 -1
  181. package/dist/prometheus-framework/src/components/Popup/Popup.vue.js +1 -1
  182. package/dist/prometheus-framework/src/components/Select/Select.vue.cjs +1 -1
  183. package/dist/prometheus-framework/src/components/Select/Select.vue.js +1 -1
  184. package/dist/prometheus-framework/src/components/Select/Select.vue2.cjs +1 -1
  185. package/dist/prometheus-framework/src/components/Select/Select.vue2.js +103 -1
  186. package/dist/prometheus-framework/src/components/SelectMulti/SelectMulti.vue.cjs +1 -1
  187. package/dist/prometheus-framework/src/components/SelectMulti/SelectMulti.vue.js +1 -1
  188. package/dist/prometheus-framework/src/components/SelectMulti/multiselectMixin.js +5 -10
  189. package/dist/prometheus-framework/src/components/Slider/Slider.vue.cjs +1 -1
  190. package/dist/prometheus-framework/src/components/Slider/Slider.vue.js +1 -1
  191. package/dist/prometheus-framework/src/components/Spoiler/Spoiler.vue2.cjs +1 -1
  192. package/dist/prometheus-framework/src/components/Spoiler/Spoiler.vue2.js +15 -16
  193. package/dist/prometheus-framework/src/components/Tab/Tab.vue2.cjs +1 -1
  194. package/dist/prometheus-framework/src/components/Tab/Tab.vue2.js +1 -1
  195. package/dist/prometheus-framework/src/components/Tooltip/Tooltip.vue.cjs +1 -1
  196. package/dist/prometheus-framework/src/components/Tooltip/Tooltip.vue.js +10 -11
  197. package/dist/prometheus-framework/src/components/Upload/Upload.vue.cjs +1 -1
  198. package/dist/prometheus-framework/src/components/Upload/Upload.vue.js +39 -36
  199. package/dist/prometheus-framework/src/components/UploadImage/UploadImage.vue.cjs +1 -1
  200. package/dist/prometheus-framework/src/components/UploadImage/UploadImage.vue.js +1 -1
  201. package/dist/prometheus-framework/src/components/UploadImageMultiple/UploadImageMultiple.vue.cjs +1 -1
  202. package/dist/prometheus-framework/src/components/UploadImageMultiple/UploadImageMultiple.vue.js +1 -1
  203. package/dist/prometheus-framework/src/modules/auth/components/layouts/Auth.vue.cjs +1 -1
  204. package/dist/prometheus-framework/src/modules/auth/components/layouts/Auth.vue.js +5 -5
  205. package/dist/prometheus-framework/src/modules/auth/components/pages/EnterCode.vue.cjs +1 -1
  206. package/dist/prometheus-framework/src/modules/auth/components/pages/EnterCode.vue.js +1 -1
  207. package/dist/prometheus-framework/src/modules/auth/components/pages/EnterPassword.vue.cjs +1 -1
  208. package/dist/prometheus-framework/src/modules/auth/components/pages/EnterPassword.vue.js +4 -4
  209. package/dist/prometheus-framework/src/modules/auth/components/pages/Invite.vue.cjs +1 -1
  210. package/dist/prometheus-framework/src/modules/auth/components/pages/Invite.vue.js +4 -4
  211. package/dist/prometheus-framework/src/modules/auth/components/pages/ResetPassword.vue.cjs +1 -1
  212. package/dist/prometheus-framework/src/modules/auth/components/pages/ResetPassword.vue.js +32 -32
  213. package/dist/prometheus-framework/src/modules/auth/components/pages/SignIn.vue.cjs +1 -1
  214. package/dist/prometheus-framework/src/modules/auth/components/pages/SignIn.vue.js +33 -33
  215. package/dist/prometheus-framework/src/modules/auth/components/pages/SignUp.vue.cjs +1 -1
  216. package/dist/prometheus-framework/src/modules/auth/components/pages/SignUp.vue.js +21 -21
  217. package/dist/prometheus-framework/src/modules/auth/components/sections/SliderFeatures.vue.cjs +1 -1
  218. package/dist/prometheus-framework/src/modules/auth/components/sections/SliderFeatures.vue.js +1 -1
  219. package/dist/prometheus-framework/src/modules/auth/store/auth.cjs +1 -1
  220. package/dist/prometheus-framework/src/modules/auth/store/auth.js +12 -12
  221. package/dist/prometheus-framework/src/modules/auth/store/twofa.cjs +1 -1
  222. package/dist/prometheus-framework/src/modules/auth/store/twofa.js +1 -1
  223. package/dist/prometheus-framework/src/modules/backoffice/components/pages/Dashboard.vue.cjs +1 -1
  224. package/dist/prometheus-framework/src/modules/backoffice/components/pages/Dashboard.vue.js +1 -1
  225. package/dist/prometheus-framework/src/modules/backoffice/router/backoffice.cjs +1 -1
  226. package/dist/prometheus-framework/src/modules/backoffice/router/backoffice.js +1 -1
  227. package/dist/prometheus-framework/src/modules/chats/components/pages/ChatPage.vue.cjs +1 -1
  228. package/dist/prometheus-framework/src/modules/chats/components/pages/ChatPage.vue.js +1 -1
  229. package/dist/prometheus-framework/src/modules/chats/components/sections/ChatWindow.vue.cjs +1 -1
  230. package/dist/prometheus-framework/src/modules/chats/components/sections/ChatWindow.vue.js +1 -1
  231. package/dist/prometheus-framework/src/modules/community/community.client.cjs +1 -1
  232. package/dist/prometheus-framework/src/modules/community/community.client.js +12 -14
  233. package/dist/prometheus-framework/src/modules/community/components/blocks/CardBlogpost.vue.cjs +1 -1
  234. package/dist/prometheus-framework/src/modules/community/components/blocks/CardBlogpost.vue.js +55 -72
  235. package/dist/prometheus-framework/src/modules/community/components/blocks/FooterBlogpost.vue.cjs +1 -1
  236. package/dist/prometheus-framework/src/modules/community/components/blocks/FooterBlogpost.vue.js +57 -29
  237. package/dist/prometheus-framework/src/modules/community/components/layouts/Community.vue.cjs +1 -1
  238. package/dist/prometheus-framework/src/modules/community/components/layouts/Community.vue.js +86 -76
  239. package/dist/prometheus-framework/src/modules/community/components/pages/Blog.vue.cjs +1 -1
  240. package/dist/prometheus-framework/src/modules/community/components/pages/Blog.vue.js +59 -29
  241. package/dist/prometheus-framework/src/modules/community/components/pages/BlogPost.vue.cjs +1 -1
  242. package/dist/prometheus-framework/src/modules/community/components/pages/BlogPost.vue.js +1 -1
  243. package/dist/prometheus-framework/src/modules/community/components/pages/Community.vue.cjs +1 -1
  244. package/dist/prometheus-framework/src/modules/community/components/pages/Community.vue.js +10 -10
  245. package/dist/prometheus-framework/src/modules/community/components/pages/CreateBlogPost.vue.cjs +1 -1
  246. package/dist/prometheus-framework/src/modules/community/components/pages/CreateBlogPost.vue.js +73 -82
  247. package/dist/prometheus-framework/src/modules/community/components/sections/Comment.vue.cjs +1 -0
  248. package/dist/prometheus-framework/src/modules/community/components/sections/Comment.vue.js +104 -0
  249. package/dist/prometheus-framework/src/modules/community/components/sections/Comments.vue.cjs +1 -1
  250. package/dist/prometheus-framework/src/modules/community/components/sections/Comments.vue.js +99 -54
  251. package/dist/prometheus-framework/src/modules/community/components/sections/HotPosts.vue.cjs +1 -1
  252. package/dist/prometheus-framework/src/modules/community/components/sections/HotPosts.vue.js +34 -35
  253. package/dist/prometheus-framework/src/modules/community/components/sections/JoinUs.vue.cjs +1 -1
  254. package/dist/prometheus-framework/src/modules/community/components/sections/JoinUs.vue.js +1 -1
  255. package/dist/prometheus-framework/src/modules/community/store/blogposts.cjs +1 -1
  256. package/dist/prometheus-framework/src/modules/community/store/blogposts.js +45 -34
  257. package/dist/prometheus-framework/src/modules/community/store/reactions.cjs +1 -1
  258. package/dist/prometheus-framework/src/modules/community/store/reactions.js +1 -1
  259. package/dist/prometheus-framework/src/modules/constructor/components/elements/Audio.vue.cjs +1 -1
  260. package/dist/prometheus-framework/src/modules/constructor/components/elements/Audio.vue.js +31 -29
  261. package/dist/prometheus-framework/src/modules/constructor/components/elements/Embed.vue.cjs +1 -1
  262. package/dist/prometheus-framework/src/modules/constructor/components/elements/Embed.vue.js +1 -1
  263. package/dist/prometheus-framework/src/modules/constructor/components/elements/H2.vue.cjs +1 -1
  264. package/dist/prometheus-framework/src/modules/constructor/components/elements/H2.vue.js +1 -1
  265. package/dist/prometheus-framework/src/modules/constructor/components/elements/ImageUpload.vue.cjs +1 -1
  266. package/dist/prometheus-framework/src/modules/constructor/components/elements/ImageUpload.vue.js +32 -27
  267. package/dist/prometheus-framework/src/modules/constructor/components/elements/Textarea.vue.cjs +1 -1
  268. package/dist/prometheus-framework/src/modules/constructor/components/elements/Textarea.vue.js +1 -1
  269. package/dist/prometheus-framework/src/modules/constructor/components/elements/Textarea.vue2.cjs +5 -1
  270. package/dist/prometheus-framework/src/modules/constructor/components/elements/Textarea.vue2.js +66 -0
  271. package/dist/prometheus-framework/src/modules/constructor/components/elements/Video.vue.cjs +1 -1
  272. package/dist/prometheus-framework/src/modules/constructor/components/elements/Video.vue.js +16 -16
  273. package/dist/prometheus-framework/src/modules/constructor/components/elements/VideoPlayer.vue.cjs +1 -1
  274. package/dist/prometheus-framework/src/modules/constructor/components/elements/VideoPlayer.vue.js +4 -3
  275. package/dist/prometheus-framework/src/modules/constructor/components/sections/Constructor.vue.cjs +1 -1
  276. package/dist/prometheus-framework/src/modules/constructor/components/sections/Constructor.vue.js +119 -113
  277. package/dist/prometheus-framework/src/modules/events/components/blocks/CardEvent.vue.js +6 -6
  278. package/dist/prometheus-framework/src/modules/events/components/elements/ButtonCheck.vue.cjs +1 -1
  279. package/dist/prometheus-framework/src/modules/events/components/elements/ButtonCheck.vue.js +2 -2
  280. package/dist/prometheus-framework/src/modules/events/components/elements/ButtonJoin.vue.cjs +1 -1
  281. package/dist/prometheus-framework/src/modules/events/components/elements/ButtonJoin.vue.js +2 -2
  282. package/dist/prometheus-framework/src/modules/events/components/pages/EditEvent.vue.cjs +1 -1
  283. package/dist/prometheus-framework/src/modules/events/components/pages/EditEvent.vue.js +5 -5
  284. package/dist/prometheus-framework/src/modules/events/components/pages/EditEventTickets.vue.cjs +1 -1
  285. package/dist/prometheus-framework/src/modules/events/components/pages/EditEventTickets.vue.js +3 -3
  286. package/dist/prometheus-framework/src/modules/events/components/pages/Event.vue.cjs +1 -1
  287. package/dist/prometheus-framework/src/modules/events/components/pages/Event.vue.js +1 -1
  288. package/dist/prometheus-framework/src/modules/events/components/pages/Events.vue.cjs +1 -1
  289. package/dist/prometheus-framework/src/modules/events/components/pages/Events.vue.js +1 -1
  290. package/dist/prometheus-framework/src/modules/events/components/sections/Feed.vue.cjs +1 -1
  291. package/dist/prometheus-framework/src/modules/events/components/sections/Feed.vue.js +1 -1
  292. package/dist/prometheus-framework/src/modules/events/components/sections/HeroEvent.vue.cjs +1 -1
  293. package/dist/prometheus-framework/src/modules/events/components/sections/HeroEvent.vue.js +1 -1
  294. package/dist/prometheus-framework/src/modules/events/components/sections/List.vue.cjs +1 -1
  295. package/dist/prometheus-framework/src/modules/events/components/sections/List.vue.js +2 -2
  296. package/dist/prometheus-framework/src/modules/events/components/sections/SectionMainGuest.vue.cjs +1 -1
  297. package/dist/prometheus-framework/src/modules/events/components/sections/SectionMainGuest.vue.js +1 -1
  298. package/dist/prometheus-framework/src/modules/events/store/events.cjs +1 -1
  299. package/dist/prometheus-framework/src/modules/events/store/events.js +1 -1
  300. package/dist/prometheus-framework/src/modules/events/store/tickets.cjs +1 -1
  301. package/dist/prometheus-framework/src/modules/events/store/tickets.js +1 -1
  302. package/dist/prometheus-framework/src/modules/gallery/components/pages/Gallery.vue.js +21 -21
  303. package/dist/prometheus-framework/src/modules/gallery/components/sections/BackofficeGallery.vue.cjs +1 -1
  304. package/dist/prometheus-framework/src/modules/gallery/components/sections/BackofficeGallery.vue.js +30 -30
  305. package/dist/prometheus-framework/src/modules/globals/components/blocks/BlockFilter.vue.cjs +1 -1
  306. package/dist/prometheus-framework/src/modules/globals/components/blocks/BlockFilter.vue.js +33 -22
  307. package/dist/prometheus-framework/src/modules/globals/components/blocks/BlockSearch.vue.cjs +1 -1
  308. package/dist/prometheus-framework/src/modules/globals/components/blocks/BlockSearch.vue.js +1 -1
  309. package/dist/prometheus-framework/src/modules/globals/components/blocks/CardHeader.vue.cjs +1 -1
  310. package/dist/prometheus-framework/src/modules/globals/components/blocks/CardHeader.vue.js +18 -18
  311. package/dist/prometheus-framework/src/modules/landing/components/elements/AnimatedGrid.vue.cjs +1 -1
  312. package/dist/prometheus-framework/src/modules/landing/components/elements/AnimatedGrid.vue.js +1 -1
  313. package/dist/prometheus-framework/src/modules/landing/components/sections/MobileApp.vue.cjs +1 -1
  314. package/dist/prometheus-framework/src/modules/landing/components/sections/MobileApp.vue.js +1 -1
  315. package/dist/prometheus-framework/src/modules/landing/components/sections/SubscribeNewsletter.vue.cjs +1 -1
  316. package/dist/prometheus-framework/src/modules/landing/components/sections/SubscribeNewsletter.vue.js +1 -1
  317. package/dist/prometheus-framework/src/modules/legal/components/pages/Legal.vue.cjs +1 -1
  318. package/dist/prometheus-framework/src/modules/legal/components/pages/Legal.vue.js +3 -3
  319. package/dist/prometheus-framework/src/modules/marketplace/store/marketplace.cjs +1 -1
  320. package/dist/prometheus-framework/src/modules/marketplace/store/marketplace.js +3 -9
  321. package/dist/prometheus-framework/src/modules/orders/components/blocks/CardOrder.vue.cjs +1 -1
  322. package/dist/prometheus-framework/src/modules/orders/components/blocks/CardOrder.vue.js +1 -1
  323. package/dist/prometheus-framework/src/modules/orders/components/pages/Order.vue.cjs +1 -1
  324. package/dist/prometheus-framework/src/modules/orders/components/pages/Order.vue.js +1 -1
  325. package/dist/prometheus-framework/src/modules/orders/components/pages/OrderBackoffice.vue.cjs +1 -1
  326. package/dist/prometheus-framework/src/modules/orders/components/pages/OrderBackoffice.vue.js +31 -31
  327. package/dist/prometheus-framework/src/modules/orders/components/pages/OrderCreate.vue.cjs +1 -1
  328. package/dist/prometheus-framework/src/modules/orders/components/pages/OrderCreate.vue.js +3 -5
  329. package/dist/prometheus-framework/src/modules/orders/components/pages/OrderCreateBackoffice.vue.cjs +1 -1
  330. package/dist/prometheus-framework/src/modules/orders/components/pages/OrderCreateBackoffice.vue.js +5 -5
  331. package/dist/prometheus-framework/src/modules/orders/components/pages/Orders.vue.cjs +1 -1
  332. package/dist/prometheus-framework/src/modules/orders/components/pages/Orders.vue.js +3 -3
  333. package/dist/prometheus-framework/src/modules/orders/components/partials/ShopCart.vue.cjs +1 -1
  334. package/dist/prometheus-framework/src/modules/orders/components/partials/ShopCart.vue.js +1 -1
  335. package/dist/prometheus-framework/src/modules/orders/components/sections/FormAddCustomer.vue.cjs +1 -1
  336. package/dist/prometheus-framework/src/modules/orders/components/sections/FormAddCustomer.vue.js +3 -3
  337. package/dist/prometheus-framework/src/modules/orders/components/sections/FormCustomerDetails.vue.cjs +1 -1
  338. package/dist/prometheus-framework/src/modules/orders/components/sections/FormCustomerDetails.vue.js +9 -9
  339. package/dist/prometheus-framework/src/modules/orders/components/sections/FormDelivery.vue.cjs +1 -1
  340. package/dist/prometheus-framework/src/modules/orders/components/sections/FormDelivery.vue.js +3 -3
  341. package/dist/prometheus-framework/src/modules/orders/store/applications.cjs +1 -1
  342. package/dist/prometheus-framework/src/modules/orders/store/applications.js +1 -1
  343. package/dist/prometheus-framework/src/modules/orders/store/orders.cjs +1 -1
  344. package/dist/prometheus-framework/src/modules/orders/store/orders.js +1 -1
  345. package/dist/prometheus-framework/src/modules/organizations/components/blocks/CardDepartment.vue.cjs +1 -1
  346. package/dist/prometheus-framework/src/modules/organizations/components/blocks/CardDepartment.vue.js +3 -3
  347. package/dist/prometheus-framework/src/modules/organizations/components/blocks/CardOrganization.vue.cjs +1 -1
  348. package/dist/prometheus-framework/src/modules/organizations/components/blocks/CardOrganization.vue.js +39 -38
  349. package/dist/prometheus-framework/src/modules/organizations/components/blocks/DepartmentSub.vue.cjs +1 -1
  350. package/dist/prometheus-framework/src/modules/organizations/components/blocks/DepartmentSub.vue.js +1 -1
  351. package/dist/prometheus-framework/src/modules/organizations/components/blocks/EditArray.vue.cjs +1 -1
  352. package/dist/prometheus-framework/src/modules/organizations/components/blocks/EditArray.vue.js +1 -1
  353. package/dist/prometheus-framework/src/modules/organizations/components/elements/ButtonToggleMembership.vue.cjs +1 -1
  354. package/dist/prometheus-framework/src/modules/organizations/components/elements/ButtonToggleMembership.vue.js +1 -1
  355. package/dist/prometheus-framework/src/modules/organizations/components/pages/Department.vue.cjs +1 -1
  356. package/dist/prometheus-framework/src/modules/organizations/components/pages/Department.vue.js +1 -1
  357. package/dist/prometheus-framework/src/modules/organizations/components/pages/DepartmentEdit.vue.cjs +1 -1
  358. package/dist/prometheus-framework/src/modules/organizations/components/pages/DepartmentEdit.vue.js +10 -10
  359. package/dist/prometheus-framework/src/modules/organizations/components/pages/Members.vue.cjs +1 -1
  360. package/dist/prometheus-framework/src/modules/organizations/components/pages/Members.vue.js +4 -4
  361. package/dist/prometheus-framework/src/modules/organizations/components/pages/Organization.vue.cjs +1 -1
  362. package/dist/prometheus-framework/src/modules/organizations/components/pages/Organization.vue.js +116 -89
  363. package/dist/prometheus-framework/src/modules/organizations/components/pages/OrganizationBackoffice.vue.cjs +1 -1
  364. package/dist/prometheus-framework/src/modules/organizations/components/pages/OrganizationBackoffice.vue.js +1 -1
  365. package/dist/prometheus-framework/src/modules/organizations/components/pages/OrganizationEdit.vue.cjs +1 -1
  366. package/dist/prometheus-framework/src/modules/organizations/components/pages/OrganizationEdit.vue.js +40 -39
  367. package/dist/prometheus-framework/src/modules/organizations/components/sections/DetailsTab.vue.js +8 -8
  368. package/dist/prometheus-framework/src/modules/organizations/components/sections/Documents.vue.cjs +1 -1
  369. package/dist/prometheus-framework/src/modules/organizations/components/sections/Documents.vue.js +5 -5
  370. package/dist/prometheus-framework/src/modules/organizations/components/sections/Feed.vue.cjs +1 -1
  371. package/dist/prometheus-framework/src/modules/organizations/components/sections/Feed.vue.js +1 -1
  372. package/dist/prometheus-framework/src/modules/organizations/components/sections/MembersAdd.vue.cjs +1 -1
  373. package/dist/prometheus-framework/src/modules/organizations/components/sections/MembersAdd.vue.js +3 -3
  374. package/dist/prometheus-framework/src/modules/organizations/components/sections/Organizations.vue.cjs +1 -1
  375. package/dist/prometheus-framework/src/modules/organizations/components/sections/Organizations.vue.js +10 -10
  376. package/dist/prometheus-framework/src/modules/organizations/components/sections/Publics.vue.cjs +1 -1
  377. package/dist/prometheus-framework/src/modules/organizations/components/sections/Publics.vue.js +18 -18
  378. package/dist/prometheus-framework/src/modules/organizations/store/departments.cjs +1 -1
  379. package/dist/prometheus-framework/src/modules/organizations/store/departments.js +1 -1
  380. package/dist/prometheus-framework/src/modules/organizations/store/invites.cjs +1 -1
  381. package/dist/prometheus-framework/src/modules/organizations/store/invites.js +1 -1
  382. package/dist/prometheus-framework/src/modules/organizations/store/memberships.cjs +1 -1
  383. package/dist/prometheus-framework/src/modules/organizations/store/memberships.js +19 -19
  384. package/dist/prometheus-framework/src/modules/organizations/store/organizations.cjs +1 -1
  385. package/dist/prometheus-framework/src/modules/organizations/store/organizations.js +1 -1
  386. package/dist/prometheus-framework/src/modules/products/components/blocks/CardLeftover.vue.cjs +1 -1
  387. package/dist/prometheus-framework/src/modules/products/components/blocks/CardLeftover.vue.js +1 -1
  388. package/dist/prometheus-framework/src/modules/products/components/blocks/CardPosition.vue.cjs +1 -1
  389. package/dist/prometheus-framework/src/modules/products/components/blocks/CardPosition.vue.js +2 -2
  390. package/dist/prometheus-framework/src/modules/products/components/blocks/CardProduct.vue.cjs +1 -1
  391. package/dist/prometheus-framework/src/modules/products/components/blocks/CardProduct.vue.js +6 -6
  392. package/dist/prometheus-framework/src/modules/products/components/blocks/Images360.vue.cjs +1 -1
  393. package/dist/prometheus-framework/src/modules/products/components/blocks/Images360.vue.js +2 -3
  394. package/dist/prometheus-framework/src/modules/products/components/blocks/ImagesThumbnails.vue.cjs +1 -1
  395. package/dist/prometheus-framework/src/modules/products/components/blocks/ImagesThumbnails.vue.js +13 -13
  396. package/dist/prometheus-framework/src/modules/products/components/blocks/LeftoverPositions.vue.cjs +1 -1
  397. package/dist/prometheus-framework/src/modules/products/components/blocks/LeftoverPositions.vue.js +2 -2
  398. package/dist/prometheus-framework/src/modules/products/components/blocks/ListPositions.vue.cjs +1 -1
  399. package/dist/prometheus-framework/src/modules/products/components/blocks/ListPositions.vue.js +2 -2
  400. package/dist/prometheus-framework/src/modules/products/components/elements/Price.vue.cjs +1 -1
  401. package/dist/prometheus-framework/src/modules/products/components/elements/Price.vue.js +1 -1
  402. package/dist/prometheus-framework/src/modules/products/components/elements/THC.vue.cjs +1 -1
  403. package/dist/prometheus-framework/src/modules/products/components/elements/THC.vue.js +1 -1
  404. package/dist/prometheus-framework/src/modules/products/components/pages/Categories.vue.cjs +1 -1
  405. package/dist/prometheus-framework/src/modules/products/components/pages/Categories.vue.js +1 -1
  406. package/dist/prometheus-framework/src/modules/products/components/pages/CategoryEdit.vue.cjs +1 -1
  407. package/dist/prometheus-framework/src/modules/products/components/pages/CategoryEdit.vue.js +3 -3
  408. package/dist/prometheus-framework/src/modules/products/components/pages/EditLeftover.vue.cjs +1 -1
  409. package/dist/prometheus-framework/src/modules/products/components/pages/EditLeftover.vue.js +3 -3
  410. package/dist/prometheus-framework/src/modules/products/components/pages/Leftovers.vue.cjs +1 -1
  411. package/dist/prometheus-framework/src/modules/products/components/pages/Leftovers.vue.js +1 -1
  412. package/dist/prometheus-framework/src/modules/products/components/pages/Product.vue.cjs +1 -1
  413. package/dist/prometheus-framework/src/modules/products/components/pages/Product.vue.js +1 -1
  414. package/dist/prometheus-framework/src/modules/products/components/pages/ProductEdit.vue.cjs +1 -1
  415. package/dist/prometheus-framework/src/modules/products/components/pages/ProductEdit.vue.js +5 -5
  416. package/dist/prometheus-framework/src/modules/products/components/pages/ProductRecommmendation.vue.cjs +1 -1
  417. package/dist/prometheus-framework/src/modules/products/components/pages/ProductRecommmendation.vue.js +6 -5
  418. package/dist/prometheus-framework/src/modules/products/components/sections/EditModifications.vue.cjs +1 -1
  419. package/dist/prometheus-framework/src/modules/products/components/sections/EditModifications.vue.js +1 -1
  420. package/dist/prometheus-framework/src/modules/products/components/sections/EditProductInfo.vue.cjs +1 -1
  421. package/dist/prometheus-framework/src/modules/products/components/sections/EditProductInfo.vue.js +3 -3
  422. package/dist/prometheus-framework/src/modules/products/components/sections/FilterProducts.vue.cjs +1 -1
  423. package/dist/prometheus-framework/src/modules/products/components/sections/FilterProducts.vue.js +1 -1
  424. package/dist/prometheus-framework/src/modules/products/components/sections/HeroRecommendation.vue.cjs +1 -1
  425. package/dist/prometheus-framework/src/modules/products/components/sections/HeroRecommendation.vue.js +33 -38
  426. package/dist/prometheus-framework/src/modules/products/components/sections/PopularProducts.vue.cjs +1 -1
  427. package/dist/prometheus-framework/src/modules/products/components/sections/PopularProducts.vue.js +1 -1
  428. package/dist/prometheus-framework/src/modules/products/components/sections/SectionProduct.vue.cjs +1 -1
  429. package/dist/prometheus-framework/src/modules/products/components/sections/SectionProduct.vue.js +2 -2
  430. package/dist/prometheus-framework/src/modules/products/store/categories.cjs +1 -1
  431. package/dist/prometheus-framework/src/modules/products/store/categories.js +1 -1
  432. package/dist/prometheus-framework/src/modules/products/store/leftovers.cjs +1 -1
  433. package/dist/prometheus-framework/src/modules/products/store/leftovers.js +1 -1
  434. package/dist/prometheus-framework/src/modules/products/store/products.cjs +1 -1
  435. package/dist/prometheus-framework/src/modules/products/store/products.js +1 -1
  436. package/dist/prometheus-framework/src/modules/reports/components/sections/FormReport.vue.cjs +1 -1
  437. package/dist/prometheus-framework/src/modules/reports/components/sections/FormReport.vue.js +1 -1
  438. package/dist/prometheus-framework/src/modules/reports/store/reports.cjs +1 -1
  439. package/dist/prometheus-framework/src/modules/reports/store/reports.js +1 -1
  440. package/dist/prometheus-framework/src/modules/spots/components/blocks/CardSpot.vue.cjs +1 -1
  441. package/dist/prometheus-framework/src/modules/spots/components/blocks/CardSpot.vue.js +5 -5
  442. package/dist/prometheus-framework/src/modules/spots/store/spots.cjs +1 -1
  443. package/dist/prometheus-framework/src/modules/spots/store/spots.js +1 -1
  444. package/dist/prometheus-framework/src/modules/users/components/blocks/CardUser.vue.cjs +1 -1
  445. package/dist/prometheus-framework/src/modules/users/components/blocks/CardUser.vue.js +14 -14
  446. package/dist/prometheus-framework/src/modules/users/components/pages/Profile.vue.cjs +1 -1
  447. package/dist/prometheus-framework/src/modules/users/components/pages/Profile.vue.js +32 -32
  448. package/dist/prometheus-framework/src/modules/users/components/pages/ProfileBlogposts.vue.cjs +1 -1
  449. package/dist/prometheus-framework/src/modules/users/components/pages/ProfileBlogposts.vue.js +53 -35
  450. package/dist/prometheus-framework/src/modules/users/components/pages/ProfileEdit.vue.cjs +1 -1
  451. package/dist/prometheus-framework/src/modules/users/components/pages/ProfileEdit.vue.js +3 -3
  452. package/dist/prometheus-framework/src/modules/users/components/sections/FeaturedUsers.vue.cjs +1 -1
  453. package/dist/prometheus-framework/src/modules/users/components/sections/FeaturedUsers.vue.js +1 -1
  454. package/dist/prometheus-framework/src/modules/users/store/users.cjs +1 -1
  455. package/dist/prometheus-framework/src/modules/users/store/users.js +1 -1
  456. package/dist/prometheus-framework/src/modules/wallet/components/blocks/CardBalanceReplenished.vue.cjs +1 -0
  457. package/dist/prometheus-framework/src/modules/wallet/components/blocks/CardBalanceReplenished.vue.js +30 -0
  458. package/dist/prometheus-framework/src/modules/wallet/components/blocks/CardDeposite.vue.cjs +1 -0
  459. package/dist/prometheus-framework/src/modules/wallet/components/blocks/CardDeposite.vue.js +42 -0
  460. package/dist/prometheus-framework/src/modules/wallet/components/blocks/CashDeposite.vue.cjs +1 -0
  461. package/dist/prometheus-framework/src/modules/wallet/components/blocks/CashDeposite.vue.js +26 -0
  462. package/dist/prometheus-framework/src/modules/wallet/components/blocks/CryptoDeposite.vue.cjs +1 -0
  463. package/dist/prometheus-framework/src/modules/wallet/components/blocks/CryptoDeposite.vue.js +42 -0
  464. package/dist/prometheus-framework/src/modules/wallet/localization/Wallet.json.cjs +1 -0
  465. package/dist/prometheus-framework/src/modules/wallet/localization/Wallet.json.js +26 -0
  466. package/dist/prometheus-framework/src/modules/wallet/views/components/pages/Payments.vue.cjs +1 -1
  467. package/dist/prometheus-framework/src/modules/wallet/views/components/pages/Payments.vue.js +1 -1
  468. package/dist/prometheus-framework/src/modules/wallet/views/components/pages/Wallet.vue.cjs +1 -1
  469. package/dist/prometheus-framework/src/modules/wallet/views/components/pages/Wallet.vue.js +160 -129
  470. package/dist/prometheus-framework/src/modules/wallet/views/store/payments.store.cjs +1 -1
  471. package/dist/prometheus-framework/src/modules/wallet/views/store/payments.store.js +1 -1
  472. package/dist/prometheus-framework/src/modules/wallet/views/store/wallet.store.cjs +1 -1
  473. package/dist/prometheus-framework/src/modules/wallet/views/store/wallet.store.js +1 -1
  474. package/dist/prometheus-framework.cjs.js +1 -1
  475. package/dist/prometheus-framework.es.js +14 -14
  476. package/dist/queryProcessor-DQSFR9YA.mjs +179 -0
  477. package/dist/queryProcessor-iewDZq_f.js +178 -0
  478. package/dist/reports.server.js +2 -4
  479. package/dist/reports.server.mjs +2 -4
  480. package/dist/style.css +1 -1
  481. package/dist/users.server.js +2 -4
  482. package/dist/users.server.mjs +2 -4
  483. package/dist/wallet.server.js +86 -39
  484. package/dist/wallet.server.mjs +86 -39
  485. package/dist/{web-Dt2JR41o.mjs → web-Be96Xqd4.mjs} +1 -1
  486. package/dist/{web-CVIepGUM.js → web-CgjTW1bL.js} +1 -1
  487. package/dist/web-DZUec7pP.js +1 -0
  488. package/dist/web-krQQeSb6.mjs +54 -0
  489. package/package.json +1 -2
  490. package/src/components/Address/Address.vue +1 -1
  491. package/src/components/Chips/Chips.vue +1 -1
  492. package/src/components/Completion/Completion.vue +1 -4
  493. package/src/components/DatePicker/Calendar.vue +1 -1
  494. package/src/components/Draggable/Draggable.vue +113 -0
  495. package/src/components/Dropdown/Dropdown.vue +1 -1
  496. package/src/components/Feed/Feed.vue +18 -12
  497. package/src/components/FieldBig/FieldBig.vue +11 -1
  498. package/src/components/FieldPhone/FieldPhone.vue +1 -1
  499. package/src/components/FieldTags/FieldTags.vue +2 -1
  500. package/src/components/FieldTags/tag-input.vue +1 -1
  501. package/src/components/LocationMarker/LocationMarker.vue +1 -1
  502. package/src/components/PhotoViewer/PhotoViewer.vue +1 -1
  503. package/src/components/Shader/Shader.vue +2 -2
  504. package/src/components/Slider/Slider.vue +1 -5
  505. package/src/components/Spoiler/Spoiler.vue +1 -1
  506. package/src/components/Text/Text.vue +1 -4
  507. package/src/components/Tooltip/Tooltip.vue +1 -1
  508. package/src/components/Upload/Upload.vue +5 -3
  509. package/src/main.js +0 -3
  510. package/src/modules/auth/controllers/auth.controller.js +0 -2
  511. package/src/modules/auth/store/auth.js +2 -2
  512. package/src/modules/community/DOCUMENTATION.MD +4 -0
  513. package/src/modules/community/community.client.js +0 -2
  514. package/src/modules/community/components/blocks/CardBlogpost.vue +6 -2
  515. package/src/modules/community/components/blocks/FooterBlogpost.vue +21 -5
  516. package/src/modules/community/components/layouts/Community.vue +15 -11
  517. package/src/modules/community/components/pages/Blog.vue +25 -32
  518. package/src/modules/community/components/pages/CreateBlogPost.vue +8 -15
  519. package/src/modules/community/components/sections/Comment.vue +123 -0
  520. package/src/modules/community/components/sections/Comments.vue +90 -19
  521. package/src/modules/community/components/sections/HotPosts.vue +3 -6
  522. package/src/modules/community/controllers/blog.controller.js +1 -1
  523. package/src/modules/community/controllers/comments.controller.aggr.js +280 -0
  524. package/src/modules/community/controllers/comments.controller.js +187 -38
  525. package/src/modules/community/controllers/comments.controller.populate.js +180 -0
  526. package/src/modules/community/models/comment.model.js +15 -0
  527. package/src/modules/community/store/blogposts.js +20 -2
  528. package/src/modules/constructor/components/elements/Audio.vue +28 -40
  529. package/src/modules/constructor/components/elements/ImageUpload.vue +12 -7
  530. package/src/modules/constructor/components/elements/Video.vue +10 -18
  531. package/src/modules/constructor/components/sections/Constructor.vue +54 -47
  532. package/src/modules/files/controllers/files.controller.js +2 -0
  533. package/src/modules/files/middlewares/server/middlewareBusboy.js +32 -4
  534. package/src/modules/files/routes/files.routes.js +8 -0
  535. package/src/modules/globals/components/blocks/BlockFilter.vue +17 -7
  536. package/src/modules/globals/components/partials/Header.vue +12 -7
  537. package/src/modules/globals/controllers/utils/queryProcessor.js +1 -0
  538. package/src/modules/icons/logos/Logotype.vue +8 -6
  539. package/src/modules/icons/logos/LogotypeNunito.vue +12 -0
  540. package/src/modules/marketplace/components/layouts/Marketplace.vue +29 -27
  541. package/src/modules/marketplace/store/marketplace.js +2 -8
  542. package/src/modules/organizations/components/blocks/CardOrganization.vue +1 -1
  543. package/src/modules/organizations/components/pages/Members.vue +1 -1
  544. package/src/modules/organizations/components/pages/Organization.vue +33 -5
  545. package/src/modules/organizations/components/pages/OrganizationEdit.vue +7 -4
  546. package/src/modules/organizations/components/sections/DetailsTab.vue +10 -10
  547. package/src/modules/organizations/components/sections/Publics.vue +2 -2
  548. package/src/modules/organizations/controllers/memberships.controller.js +2 -3
  549. package/src/modules/organizations/controllers/organizations.controller.js +1 -1
  550. package/src/modules/organizations/store/memberships.js +4 -1
  551. package/src/modules/products/components/blocks/CardProduct.vue +1 -1
  552. package/src/modules/products/components/sections/HeroRecommendation.vue +11 -8
  553. package/src/modules/products/models/product.model.js +2 -1
  554. package/src/modules/spots/components/layouts/Spots.vue +0 -3
  555. package/src/modules/spots/components/pages/Map.vue +13 -3
  556. package/src/modules/users/components/blocks/CardUser.vue +2 -2
  557. package/src/modules/users/components/pages/ProfileBlogposts.vue +45 -28
  558. package/src/modules/wallet/components/blocks/CardBalanceReplenished.vue +40 -0
  559. package/src/modules/wallet/components/blocks/CardDeposite.vue +55 -0
  560. package/src/modules/wallet/components/blocks/CashDeposite.vue +28 -0
  561. package/src/modules/wallet/components/blocks/CryptoDeposite.vue +55 -0
  562. package/src/modules/wallet/controllers/factories/rewards.factory.aggr.js +181 -0
  563. package/src/modules/wallet/controllers/factories/rewards.factory.js +87 -113
  564. package/src/modules/wallet/controllers/factories/rewards.factory.population.js +213 -0
  565. package/src/modules/wallet/localization/Wallet.json +22 -0
  566. package/src/modules/wallet/views/components/pages/Wallet.vue +153 -53
  567. package/src/styles/base/all.scss +16 -26
  568. package/src/styles/config.scss +70 -34
  569. package/src/styles/typography.scss +5 -5
  570. package/dist/_virtual/browser-ponyfill.cjs +0 -1
  571. package/dist/_virtual/browser-ponyfill.js +0 -4
  572. package/dist/_virtual/crc32.cjs +0 -1
  573. package/dist/_virtual/crc32.js +0 -4
  574. package/dist/_virtual/index.cjs +0 -1
  575. package/dist/_virtual/index.js +0 -4
  576. package/dist/_virtual/index2.cjs +0 -1
  577. package/dist/_virtual/index2.js +0 -4
  578. package/dist/main-hLtpe4Hr.js +0 -92
  579. package/dist/node_modules/@adraffy/ens-normalize/dist/index.cjs +0 -1
  580. package/dist/node_modules/@adraffy/ens-normalize/dist/index.js +0 -561
  581. package/dist/node_modules/@ethereumjs/rlp/dist/index.cjs +0 -1
  582. package/dist/node_modules/@ethereumjs/rlp/dist/index.js +0 -164
  583. package/dist/node_modules/@noble/curves/esm/_shortw_utils.cjs +0 -1
  584. package/dist/node_modules/@noble/curves/esm/_shortw_utils.js +0 -19
  585. package/dist/node_modules/@noble/curves/esm/abstract/curve.cjs +0 -1
  586. package/dist/node_modules/@noble/curves/esm/abstract/curve.js +0 -88
  587. package/dist/node_modules/@noble/curves/esm/abstract/modular.cjs +0 -1
  588. package/dist/node_modules/@noble/curves/esm/abstract/modular.js +0 -221
  589. package/dist/node_modules/@noble/curves/esm/abstract/utils.cjs +0 -1
  590. package/dist/node_modules/@noble/curves/esm/abstract/utils.js +0 -201
  591. package/dist/node_modules/@noble/curves/esm/abstract/weierstrass.cjs +0 -1
  592. package/dist/node_modules/@noble/curves/esm/abstract/weierstrass.js +0 -581
  593. package/dist/node_modules/@noble/curves/esm/secp256k1.cjs +0 -1
  594. package/dist/node_modules/@noble/curves/esm/secp256k1.js +0 -50
  595. package/dist/node_modules/@noble/hashes/esm/_assert.cjs +0 -1
  596. package/dist/node_modules/@noble/hashes/esm/_assert.js +0 -44
  597. package/dist/node_modules/@noble/hashes/esm/_sha2.cjs +0 -1
  598. package/dist/node_modules/@noble/hashes/esm/_sha2.js +0 -61
  599. package/dist/node_modules/@noble/hashes/esm/_u64.cjs +0 -1
  600. package/dist/node_modules/@noble/hashes/esm/_u64.js +0 -21
  601. package/dist/node_modules/@noble/hashes/esm/crypto.cjs +0 -1
  602. package/dist/node_modules/@noble/hashes/esm/crypto.js +0 -4
  603. package/dist/node_modules/@noble/hashes/esm/hmac.cjs +0 -1
  604. package/dist/node_modules/@noble/hashes/esm/hmac.js +0 -43
  605. package/dist/node_modules/@noble/hashes/esm/pbkdf2.cjs +0 -1
  606. package/dist/node_modules/@noble/hashes/esm/pbkdf2.js +0 -32
  607. package/dist/node_modules/@noble/hashes/esm/scrypt.cjs +0 -1
  608. package/dist/node_modules/@noble/hashes/esm/scrypt.js +0 -73
  609. package/dist/node_modules/@noble/hashes/esm/sha256.cjs +0 -1
  610. package/dist/node_modules/@noble/hashes/esm/sha256.js +0 -114
  611. package/dist/node_modules/@noble/hashes/esm/sha3.cjs +0 -1
  612. package/dist/node_modules/@noble/hashes/esm/sha3.js +0 -107
  613. package/dist/node_modules/@noble/hashes/esm/utils.cjs +0 -1
  614. package/dist/node_modules/@noble/hashes/esm/utils.js +0 -68
  615. package/dist/node_modules/abitype/dist/chunk-NHABU752.cjs +0 -1
  616. package/dist/node_modules/abitype/dist/chunk-NHABU752.js +0 -4
  617. package/dist/node_modules/abitype/dist/chunk-WP7KDV47.cjs +0 -1
  618. package/dist/node_modules/abitype/dist/chunk-WP7KDV47.js +0 -11
  619. package/dist/node_modules/abitype/dist/index.cjs +0 -2
  620. package/dist/node_modules/abitype/dist/index.js +0 -299
  621. package/dist/node_modules/crc-32/crc32.cjs +0 -1
  622. package/dist/node_modules/crc-32/crc32.js +0 -51
  623. package/dist/node_modules/cross-fetch/dist/browser-ponyfill.cjs +0 -2
  624. package/dist/node_modules/cross-fetch/dist/browser-ponyfill.js +0 -320
  625. package/dist/node_modules/ethereum-cryptography/esm/aes.cjs +0 -1
  626. package/dist/node_modules/ethereum-cryptography/esm/aes.js +0 -61
  627. package/dist/node_modules/ethereum-cryptography/esm/keccak.cjs +0 -1
  628. package/dist/node_modules/ethereum-cryptography/esm/keccak.js +0 -9
  629. package/dist/node_modules/ethereum-cryptography/esm/pbkdf2.cjs +0 -1
  630. package/dist/node_modules/ethereum-cryptography/esm/pbkdf2.js +0 -14
  631. package/dist/node_modules/ethereum-cryptography/esm/random.cjs +0 -1
  632. package/dist/node_modules/ethereum-cryptography/esm/random.js +0 -7
  633. package/dist/node_modules/ethereum-cryptography/esm/scrypt.cjs +0 -1
  634. package/dist/node_modules/ethereum-cryptography/esm/scrypt.js +0 -8
  635. package/dist/node_modules/ethereum-cryptography/esm/secp256k1.cjs +0 -1
  636. package/dist/node_modules/ethereum-cryptography/esm/secp256k1.js +0 -4
  637. package/dist/node_modules/ethereum-cryptography/esm/utils.cjs +0 -1
  638. package/dist/node_modules/ethereum-cryptography/esm/utils.js +0 -31
  639. package/dist/node_modules/eventemitter3/index.cjs +0 -1
  640. package/dist/node_modules/eventemitter3/index.js +0 -117
  641. package/dist/node_modules/eventemitter3/index2.cjs +0 -1
  642. package/dist/node_modules/eventemitter3/index2.js +0 -5
  643. package/dist/node_modules/isomorphic-ws/browser.cjs +0 -1
  644. package/dist/node_modules/isomorphic-ws/browser.js +0 -6
  645. package/dist/node_modules/setimmediate/setImmediate.cjs +0 -1
  646. package/dist/node_modules/setimmediate/setImmediate.js +0 -99
  647. package/dist/node_modules/web3/lib/esm/abi.cjs +0 -1
  648. package/dist/node_modules/web3/lib/esm/abi.js +0 -19
  649. package/dist/node_modules/web3/lib/esm/accounts.cjs +0 -1
  650. package/dist/node_modules/web3/lib/esm/accounts.js +0 -107
  651. package/dist/node_modules/web3/lib/esm/index.cjs +0 -1
  652. package/dist/node_modules/web3/lib/esm/index.js +0 -81
  653. package/dist/node_modules/web3/lib/esm/version.cjs +0 -1
  654. package/dist/node_modules/web3/lib/esm/version.js +0 -4
  655. package/dist/node_modules/web3/lib/esm/web3.cjs +0 -1
  656. package/dist/node_modules/web3/lib/esm/web3.js +0 -91
  657. package/dist/node_modules/web3/lib/esm/web3_eip6963.cjs +0 -1
  658. package/dist/node_modules/web3/lib/esm/web3_eip6963.js +0 -50
  659. package/dist/node_modules/web3-core/lib/esm/utils.cjs +0 -1
  660. package/dist/node_modules/web3-core/lib/esm/utils.js +0 -13
  661. package/dist/node_modules/web3-core/lib/esm/web3_batch_request.cjs +0 -1
  662. package/dist/node_modules/web3-core/lib/esm/web3_batch_request.js +0 -83
  663. package/dist/node_modules/web3-core/lib/esm/web3_config.cjs +0 -1
  664. package/dist/node_modules/web3-core/lib/esm/web3_config.js +0 -356
  665. package/dist/node_modules/web3-core/lib/esm/web3_context.cjs +0 -1
  666. package/dist/node_modules/web3-core/lib/esm/web3_context.js +0 -245
  667. package/dist/node_modules/web3-core/lib/esm/web3_event_emitter.cjs +0 -1
  668. package/dist/node_modules/web3-core/lib/esm/web3_event_emitter.js +0 -39
  669. package/dist/node_modules/web3-core/lib/esm/web3_promi_event.cjs +0 -1
  670. package/dist/node_modules/web3-core/lib/esm/web3_promi_event.js +0 -58
  671. package/dist/node_modules/web3-core/lib/esm/web3_request_manager.cjs +0 -1
  672. package/dist/node_modules/web3-core/lib/esm/web3_request_manager.js +0 -245
  673. package/dist/node_modules/web3-core/lib/esm/web3_subscription_manager.cjs +0 -1
  674. package/dist/node_modules/web3-core/lib/esm/web3_subscription_manager.js +0 -155
  675. package/dist/node_modules/web3-core/lib/esm/web3_subscriptions.cjs +0 -1
  676. package/dist/node_modules/web3-core/lib/esm/web3_subscriptions.js +0 -111
  677. package/dist/node_modules/web3-errors/lib/esm/error_codes.cjs +0 -1
  678. package/dist/node_modules/web3-errors/lib/esm/error_codes.js +0 -108
  679. package/dist/node_modules/web3-errors/lib/esm/errors/account_errors.cjs +0 -1
  680. package/dist/node_modules/web3-errors/lib/esm/errors/account_errors.js +0 -58
  681. package/dist/node_modules/web3-errors/lib/esm/errors/connection_errors.cjs +0 -1
  682. package/dist/node_modules/web3-errors/lib/esm/errors/connection_errors.js +0 -37
  683. package/dist/node_modules/web3-errors/lib/esm/errors/contract_errors.cjs +0 -1
  684. package/dist/node_modules/web3-errors/lib/esm/errors/contract_errors.js +0 -49
  685. package/dist/node_modules/web3-errors/lib/esm/errors/core_errors.cjs +0 -1
  686. package/dist/node_modules/web3-errors/lib/esm/errors/core_errors.js +0 -16
  687. package/dist/node_modules/web3-errors/lib/esm/errors/ens_errors.cjs +0 -1
  688. package/dist/node_modules/web3-errors/lib/esm/errors/ens_errors.js +0 -16
  689. package/dist/node_modules/web3-errors/lib/esm/errors/generic_errors.cjs +0 -1
  690. package/dist/node_modules/web3-errors/lib/esm/errors/generic_errors.js +0 -49
  691. package/dist/node_modules/web3-errors/lib/esm/errors/provider_errors.cjs +0 -1
  692. package/dist/node_modules/web3-errors/lib/esm/errors/provider_errors.js +0 -28
  693. package/dist/node_modules/web3-errors/lib/esm/errors/response_errors.cjs +0 -1
  694. package/dist/node_modules/web3-errors/lib/esm/errors/response_errors.js +0 -30
  695. package/dist/node_modules/web3-errors/lib/esm/errors/rpc_error_messages.cjs +0 -1
  696. package/dist/node_modules/web3-errors/lib/esm/errors/rpc_error_messages.js +0 -161
  697. package/dist/node_modules/web3-errors/lib/esm/errors/rpc_errors.cjs +0 -1
  698. package/dist/node_modules/web3-errors/lib/esm/errors/rpc_errors.js +0 -129
  699. package/dist/node_modules/web3-errors/lib/esm/errors/schema_errors.cjs +0 -1
  700. package/dist/node_modules/web3-errors/lib/esm/errors/schema_errors.js +0 -13
  701. package/dist/node_modules/web3-errors/lib/esm/errors/signature_errors.cjs +0 -1
  702. package/dist/node_modules/web3-errors/lib/esm/errors/signature_errors.js +0 -10
  703. package/dist/node_modules/web3-errors/lib/esm/errors/transaction_errors.cjs +0 -5
  704. package/dist/node_modules/web3-errors/lib/esm/errors/transaction_errors.js +0 -256
  705. package/dist/node_modules/web3-errors/lib/esm/errors/utils_errors.cjs +0 -1
  706. package/dist/node_modules/web3-errors/lib/esm/errors/utils_errors.js +0 -82
  707. package/dist/node_modules/web3-errors/lib/esm/web3_error_base.cjs +0 -1
  708. package/dist/node_modules/web3-errors/lib/esm/web3_error_base.js +0 -49
  709. package/dist/node_modules/web3-eth/lib/esm/constants.cjs +0 -1
  710. package/dist/node_modules/web3-eth/lib/esm/constants.js +0 -14
  711. package/dist/node_modules/web3-eth/lib/esm/rpc_method_wrappers.cjs +0 -1
  712. package/dist/node_modules/web3-eth/lib/esm/rpc_method_wrappers.js +0 -424
  713. package/dist/node_modules/web3-eth/lib/esm/schemas.cjs +0 -1
  714. package/dist/node_modules/web3-eth/lib/esm/schemas.js +0 -595
  715. package/dist/node_modules/web3-eth/lib/esm/utils/decode_signed_transaction.cjs +0 -1
  716. package/dist/node_modules/web3-eth/lib/esm/utils/decode_signed_transaction.js +0 -31
  717. package/dist/node_modules/web3-eth/lib/esm/utils/decoding.cjs +0 -1
  718. package/dist/node_modules/web3-eth/lib/esm/utils/decoding.js +0 -34
  719. package/dist/node_modules/web3-eth/lib/esm/utils/detect_transaction_type.cjs +0 -1
  720. package/dist/node_modules/web3-eth/lib/esm/utils/detect_transaction_type.js +0 -90
  721. package/dist/node_modules/web3-eth/lib/esm/utils/format_transaction.cjs +0 -1
  722. package/dist/node_modules/web3-eth/lib/esm/utils/format_transaction.js +0 -30
  723. package/dist/node_modules/web3-eth/lib/esm/utils/get_revert_reason.cjs +0 -1
  724. package/dist/node_modules/web3-eth/lib/esm/utils/get_revert_reason.js +0 -77
  725. package/dist/node_modules/web3-eth/lib/esm/utils/get_transaction_error.cjs +0 -1
  726. package/dist/node_modules/web3-eth/lib/esm/utils/get_transaction_error.js +0 -50
  727. package/dist/node_modules/web3-eth/lib/esm/utils/get_transaction_gas_pricing.cjs +0 -1
  728. package/dist/node_modules/web3-eth/lib/esm/utils/get_transaction_gas_pricing.js +0 -80
  729. package/dist/node_modules/web3-eth/lib/esm/utils/prepare_transaction_for_signing.cjs +0 -1
  730. package/dist/node_modules/web3-eth/lib/esm/utils/prepare_transaction_for_signing.js +0 -102
  731. package/dist/node_modules/web3-eth/lib/esm/utils/reject_if_block_timeout.cjs +0 -1
  732. package/dist/node_modules/web3-eth/lib/esm/utils/reject_if_block_timeout.js +0 -109
  733. package/dist/node_modules/web3-eth/lib/esm/utils/send_tx_helper.cjs +0 -1
  734. package/dist/node_modules/web3-eth/lib/esm/utils/send_tx_helper.js +0 -145
  735. package/dist/node_modules/web3-eth/lib/esm/utils/transaction_builder.cjs +0 -1
  736. package/dist/node_modules/web3-eth/lib/esm/utils/transaction_builder.js +0 -131
  737. package/dist/node_modules/web3-eth/lib/esm/utils/try_send_transaction.cjs +0 -1
  738. package/dist/node_modules/web3-eth/lib/esm/utils/try_send_transaction.js +0 -52
  739. package/dist/node_modules/web3-eth/lib/esm/utils/wait_for_transaction_receipt.cjs +0 -1
  740. package/dist/node_modules/web3-eth/lib/esm/utils/wait_for_transaction_receipt.js +0 -61
  741. package/dist/node_modules/web3-eth/lib/esm/utils/watch_transaction_by_polling.cjs +0 -1
  742. package/dist/node_modules/web3-eth/lib/esm/utils/watch_transaction_by_polling.js +0 -51
  743. package/dist/node_modules/web3-eth/lib/esm/utils/watch_transaction_by_subscription.cjs +0 -1
  744. package/dist/node_modules/web3-eth/lib/esm/utils/watch_transaction_by_subscription.js +0 -79
  745. package/dist/node_modules/web3-eth/lib/esm/utils/watch_transaction_for_confirmations.cjs +0 -1
  746. package/dist/node_modules/web3-eth/lib/esm/utils/watch_transaction_for_confirmations.js +0 -44
  747. package/dist/node_modules/web3-eth/lib/esm/validation.cjs +0 -1
  748. package/dist/node_modules/web3-eth/lib/esm/validation.js +0 -111
  749. package/dist/node_modules/web3-eth/lib/esm/web3_eth.cjs +0 -1
  750. package/dist/node_modules/web3-eth/lib/esm/web3_eth.js +0 -1661
  751. package/dist/node_modules/web3-eth/lib/esm/web3_subscriptions.cjs +0 -1
  752. package/dist/node_modules/web3-eth/lib/esm/web3_subscriptions.js +0 -65
  753. package/dist/node_modules/web3-eth-abi/lib/esm/api/errors_api.cjs +0 -1
  754. package/dist/node_modules/web3-eth-abi/lib/esm/api/errors_api.js +0 -13
  755. package/dist/node_modules/web3-eth-abi/lib/esm/api/events_api.cjs +0 -1
  756. package/dist/node_modules/web3-eth-abi/lib/esm/api/events_api.js +0 -13
  757. package/dist/node_modules/web3-eth-abi/lib/esm/api/functions_api.cjs +0 -1
  758. package/dist/node_modules/web3-eth-abi/lib/esm/api/functions_api.js +0 -26
  759. package/dist/node_modules/web3-eth-abi/lib/esm/api/logs_api.cjs +0 -1
  760. package/dist/node_modules/web3-eth-abi/lib/esm/api/logs_api.js +0 -14
  761. package/dist/node_modules/web3-eth-abi/lib/esm/api/parameters_api.cjs +0 -1
  762. package/dist/node_modules/web3-eth-abi/lib/esm/api/parameters_api.js +0 -24
  763. package/dist/node_modules/web3-eth-abi/lib/esm/coders/base/address.cjs +0 -1
  764. package/dist/node_modules/web3-eth-abi/lib/esm/coders/base/address.js +0 -47
  765. package/dist/node_modules/web3-eth-abi/lib/esm/coders/base/array.cjs +0 -1
  766. package/dist/node_modules/web3-eth-abi/lib/esm/coders/base/array.js +0 -72
  767. package/dist/node_modules/web3-eth-abi/lib/esm/coders/base/bool.cjs +0 -1
  768. package/dist/node_modules/web3-eth-abi/lib/esm/coders/base/bool.js +0 -37
  769. package/dist/node_modules/web3-eth-abi/lib/esm/coders/base/bytes.cjs +0 -1
  770. package/dist/node_modules/web3-eth-abi/lib/esm/coders/base/bytes.js +0 -66
  771. package/dist/node_modules/web3-eth-abi/lib/esm/coders/base/index.cjs +0 -1
  772. package/dist/node_modules/web3-eth-abi/lib/esm/coders/base/index.js +0 -67
  773. package/dist/node_modules/web3-eth-abi/lib/esm/coders/base/number.cjs +0 -1
  774. package/dist/node_modules/web3-eth-abi/lib/esm/coders/base/number.js +0 -85
  775. package/dist/node_modules/web3-eth-abi/lib/esm/coders/base/numbersLimits.cjs +0 -1
  776. package/dist/node_modules/web3-eth-abi/lib/esm/coders/base/numbersLimits.js +0 -15
  777. package/dist/node_modules/web3-eth-abi/lib/esm/coders/base/string.cjs +0 -1
  778. package/dist/node_modules/web3-eth-abi/lib/esm/coders/base/string.js +0 -22
  779. package/dist/node_modules/web3-eth-abi/lib/esm/coders/base/tuple.cjs +0 -1
  780. package/dist/node_modules/web3-eth-abi/lib/esm/coders/base/tuple.js +0 -77
  781. package/dist/node_modules/web3-eth-abi/lib/esm/coders/base/utils.cjs +0 -1
  782. package/dist/node_modules/web3-eth-abi/lib/esm/coders/base/utils.js +0 -15
  783. package/dist/node_modules/web3-eth-abi/lib/esm/coders/decode.cjs +0 -1
  784. package/dist/node_modules/web3-eth-abi/lib/esm/coders/decode.js +0 -16
  785. package/dist/node_modules/web3-eth-abi/lib/esm/coders/encode.cjs +0 -1
  786. package/dist/node_modules/web3-eth-abi/lib/esm/coders/encode.js +0 -50
  787. package/dist/node_modules/web3-eth-abi/lib/esm/coders/utils.cjs +0 -1
  788. package/dist/node_modules/web3-eth-abi/lib/esm/coders/utils.js +0 -58
  789. package/dist/node_modules/web3-eth-abi/lib/esm/decode_contract_error_data.cjs +0 -1
  790. package/dist/node_modules/web3-eth-abi/lib/esm/decode_contract_error_data.js +0 -18
  791. package/dist/node_modules/web3-eth-abi/lib/esm/utils.cjs +0 -1
  792. package/dist/node_modules/web3-eth-abi/lib/esm/utils.js +0 -39
  793. package/dist/node_modules/web3-eth-accounts/lib/esm/account.cjs +0 -2
  794. package/dist/node_modules/web3-eth-accounts/lib/esm/account.js +0 -223
  795. package/dist/node_modules/web3-eth-accounts/lib/esm/common/chains/goerli.cjs +0 -1
  796. package/dist/node_modules/web3-eth-accounts/lib/esm/common/chains/goerli.js +0 -99
  797. package/dist/node_modules/web3-eth-accounts/lib/esm/common/chains/mainnet.cjs +0 -1
  798. package/dist/node_modules/web3-eth-accounts/lib/esm/common/chains/mainnet.js +0 -115
  799. package/dist/node_modules/web3-eth-accounts/lib/esm/common/chains/sepolia.cjs +0 -1
  800. package/dist/node_modules/web3-eth-accounts/lib/esm/common/chains/sepolia.js +0 -102
  801. package/dist/node_modules/web3-eth-accounts/lib/esm/common/common.cjs +0 -1
  802. package/dist/node_modules/web3-eth-accounts/lib/esm/common/common.js +0 -741
  803. package/dist/node_modules/web3-eth-accounts/lib/esm/common/eips/1153.cjs +0 -1
  804. package/dist/node_modules/web3-eth-accounts/lib/esm/common/eips/1153.js +0 -25
  805. package/dist/node_modules/web3-eth-accounts/lib/esm/common/eips/1559.cjs +0 -1
  806. package/dist/node_modules/web3-eth-accounts/lib/esm/common/eips/1559.js +0 -29
  807. package/dist/node_modules/web3-eth-accounts/lib/esm/common/eips/2315.cjs +0 -1
  808. package/dist/node_modules/web3-eth-accounts/lib/esm/common/eips/2315.js +0 -28
  809. package/dist/node_modules/web3-eth-accounts/lib/esm/common/eips/2537.cjs +0 -1
  810. package/dist/node_modules/web3-eth-accounts/lib/esm/common/eips/2537.js +0 -181
  811. package/dist/node_modules/web3-eth-accounts/lib/esm/common/eips/2565.cjs +0 -1
  812. package/dist/node_modules/web3-eth-accounts/lib/esm/common/eips/2565.js +0 -20
  813. package/dist/node_modules/web3-eth-accounts/lib/esm/common/eips/2718.cjs +0 -1
  814. package/dist/node_modules/web3-eth-accounts/lib/esm/common/eips/2718.js +0 -14
  815. package/dist/node_modules/web3-eth-accounts/lib/esm/common/eips/2929.cjs +0 -1
  816. package/dist/node_modules/web3-eth-accounts/lib/esm/common/eips/2929.js +0 -87
  817. package/dist/node_modules/web3-eth-accounts/lib/esm/common/eips/2930.cjs +0 -1
  818. package/dist/node_modules/web3-eth-accounts/lib/esm/common/eips/2930.js +0 -24
  819. package/dist/node_modules/web3-eth-accounts/lib/esm/common/eips/3198.cjs +0 -1
  820. package/dist/node_modules/web3-eth-accounts/lib/esm/common/eips/3198.js +0 -20
  821. package/dist/node_modules/web3-eth-accounts/lib/esm/common/eips/3529.cjs +0 -1
  822. package/dist/node_modules/web3-eth-accounts/lib/esm/common/eips/3529.js +0 -29
  823. package/dist/node_modules/web3-eth-accounts/lib/esm/common/eips/3540.cjs +0 -1
  824. package/dist/node_modules/web3-eth-accounts/lib/esm/common/eips/3540.js +0 -16
  825. package/dist/node_modules/web3-eth-accounts/lib/esm/common/eips/3541.cjs +0 -1
  826. package/dist/node_modules/web3-eth-accounts/lib/esm/common/eips/3541.js +0 -15
  827. package/dist/node_modules/web3-eth-accounts/lib/esm/common/eips/3554.cjs +0 -1
  828. package/dist/node_modules/web3-eth-accounts/lib/esm/common/eips/3554.js +0 -20
  829. package/dist/node_modules/web3-eth-accounts/lib/esm/common/eips/3607.cjs +0 -1
  830. package/dist/node_modules/web3-eth-accounts/lib/esm/common/eips/3607.js +0 -16
  831. package/dist/node_modules/web3-eth-accounts/lib/esm/common/eips/3651.cjs +0 -1
  832. package/dist/node_modules/web3-eth-accounts/lib/esm/common/eips/3651.js +0 -16
  833. package/dist/node_modules/web3-eth-accounts/lib/esm/common/eips/3670.cjs +0 -1
  834. package/dist/node_modules/web3-eth-accounts/lib/esm/common/eips/3670.js +0 -16
  835. package/dist/node_modules/web3-eth-accounts/lib/esm/common/eips/3675.cjs +0 -1
  836. package/dist/node_modules/web3-eth-accounts/lib/esm/common/eips/3675.js +0 -16
  837. package/dist/node_modules/web3-eth-accounts/lib/esm/common/eips/3855.cjs +0 -1
  838. package/dist/node_modules/web3-eth-accounts/lib/esm/common/eips/3855.js +0 -21
  839. package/dist/node_modules/web3-eth-accounts/lib/esm/common/eips/3860.cjs +0 -1
  840. package/dist/node_modules/web3-eth-accounts/lib/esm/common/eips/3860.js +0 -26
  841. package/dist/node_modules/web3-eth-accounts/lib/esm/common/eips/4345.cjs +0 -1
  842. package/dist/node_modules/web3-eth-accounts/lib/esm/common/eips/4345.js +0 -20
  843. package/dist/node_modules/web3-eth-accounts/lib/esm/common/eips/4399.cjs +0 -1
  844. package/dist/node_modules/web3-eth-accounts/lib/esm/common/eips/4399.js +0 -16
  845. package/dist/node_modules/web3-eth-accounts/lib/esm/common/eips/5133.cjs +0 -1
  846. package/dist/node_modules/web3-eth-accounts/lib/esm/common/eips/5133.js +0 -20
  847. package/dist/node_modules/web3-eth-accounts/lib/esm/common/eips/index.cjs +0 -1
  848. package/dist/node_modules/web3-eth-accounts/lib/esm/common/eips/index.js +0 -49
  849. package/dist/node_modules/web3-eth-accounts/lib/esm/common/enums.cjs +0 -1
  850. package/dist/node_modules/web3-eth-accounts/lib/esm/common/enums.js +0 -27
  851. package/dist/node_modules/web3-eth-accounts/lib/esm/common/hardforks/arrowGlacier.cjs +0 -1
  852. package/dist/node_modules/web3-eth-accounts/lib/esm/common/hardforks/arrowGlacier.js +0 -14
  853. package/dist/node_modules/web3-eth-accounts/lib/esm/common/hardforks/berlin.cjs +0 -1
  854. package/dist/node_modules/web3-eth-accounts/lib/esm/common/hardforks/berlin.js +0 -10
  855. package/dist/node_modules/web3-eth-accounts/lib/esm/common/hardforks/byzantium.cjs +0 -1
  856. package/dist/node_modules/web3-eth-accounts/lib/esm/common/hardforks/byzantium.js +0 -59
  857. package/dist/node_modules/web3-eth-accounts/lib/esm/common/hardforks/chainstart.cjs +0 -1
  858. package/dist/node_modules/web3-eth-accounts/lib/esm/common/hardforks/chainstart.js +0 -441
  859. package/dist/node_modules/web3-eth-accounts/lib/esm/common/hardforks/constantinople.cjs +0 -1
  860. package/dist/node_modules/web3-eth-accounts/lib/esm/common/hardforks/constantinople.js +0 -71
  861. package/dist/node_modules/web3-eth-accounts/lib/esm/common/hardforks/dao.cjs +0 -1
  862. package/dist/node_modules/web3-eth-accounts/lib/esm/common/hardforks/dao.js +0 -13
  863. package/dist/node_modules/web3-eth-accounts/lib/esm/common/hardforks/grayGlacier.cjs +0 -1
  864. package/dist/node_modules/web3-eth-accounts/lib/esm/common/hardforks/grayGlacier.js +0 -14
  865. package/dist/node_modules/web3-eth-accounts/lib/esm/common/hardforks/homestead.cjs +0 -1
  866. package/dist/node_modules/web3-eth-accounts/lib/esm/common/hardforks/homestead.js +0 -18
  867. package/dist/node_modules/web3-eth-accounts/lib/esm/common/hardforks/index.cjs +0 -1
  868. package/dist/node_modules/web3-eth-accounts/lib/esm/common/hardforks/index.js +0 -39
  869. package/dist/node_modules/web3-eth-accounts/lib/esm/common/hardforks/istanbul.cjs +0 -1
  870. package/dist/node_modules/web3-eth-accounts/lib/esm/common/hardforks/istanbul.js +0 -90
  871. package/dist/node_modules/web3-eth-accounts/lib/esm/common/hardforks/london.cjs +0 -1
  872. package/dist/node_modules/web3-eth-accounts/lib/esm/common/hardforks/london.js +0 -10
  873. package/dist/node_modules/web3-eth-accounts/lib/esm/common/hardforks/merge.cjs +0 -1
  874. package/dist/node_modules/web3-eth-accounts/lib/esm/common/hardforks/merge.js +0 -15
  875. package/dist/node_modules/web3-eth-accounts/lib/esm/common/hardforks/mergeForkIdTransition.cjs +0 -1
  876. package/dist/node_modules/web3-eth-accounts/lib/esm/common/hardforks/mergeForkIdTransition.js +0 -10
  877. package/dist/node_modules/web3-eth-accounts/lib/esm/common/hardforks/muirGlacier.cjs +0 -1
  878. package/dist/node_modules/web3-eth-accounts/lib/esm/common/hardforks/muirGlacier.js +0 -18
  879. package/dist/node_modules/web3-eth-accounts/lib/esm/common/hardforks/petersburg.cjs +0 -1
  880. package/dist/node_modules/web3-eth-accounts/lib/esm/common/hardforks/petersburg.js +0 -42
  881. package/dist/node_modules/web3-eth-accounts/lib/esm/common/hardforks/shanghai.cjs +0 -1
  882. package/dist/node_modules/web3-eth-accounts/lib/esm/common/hardforks/shanghai.js +0 -10
  883. package/dist/node_modules/web3-eth-accounts/lib/esm/common/hardforks/spuriousDragon.cjs +0 -1
  884. package/dist/node_modules/web3-eth-accounts/lib/esm/common/hardforks/spuriousDragon.js +0 -23
  885. package/dist/node_modules/web3-eth-accounts/lib/esm/common/hardforks/tangerineWhistle.cjs +0 -1
  886. package/dist/node_modules/web3-eth-accounts/lib/esm/common/hardforks/tangerineWhistle.js +0 -46
  887. package/dist/node_modules/web3-eth-accounts/lib/esm/common/types.cjs +0 -1
  888. package/dist/node_modules/web3-eth-accounts/lib/esm/common/types.js +0 -7
  889. package/dist/node_modules/web3-eth-accounts/lib/esm/common/utils.cjs +0 -1
  890. package/dist/node_modules/web3-eth-accounts/lib/esm/common/utils.js +0 -279
  891. package/dist/node_modules/web3-eth-accounts/lib/esm/schemas.cjs +0 -1
  892. package/dist/node_modules/web3-eth-accounts/lib/esm/schemas.js +0 -25
  893. package/dist/node_modules/web3-eth-accounts/lib/esm/tx/address.cjs +0 -1
  894. package/dist/node_modules/web3-eth-accounts/lib/esm/tx/address.js +0 -57
  895. package/dist/node_modules/web3-eth-accounts/lib/esm/tx/baseTransaction.cjs +0 -1
  896. package/dist/node_modules/web3-eth-accounts/lib/esm/tx/baseTransaction.js +0 -288
  897. package/dist/node_modules/web3-eth-accounts/lib/esm/tx/constants.cjs +0 -1
  898. package/dist/node_modules/web3-eth-accounts/lib/esm/tx/constants.js +0 -11
  899. package/dist/node_modules/web3-eth-accounts/lib/esm/tx/eip1559Transaction.cjs +0 -1
  900. package/dist/node_modules/web3-eth-accounts/lib/esm/tx/eip1559Transaction.js +0 -285
  901. package/dist/node_modules/web3-eth-accounts/lib/esm/tx/eip2930Transaction.cjs +0 -1
  902. package/dist/node_modules/web3-eth-accounts/lib/esm/tx/eip2930Transaction.js +0 -268
  903. package/dist/node_modules/web3-eth-accounts/lib/esm/tx/legacyTransaction.cjs +0 -1
  904. package/dist/node_modules/web3-eth-accounts/lib/esm/tx/legacyTransaction.js +0 -256
  905. package/dist/node_modules/web3-eth-accounts/lib/esm/tx/transactionFactory.cjs +0 -1
  906. package/dist/node_modules/web3-eth-accounts/lib/esm/tx/transactionFactory.js +0 -90
  907. package/dist/node_modules/web3-eth-accounts/lib/esm/tx/types.cjs +0 -1
  908. package/dist/node_modules/web3-eth-accounts/lib/esm/tx/types.js +0 -18
  909. package/dist/node_modules/web3-eth-accounts/lib/esm/tx/utils.cjs +0 -1
  910. package/dist/node_modules/web3-eth-accounts/lib/esm/tx/utils.js +0 -80
  911. package/dist/node_modules/web3-eth-accounts/lib/esm/wallet.cjs +0 -1
  912. package/dist/node_modules/web3-eth-accounts/lib/esm/wallet.js +0 -361
  913. package/dist/node_modules/web3-eth-contract/lib/esm/contract.cjs +0 -3
  914. package/dist/node_modules/web3-eth-contract/lib/esm/contract.js +0 -540
  915. package/dist/node_modules/web3-eth-contract/lib/esm/encoding.cjs +0 -1
  916. package/dist/node_modules/web3-eth-contract/lib/esm/encoding.js +0 -89
  917. package/dist/node_modules/web3-eth-contract/lib/esm/index.cjs +0 -1
  918. package/dist/node_modules/web3-eth-contract/lib/esm/index.js +0 -30
  919. package/dist/node_modules/web3-eth-contract/lib/esm/log_subscription.cjs +0 -1
  920. package/dist/node_modules/web3-eth-contract/lib/esm/log_subscription.js +0 -39
  921. package/dist/node_modules/web3-eth-contract/lib/esm/utils.cjs +0 -1
  922. package/dist/node_modules/web3-eth-contract/lib/esm/utils.js +0 -78
  923. package/dist/node_modules/web3-eth-ens/lib/esm/abi/ens/ENSRegistry.cjs +0 -1
  924. package/dist/node_modules/web3-eth-ens/lib/esm/abi/ens/ENSRegistry.js +0 -168
  925. package/dist/node_modules/web3-eth-ens/lib/esm/abi/ens/PublicResolver.cjs +0 -1
  926. package/dist/node_modules/web3-eth-ens/lib/esm/abi/ens/PublicResolver.js +0 -596
  927. package/dist/node_modules/web3-eth-ens/lib/esm/config.cjs +0 -1
  928. package/dist/node_modules/web3-eth-ens/lib/esm/config.js +0 -29
  929. package/dist/node_modules/web3-eth-ens/lib/esm/ens.cjs +0 -1
  930. package/dist/node_modules/web3-eth-ens/lib/esm/ens.js +0 -280
  931. package/dist/node_modules/web3-eth-ens/lib/esm/registry.cjs +0 -1
  932. package/dist/node_modules/web3-eth-ens/lib/esm/registry.js +0 -108
  933. package/dist/node_modules/web3-eth-ens/lib/esm/resolver.cjs +0 -1
  934. package/dist/node_modules/web3-eth-ens/lib/esm/resolver.js +0 -113
  935. package/dist/node_modules/web3-eth-ens/lib/esm/utils.cjs +0 -1
  936. package/dist/node_modules/web3-eth-ens/lib/esm/utils.js +0 -19
  937. package/dist/node_modules/web3-eth-iban/lib/esm/iban.cjs +0 -1
  938. package/dist/node_modules/web3-eth-iban/lib/esm/iban.js +0 -283
  939. package/dist/node_modules/web3-eth-personal/lib/esm/personal.cjs +0 -1
  940. package/dist/node_modules/web3-eth-personal/lib/esm/personal.js +0 -265
  941. package/dist/node_modules/web3-eth-personal/lib/esm/rpc_method_wrappers.cjs +0 -1
  942. package/dist/node_modules/web3-eth-personal/lib/esm/rpc_method_wrappers.js +0 -96
  943. package/dist/node_modules/web3-net/lib/esm/net.cjs +0 -1
  944. package/dist/node_modules/web3-net/lib/esm/net.js +0 -97
  945. package/dist/node_modules/web3-net/lib/esm/rpc_method_wrappers.cjs +0 -1
  946. package/dist/node_modules/web3-net/lib/esm/rpc_method_wrappers.js +0 -51
  947. package/dist/node_modules/web3-providers-http/lib/esm/index.cjs +0 -1
  948. package/dist/node_modules/web3-providers-http/lib/esm/index.js +0 -98
  949. package/dist/node_modules/web3-providers-ws/lib/esm/index.cjs +0 -1
  950. package/dist/node_modules/web3-providers-ws/lib/esm/index.js +0 -70
  951. package/dist/node_modules/web3-rpc-methods/lib/esm/eth_rpc_methods.cjs +0 -1
  952. package/dist/node_modules/web3-rpc-methods/lib/esm/eth_rpc_methods.js +0 -416
  953. package/dist/node_modules/web3-rpc-methods/lib/esm/net_rpc_methods.cjs +0 -1
  954. package/dist/node_modules/web3-rpc-methods/lib/esm/net_rpc_methods.js +0 -56
  955. package/dist/node_modules/web3-rpc-methods/lib/esm/personal_rpc_methods.cjs +0 -1
  956. package/dist/node_modules/web3-rpc-methods/lib/esm/personal_rpc_methods.js +0 -84
  957. package/dist/node_modules/web3-types/lib/esm/data_format_types.cjs +0 -1
  958. package/dist/node_modules/web3-types/lib/esm/data_format_types.js +0 -15
  959. package/dist/node_modules/web3-types/lib/esm/eth_types.cjs +0 -1
  960. package/dist/node_modules/web3-types/lib/esm/eth_types.js +0 -12
  961. package/dist/node_modules/web3-types/lib/esm/primitives_types.cjs +0 -1
  962. package/dist/node_modules/web3-types/lib/esm/primitives_types.js +0 -4
  963. package/dist/node_modules/web3-types/lib/esm/web3_base_provider.cjs +0 -1
  964. package/dist/node_modules/web3-types/lib/esm/web3_base_provider.js +0 -89
  965. package/dist/node_modules/web3-types/lib/esm/web3_base_wallet.cjs +0 -1
  966. package/dist/node_modules/web3-types/lib/esm/web3_base_wallet.js +0 -8
  967. package/dist/node_modules/web3-utils/lib/esm/chunk_response_parser.cjs +0 -1
  968. package/dist/node_modules/web3-utils/lib/esm/chunk_response_parser.js +0 -37
  969. package/dist/node_modules/web3-utils/lib/esm/converters.cjs +0 -1
  970. package/dist/node_modules/web3-utils/lib/esm/converters.js +0 -199
  971. package/dist/node_modules/web3-utils/lib/esm/event_emitter.cjs +0 -1
  972. package/dist/node_modules/web3-utils/lib/esm/event_emitter.js +0 -15
  973. package/dist/node_modules/web3-utils/lib/esm/formatter.cjs +0 -1
  974. package/dist/node_modules/web3-utils/lib/esm/formatter.js +0 -153
  975. package/dist/node_modules/web3-utils/lib/esm/hash.cjs +0 -1
  976. package/dist/node_modules/web3-utils/lib/esm/hash.js +0 -108
  977. package/dist/node_modules/web3-utils/lib/esm/index.cjs +0 -1
  978. package/dist/node_modules/web3-utils/lib/esm/index.js +0 -109
  979. package/dist/node_modules/web3-utils/lib/esm/json_rpc.cjs +0 -1
  980. package/dist/node_modules/web3-utils/lib/esm/json_rpc.js +0 -41
  981. package/dist/node_modules/web3-utils/lib/esm/objects.cjs +0 -1
  982. package/dist/node_modules/web3-utils/lib/esm/objects.js +0 -20
  983. package/dist/node_modules/web3-utils/lib/esm/promise_helpers.cjs +0 -1
  984. package/dist/node_modules/web3-utils/lib/esm/promise_helpers.js +0 -104
  985. package/dist/node_modules/web3-utils/lib/esm/random.cjs +0 -1
  986. package/dist/node_modules/web3-utils/lib/esm/random.js +0 -7
  987. package/dist/node_modules/web3-utils/lib/esm/socket_provider.cjs +0 -1
  988. package/dist/node_modules/web3-utils/lib/esm/socket_provider.js +0 -233
  989. package/dist/node_modules/web3-utils/lib/esm/string_manipulation.cjs +0 -1
  990. package/dist/node_modules/web3-utils/lib/esm/string_manipulation.js +0 -48
  991. package/dist/node_modules/web3-utils/lib/esm/uint8array.cjs +0 -1
  992. package/dist/node_modules/web3-utils/lib/esm/uint8array.js +0 -26
  993. package/dist/node_modules/web3-utils/lib/esm/uuid.cjs +0 -1
  994. package/dist/node_modules/web3-utils/lib/esm/uuid.js +0 -17
  995. package/dist/node_modules/web3-utils/lib/esm/validation.cjs +0 -1
  996. package/dist/node_modules/web3-utils/lib/esm/validation.js +0 -62
  997. package/dist/node_modules/web3-utils/lib/esm/web3_deferred_promise.cjs +0 -1
  998. package/dist/node_modules/web3-utils/lib/esm/web3_deferred_promise.js +0 -114
  999. package/dist/node_modules/web3-utils/lib/esm/web3_eip1193_provider.cjs +0 -1
  1000. package/dist/node_modules/web3-utils/lib/esm/web3_eip1193_provider.js +0 -86
  1001. package/dist/node_modules/web3-validator/lib/esm/constants.cjs +0 -1
  1002. package/dist/node_modules/web3-validator/lib/esm/constants.js +0 -4
  1003. package/dist/node_modules/web3-validator/lib/esm/default_validator.cjs +0 -1
  1004. package/dist/node_modules/web3-validator/lib/esm/default_validator.js +0 -5
  1005. package/dist/node_modules/web3-validator/lib/esm/errors.cjs +0 -3
  1006. package/dist/node_modules/web3-validator/lib/esm/errors.js +0 -17
  1007. package/dist/node_modules/web3-validator/lib/esm/formats.cjs +0 -1
  1008. package/dist/node_modules/web3-validator/lib/esm/formats.js +0 -31
  1009. package/dist/node_modules/web3-validator/lib/esm/utils.cjs +0 -1
  1010. package/dist/node_modules/web3-validator/lib/esm/utils.js +0 -190
  1011. package/dist/node_modules/web3-validator/lib/esm/validation/abi.cjs +0 -1
  1012. package/dist/node_modules/web3-validator/lib/esm/validation/abi.js +0 -4
  1013. package/dist/node_modules/web3-validator/lib/esm/validation/address.cjs +0 -1
  1014. package/dist/node_modules/web3-validator/lib/esm/validation/address.js +0 -23
  1015. package/dist/node_modules/web3-validator/lib/esm/validation/block.cjs +0 -1
  1016. package/dist/node_modules/web3-validator/lib/esm/validation/block.js +0 -10
  1017. package/dist/node_modules/web3-validator/lib/esm/validation/bloom.cjs +0 -1
  1018. package/dist/node_modules/web3-validator/lib/esm/validation/bloom.js +0 -29
  1019. package/dist/node_modules/web3-validator/lib/esm/validation/boolean.cjs +0 -1
  1020. package/dist/node_modules/web3-validator/lib/esm/validation/boolean.js +0 -5
  1021. package/dist/node_modules/web3-validator/lib/esm/validation/bytes.cjs +0 -1
  1022. package/dist/node_modules/web3-validator/lib/esm/validation/bytes.js +0 -31
  1023. package/dist/node_modules/web3-validator/lib/esm/validation/filter.cjs +0 -1
  1024. package/dist/node_modules/web3-validator/lib/esm/validation/filter.js +0 -26
  1025. package/dist/node_modules/web3-validator/lib/esm/validation/numbers.cjs +0 -1
  1026. package/dist/node_modules/web3-validator/lib/esm/validation/numbers.js +0 -54
  1027. package/dist/node_modules/web3-validator/lib/esm/validation/object.cjs +0 -1
  1028. package/dist/node_modules/web3-validator/lib/esm/validation/object.js +0 -13
  1029. package/dist/node_modules/web3-validator/lib/esm/validation/string.cjs +0 -1
  1030. package/dist/node_modules/web3-validator/lib/esm/validation/string.js +0 -23
  1031. package/dist/node_modules/web3-validator/lib/esm/validation/topic.cjs +0 -1
  1032. package/dist/node_modules/web3-validator/lib/esm/validation/topic.js +0 -6
  1033. package/dist/node_modules/web3-validator/lib/esm/validator.cjs +0 -1
  1034. package/dist/node_modules/web3-validator/lib/esm/validator.js +0 -86
  1035. package/dist/node_modules/web3-validator/lib/esm/web3_validator.cjs +0 -1
  1036. package/dist/node_modules/web3-validator/lib/esm/web3_validator.js +0 -31
  1037. package/dist/node_modules/zod/lib/index.cjs +0 -1
  1038. package/dist/node_modules/zod/lib/index.js +0 -2983
  1039. package/dist/prometheus-framework/node_modules/@vuepic/vue-datepicker/dist/main.css.cjs +0 -1
  1040. package/dist/prometheus-framework/node_modules/@vuepic/vue-datepicker/dist/main.css.js +0 -1
  1041. package/dist/prometheus-framework/node_modules/axios/lib/adapters/adapters.cjs +0 -3
  1042. package/dist/prometheus-framework/node_modules/axios/lib/adapters/adapters.js +0 -51
  1043. package/dist/prometheus-framework/node_modules/axios/lib/adapters/xhr.cjs +0 -1
  1044. package/dist/prometheus-framework/node_modules/axios/lib/adapters/xhr.js +0 -109
  1045. package/dist/prometheus-framework/node_modules/axios/lib/axios.cjs +0 -1
  1046. package/dist/prometheus-framework/node_modules/axios/lib/axios.js +0 -46
  1047. package/dist/prometheus-framework/node_modules/axios/lib/cancel/CancelToken.cjs +0 -1
  1048. package/dist/prometheus-framework/node_modules/axios/lib/cancel/CancelToken.js +0 -72
  1049. package/dist/prometheus-framework/node_modules/axios/lib/cancel/CanceledError.cjs +0 -1
  1050. package/dist/prometheus-framework/node_modules/axios/lib/cancel/CanceledError.js +0 -11
  1051. package/dist/prometheus-framework/node_modules/axios/lib/cancel/isCancel.cjs +0 -1
  1052. package/dist/prometheus-framework/node_modules/axios/lib/cancel/isCancel.js +0 -6
  1053. package/dist/prometheus-framework/node_modules/axios/lib/core/Axios.cjs +0 -2
  1054. package/dist/prometheus-framework/node_modules/axios/lib/core/Axios.js +0 -130
  1055. package/dist/prometheus-framework/node_modules/axios/lib/core/AxiosError.cjs +0 -1
  1056. package/dist/prometheus-framework/node_modules/axios/lib/core/AxiosError.js +0 -54
  1057. package/dist/prometheus-framework/node_modules/axios/lib/core/AxiosHeaders.cjs +0 -2
  1058. package/dist/prometheus-framework/node_modules/axios/lib/core/AxiosHeaders.js +0 -164
  1059. package/dist/prometheus-framework/node_modules/axios/lib/core/InterceptorManager.cjs +0 -1
  1060. package/dist/prometheus-framework/node_modules/axios/lib/core/InterceptorManager.js +0 -58
  1061. package/dist/prometheus-framework/node_modules/axios/lib/core/buildFullPath.cjs +0 -1
  1062. package/dist/prometheus-framework/node_modules/axios/lib/core/buildFullPath.js +0 -8
  1063. package/dist/prometheus-framework/node_modules/axios/lib/core/dispatchRequest.cjs +0 -1
  1064. package/dist/prometheus-framework/node_modules/axios/lib/core/dispatchRequest.js +0 -31
  1065. package/dist/prometheus-framework/node_modules/axios/lib/core/mergeConfig.cjs +0 -1
  1066. package/dist/prometheus-framework/node_modules/axios/lib/core/mergeConfig.js +0 -72
  1067. package/dist/prometheus-framework/node_modules/axios/lib/core/settle.cjs +0 -1
  1068. package/dist/prometheus-framework/node_modules/axios/lib/core/settle.js +0 -14
  1069. package/dist/prometheus-framework/node_modules/axios/lib/core/transformData.cjs +0 -1
  1070. package/dist/prometheus-framework/node_modules/axios/lib/core/transformData.js +0 -13
  1071. package/dist/prometheus-framework/node_modules/axios/lib/defaults/index.cjs +0 -1
  1072. package/dist/prometheus-framework/node_modules/axios/lib/defaults/index.js +0 -87
  1073. package/dist/prometheus-framework/node_modules/axios/lib/defaults/transitional.cjs +0 -1
  1074. package/dist/prometheus-framework/node_modules/axios/lib/defaults/transitional.js +0 -8
  1075. package/dist/prometheus-framework/node_modules/axios/lib/env/data.cjs +0 -1
  1076. package/dist/prometheus-framework/node_modules/axios/lib/env/data.js +0 -4
  1077. package/dist/prometheus-framework/node_modules/axios/lib/helpers/AxiosURLSearchParams.cjs +0 -1
  1078. package/dist/prometheus-framework/node_modules/axios/lib/helpers/AxiosURLSearchParams.js +0 -33
  1079. package/dist/prometheus-framework/node_modules/axios/lib/helpers/HttpStatusCode.cjs +0 -1
  1080. package/dist/prometheus-framework/node_modules/axios/lib/helpers/HttpStatusCode.js +0 -71
  1081. package/dist/prometheus-framework/node_modules/axios/lib/helpers/bind.cjs +0 -1
  1082. package/dist/prometheus-framework/node_modules/axios/lib/helpers/bind.js +0 -8
  1083. package/dist/prometheus-framework/node_modules/axios/lib/helpers/buildURL.cjs +0 -1
  1084. package/dist/prometheus-framework/node_modules/axios/lib/helpers/buildURL.js +0 -19
  1085. package/dist/prometheus-framework/node_modules/axios/lib/helpers/combineURLs.cjs +0 -1
  1086. package/dist/prometheus-framework/node_modules/axios/lib/helpers/combineURLs.js +0 -6
  1087. package/dist/prometheus-framework/node_modules/axios/lib/helpers/cookies.cjs +0 -1
  1088. package/dist/prometheus-framework/node_modules/axios/lib/helpers/cookies.js +0 -32
  1089. package/dist/prometheus-framework/node_modules/axios/lib/helpers/formDataToJSON.cjs +0 -1
  1090. package/dist/prometheus-framework/node_modules/axios/lib/helpers/formDataToJSON.js +0 -32
  1091. package/dist/prometheus-framework/node_modules/axios/lib/helpers/isAbsoluteURL.cjs +0 -1
  1092. package/dist/prometheus-framework/node_modules/axios/lib/helpers/isAbsoluteURL.js +0 -6
  1093. package/dist/prometheus-framework/node_modules/axios/lib/helpers/isAxiosError.cjs +0 -1
  1094. package/dist/prometheus-framework/node_modules/axios/lib/helpers/isAxiosError.js +0 -7
  1095. package/dist/prometheus-framework/node_modules/axios/lib/helpers/isURLSameOrigin.cjs +0 -1
  1096. package/dist/prometheus-framework/node_modules/axios/lib/helpers/isURLSameOrigin.js +0 -37
  1097. package/dist/prometheus-framework/node_modules/axios/lib/helpers/null.cjs +0 -1
  1098. package/dist/prometheus-framework/node_modules/axios/lib/helpers/null.js +0 -4
  1099. package/dist/prometheus-framework/node_modules/axios/lib/helpers/parseHeaders.cjs +0 -2
  1100. package/dist/prometheus-framework/node_modules/axios/lib/helpers/parseHeaders.js +0 -30
  1101. package/dist/prometheus-framework/node_modules/axios/lib/helpers/parseProtocol.cjs +0 -1
  1102. package/dist/prometheus-framework/node_modules/axios/lib/helpers/parseProtocol.js +0 -7
  1103. package/dist/prometheus-framework/node_modules/axios/lib/helpers/speedometer.cjs +0 -1
  1104. package/dist/prometheus-framework/node_modules/axios/lib/helpers/speedometer.js +0 -19
  1105. package/dist/prometheus-framework/node_modules/axios/lib/helpers/spread.cjs +0 -1
  1106. package/dist/prometheus-framework/node_modules/axios/lib/helpers/spread.js +0 -8
  1107. package/dist/prometheus-framework/node_modules/axios/lib/helpers/toFormData.cjs +0 -1
  1108. package/dist/prometheus-framework/node_modules/axios/lib/helpers/toFormData.js +0 -84
  1109. package/dist/prometheus-framework/node_modules/axios/lib/helpers/toURLEncodedForm.cjs +0 -1
  1110. package/dist/prometheus-framework/node_modules/axios/lib/helpers/toURLEncodedForm.js +0 -13
  1111. package/dist/prometheus-framework/node_modules/axios/lib/helpers/validator.cjs +0 -1
  1112. package/dist/prometheus-framework/node_modules/axios/lib/helpers/validator.js +0 -51
  1113. package/dist/prometheus-framework/node_modules/axios/lib/platform/browser/classes/Blob.cjs +0 -1
  1114. package/dist/prometheus-framework/node_modules/axios/lib/platform/browser/classes/Blob.js +0 -4
  1115. package/dist/prometheus-framework/node_modules/axios/lib/platform/browser/classes/FormData.cjs +0 -1
  1116. package/dist/prometheus-framework/node_modules/axios/lib/platform/browser/classes/FormData.js +0 -4
  1117. package/dist/prometheus-framework/node_modules/axios/lib/platform/browser/classes/URLSearchParams.cjs +0 -1
  1118. package/dist/prometheus-framework/node_modules/axios/lib/platform/browser/classes/URLSearchParams.js +0 -5
  1119. package/dist/prometheus-framework/node_modules/axios/lib/platform/browser/index.cjs +0 -1
  1120. package/dist/prometheus-framework/node_modules/axios/lib/platform/browser/index.js +0 -15
  1121. package/dist/prometheus-framework/node_modules/axios/lib/platform/common/utils.cjs +0 -1
  1122. package/dist/prometheus-framework/node_modules/axios/lib/platform/common/utils.js +0 -7
  1123. package/dist/prometheus-framework/node_modules/axios/lib/platform/index.cjs +0 -1
  1124. package/dist/prometheus-framework/node_modules/axios/lib/platform/index.js +0 -9
  1125. package/dist/prometheus-framework/node_modules/axios/lib/utils.cjs +0 -1
  1126. package/dist/prometheus-framework/node_modules/axios/lib/utils.js +0 -224
  1127. package/dist/prometheus-framework/src/components/Breadcrumbs/Breadcrumbs.vue.cjs +0 -1
  1128. package/dist/prometheus-framework/src/components/Breadcrumbs/Breadcrumbs.vue.js +0 -1
  1129. package/dist/prometheus-framework/src/components/DatePicker/Calendar.vue.cjs +0 -1
  1130. package/dist/prometheus-framework/src/components/DatePicker/Calendar.vue.js +0 -1
  1131. package/dist/prometheus-framework/src/components/Feed/Feed.vue2.cjs +0 -1
  1132. package/dist/prometheus-framework/src/components/Feed/Feed.vue2.js +0 -1
  1133. package/dist/prometheus-framework/src/components/FieldPhone/FieldPhone.vue2.cjs +0 -1
  1134. package/dist/prometheus-framework/src/components/FieldPhone/FieldPhone.vue2.js +0 -1
  1135. package/dist/prometheus-framework/src/components/FieldTags/BlockTags.vue2.cjs +0 -1
  1136. package/dist/prometheus-framework/src/components/FieldTags/BlockTags.vue2.js +0 -1
  1137. package/dist/prometheus-framework/src/components/FieldTags/tag-input.vue.cjs +0 -1
  1138. package/dist/prometheus-framework/src/components/FieldTags/tag-input.vue.js +0 -1
  1139. package/dist/prometheus-framework/src/components/FieldTags/vue-tags-input.scss.cjs +0 -1
  1140. package/dist/prometheus-framework/src/components/FieldTags/vue-tags-input.scss.js +0 -1
  1141. package/dist/prometheus-framework/src/components/Loader/Loader.vue.cjs +0 -1
  1142. package/dist/prometheus-framework/src/components/Loader/Loader.vue.js +0 -1
  1143. package/dist/prometheus-framework/src/components/Map/Map.vue2.cjs +0 -1
  1144. package/dist/prometheus-framework/src/components/Map/Map.vue2.js +0 -1
  1145. package/dist/prometheus-framework/src/components/Marquee/Marquee.vue2.cjs +0 -1
  1146. package/dist/prometheus-framework/src/components/Marquee/Marquee.vue2.js +0 -1
  1147. package/dist/prometheus-framework/src/components/PhotoViewer/PhotoViewer.vue2.cjs +0 -1
  1148. package/dist/prometheus-framework/src/components/PhotoViewer/PhotoViewer.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 -1
  1151. package/dist/prometheus-framework/src/components/SelectMulti/SelectMulti.vue2.cjs +0 -1
  1152. package/dist/prometheus-framework/src/components/SelectMulti/SelectMulti.vue2.js +0 -1
  1153. package/dist/prometheus-framework/src/components/Spoiler/Spoiler.vue.cjs +0 -1
  1154. package/dist/prometheus-framework/src/components/Spoiler/Spoiler.vue.js +0 -1
  1155. package/dist/prometheus-framework/src/components/Tab/Tab.vue.cjs +0 -1
  1156. package/dist/prometheus-framework/src/components/Tab/Tab.vue.js +0 -1
  1157. package/dist/prometheus-framework/src/components/Tooltip/Tooltip.vue2.cjs +0 -1
  1158. package/dist/prometheus-framework/src/components/Tooltip/Tooltip.vue2.js +0 -1
  1159. package/dist/prometheus-framework/src/components/Upload/Upload.vue2.cjs +0 -1
  1160. package/dist/prometheus-framework/src/components/Upload/Upload.vue2.js +0 -1
  1161. package/dist/prometheus-framework/src/modules/auth/components/pages/EnterPassword.vue2.cjs +0 -1
  1162. package/dist/prometheus-framework/src/modules/auth/components/pages/EnterPassword.vue2.js +0 -1
  1163. package/dist/prometheus-framework/src/modules/auth/components/pages/Invite.vue2.cjs +0 -1
  1164. package/dist/prometheus-framework/src/modules/auth/components/pages/Invite.vue2.js +0 -1
  1165. package/dist/prometheus-framework/src/modules/auth/components/pages/ResetPassword.vue2.cjs +0 -1
  1166. package/dist/prometheus-framework/src/modules/auth/components/pages/ResetPassword.vue2.js +0 -1
  1167. package/dist/prometheus-framework/src/modules/auth/components/pages/SignIn.vue2.cjs +0 -1
  1168. package/dist/prometheus-framework/src/modules/auth/components/pages/SignIn.vue2.js +0 -1
  1169. package/dist/prometheus-framework/src/modules/auth/components/pages/SignUp.vue2.cjs +0 -1
  1170. package/dist/prometheus-framework/src/modules/auth/components/pages/SignUp.vue2.js +0 -1
  1171. package/dist/prometheus-framework/src/modules/auth/components/sections/SliderFeatures.vue2.cjs +0 -1
  1172. package/dist/prometheus-framework/src/modules/auth/components/sections/SliderFeatures.vue2.js +0 -1
  1173. package/dist/prometheus-framework/src/modules/backoffice/components/layouts/Backoffice.vue.cjs +0 -1
  1174. package/dist/prometheus-framework/src/modules/backoffice/components/layouts/Backoffice.vue.js +0 -1
  1175. package/dist/prometheus-framework/src/modules/chats/components/pages/ChatPage.vue2.cjs +0 -1
  1176. package/dist/prometheus-framework/src/modules/chats/components/pages/ChatPage.vue2.js +0 -1
  1177. package/dist/prometheus-framework/src/modules/chats/components/sections/ChatWindow.vue2.cjs +0 -1
  1178. package/dist/prometheus-framework/src/modules/chats/components/sections/ChatWindow.vue2.js +0 -1
  1179. package/dist/prometheus-framework/src/modules/community/components/pages/Community.vue2.cjs +0 -1
  1180. package/dist/prometheus-framework/src/modules/community/components/pages/Community.vue2.js +0 -1
  1181. package/dist/prometheus-framework/src/modules/community/components/sections/HotPosts.vue2.cjs +0 -1
  1182. package/dist/prometheus-framework/src/modules/community/components/sections/HotPosts.vue2.js +0 -1
  1183. package/dist/prometheus-framework/src/modules/community/components/sections/JoinUs.vue2.cjs +0 -1
  1184. package/dist/prometheus-framework/src/modules/community/components/sections/JoinUs.vue2.js +0 -1
  1185. package/dist/prometheus-framework/src/modules/constructor/components/elements/H2.vue2.cjs +0 -1
  1186. package/dist/prometheus-framework/src/modules/constructor/components/elements/H2.vue2.js +0 -1
  1187. package/dist/prometheus-framework/src/modules/events/components/elements/ButtonCheck.vue2.cjs +0 -1
  1188. package/dist/prometheus-framework/src/modules/events/components/elements/ButtonCheck.vue2.js +0 -1
  1189. package/dist/prometheus-framework/src/modules/events/components/elements/ButtonJoin.vue2.cjs +0 -1
  1190. package/dist/prometheus-framework/src/modules/events/components/elements/ButtonJoin.vue2.js +0 -1
  1191. package/dist/prometheus-framework/src/modules/events/components/pages/EditEvent.vue2.cjs +0 -1
  1192. package/dist/prometheus-framework/src/modules/events/components/pages/EditEvent.vue2.js +0 -1
  1193. package/dist/prometheus-framework/src/modules/events/components/pages/EditEventTickets.vue2.cjs +0 -1
  1194. package/dist/prometheus-framework/src/modules/events/components/pages/EditEventTickets.vue2.js +0 -1
  1195. package/dist/prometheus-framework/src/modules/events/components/sections/HeroEvent.vue2.cjs +0 -1
  1196. package/dist/prometheus-framework/src/modules/events/components/sections/HeroEvent.vue2.js +0 -1
  1197. package/dist/prometheus-framework/src/modules/events/components/sections/List.vue2.cjs +0 -1
  1198. package/dist/prometheus-framework/src/modules/events/components/sections/List.vue2.js +0 -1
  1199. package/dist/prometheus-framework/src/modules/events/components/sections/SectionMainGuest.vue2.cjs +0 -1
  1200. package/dist/prometheus-framework/src/modules/events/components/sections/SectionMainGuest.vue2.js +0 -1
  1201. package/dist/prometheus-framework/src/modules/landing/components/elements/AnimatedGrid.vue2.cjs +0 -1
  1202. package/dist/prometheus-framework/src/modules/landing/components/elements/AnimatedGrid.vue2.js +0 -1
  1203. package/dist/prometheus-framework/src/modules/landing/components/sections/MobileApp.vue2.cjs +0 -1
  1204. package/dist/prometheus-framework/src/modules/landing/components/sections/MobileApp.vue2.js +0 -1
  1205. package/dist/prometheus-framework/src/modules/landing/components/sections/SubscribeNewsletter.vue2.cjs +0 -1
  1206. package/dist/prometheus-framework/src/modules/landing/components/sections/SubscribeNewsletter.vue2.js +0 -1
  1207. package/dist/prometheus-framework/src/modules/orders/components/blocks/CardOrder.vue2.cjs +0 -1
  1208. package/dist/prometheus-framework/src/modules/orders/components/blocks/CardOrder.vue2.js +0 -1
  1209. package/dist/prometheus-framework/src/modules/orders/components/pages/Order.vue2.cjs +0 -1
  1210. package/dist/prometheus-framework/src/modules/orders/components/pages/Order.vue2.js +0 -1
  1211. package/dist/prometheus-framework/src/modules/orders/components/pages/OrderBackoffice.vue2.cjs +0 -1
  1212. package/dist/prometheus-framework/src/modules/orders/components/pages/OrderBackoffice.vue2.js +0 -1
  1213. package/dist/prometheus-framework/src/modules/orders/components/pages/OrderCreate.vue2.cjs +0 -1
  1214. package/dist/prometheus-framework/src/modules/orders/components/pages/OrderCreate.vue2.js +0 -1
  1215. package/dist/prometheus-framework/src/modules/orders/components/pages/OrderCreateBackoffice.vue2.cjs +0 -1
  1216. package/dist/prometheus-framework/src/modules/orders/components/pages/OrderCreateBackoffice.vue2.js +0 -1
  1217. package/dist/prometheus-framework/src/modules/orders/components/partials/ShopCart.vue2.cjs +0 -1
  1218. package/dist/prometheus-framework/src/modules/orders/components/partials/ShopCart.vue2.js +0 -1
  1219. package/dist/prometheus-framework/src/modules/organizations/components/blocks/CardDepartment.vue2.cjs +0 -1
  1220. package/dist/prometheus-framework/src/modules/organizations/components/blocks/CardDepartment.vue2.js +0 -1
  1221. package/dist/prometheus-framework/src/modules/organizations/components/blocks/DepartmentSub.vue2.cjs +0 -1
  1222. package/dist/prometheus-framework/src/modules/organizations/components/blocks/DepartmentSub.vue2.js +0 -1
  1223. package/dist/prometheus-framework/src/modules/organizations/components/blocks/EditArray.vue2.cjs +0 -1
  1224. package/dist/prometheus-framework/src/modules/organizations/components/blocks/EditArray.vue2.js +0 -1
  1225. package/dist/prometheus-framework/src/modules/organizations/components/pages/Organization.vue2.cjs +0 -1
  1226. package/dist/prometheus-framework/src/modules/organizations/components/pages/Organization.vue2.js +0 -1
  1227. package/dist/prometheus-framework/src/modules/organizations/components/sections/Documents.vue2.cjs +0 -1
  1228. package/dist/prometheus-framework/src/modules/organizations/components/sections/Documents.vue2.js +0 -1
  1229. package/dist/prometheus-framework/src/modules/organizations/components/sections/Organizations.vue2.cjs +0 -1
  1230. package/dist/prometheus-framework/src/modules/organizations/components/sections/Organizations.vue2.js +0 -1
  1231. package/dist/prometheus-framework/src/modules/organizations/components/sections/Publics.vue2.cjs +0 -1
  1232. package/dist/prometheus-framework/src/modules/organizations/components/sections/Publics.vue2.js +0 -1
  1233. package/dist/prometheus-framework/src/modules/organizations/components/sections/Unit.vue.cjs +0 -1
  1234. package/dist/prometheus-framework/src/modules/organizations/components/sections/Unit.vue.js +0 -1
  1235. package/dist/prometheus-framework/src/modules/products/components/blocks/CardLeftover.vue2.cjs +0 -1
  1236. package/dist/prometheus-framework/src/modules/products/components/blocks/CardLeftover.vue2.js +0 -1
  1237. package/dist/prometheus-framework/src/modules/products/components/blocks/Images360.vue2.cjs +0 -1
  1238. package/dist/prometheus-framework/src/modules/products/components/blocks/Images360.vue2.js +0 -1
  1239. package/dist/prometheus-framework/src/modules/products/components/blocks/ImagesThumbnails.vue2.cjs +0 -1
  1240. package/dist/prometheus-framework/src/modules/products/components/blocks/ImagesThumbnails.vue2.js +0 -1
  1241. package/dist/prometheus-framework/src/modules/products/components/blocks/LeftoverPositions.vue2.cjs +0 -1
  1242. package/dist/prometheus-framework/src/modules/products/components/blocks/LeftoverPositions.vue2.js +0 -1
  1243. package/dist/prometheus-framework/src/modules/products/components/blocks/ListPositions.vue2.cjs +0 -1
  1244. package/dist/prometheus-framework/src/modules/products/components/blocks/ListPositions.vue2.js +0 -1
  1245. package/dist/prometheus-framework/src/modules/products/components/elements/Price.vue2.cjs +0 -1
  1246. package/dist/prometheus-framework/src/modules/products/components/elements/Price.vue2.js +0 -1
  1247. package/dist/prometheus-framework/src/modules/products/components/elements/THC.vue2.cjs +0 -1
  1248. package/dist/prometheus-framework/src/modules/products/components/elements/THC.vue2.js +0 -1
  1249. package/dist/prometheus-framework/src/modules/products/components/pages/CategoryEdit.vue2.cjs +0 -1
  1250. package/dist/prometheus-framework/src/modules/products/components/pages/CategoryEdit.vue2.js +0 -1
  1251. package/dist/prometheus-framework/src/modules/products/components/pages/EditLeftover.vue2.cjs +0 -1
  1252. package/dist/prometheus-framework/src/modules/products/components/pages/EditLeftover.vue2.js +0 -1
  1253. package/dist/prometheus-framework/src/modules/products/components/pages/Leftovers.vue2.cjs +0 -1
  1254. package/dist/prometheus-framework/src/modules/products/components/pages/Leftovers.vue2.js +0 -1
  1255. package/dist/prometheus-framework/src/modules/products/components/pages/Product.vue2.cjs +0 -1
  1256. package/dist/prometheus-framework/src/modules/products/components/pages/Product.vue2.js +0 -1
  1257. package/dist/prometheus-framework/src/modules/products/components/pages/ProductEdit.vue2.cjs +0 -1
  1258. package/dist/prometheus-framework/src/modules/products/components/pages/ProductEdit.vue2.js +0 -1
  1259. package/dist/prometheus-framework/src/modules/products/components/pages/ProductRecommmendation.vue2.cjs +0 -1
  1260. package/dist/prometheus-framework/src/modules/products/components/pages/ProductRecommmendation.vue2.js +0 -1
  1261. package/dist/prometheus-framework/src/modules/products/components/sections/FilterProducts.vue2.cjs +0 -1
  1262. package/dist/prometheus-framework/src/modules/products/components/sections/FilterProducts.vue2.js +0 -1
  1263. package/dist/prometheus-framework/src/modules/products/components/sections/HeroRecommendation.vue2.cjs +0 -1
  1264. package/dist/prometheus-framework/src/modules/products/components/sections/HeroRecommendation.vue2.js +0 -1
  1265. package/dist/prometheus-framework/src/modules/products/components/sections/PopularProducts.vue2.cjs +0 -1
  1266. package/dist/prometheus-framework/src/modules/products/components/sections/PopularProducts.vue2.js +0 -1
  1267. package/dist/prometheus-framework/src/modules/spots/components/blocks/CardSpot.vue2.cjs +0 -1
  1268. package/dist/prometheus-framework/src/modules/spots/components/blocks/CardSpot.vue2.js +0 -1
  1269. package/dist/prometheus-framework/src/modules/users/components/sections/FeaturedUsers.vue2.cjs +0 -1
  1270. package/dist/prometheus-framework/src/modules/users/components/sections/FeaturedUsers.vue2.js +0 -1
  1271. package/dist/prometheus-framework/src/modules/wallet/views/components/pages/Payments.vue2.cjs +0 -1
  1272. package/dist/prometheus-framework/src/modules/wallet/views/components/pages/Payments.vue2.js +0 -1
  1273. package/src/modules/community/components/sections/Feed.vue +0 -148
  1274. package/src/modules/middlewares/server/accessors/AccessController.js +0 -33
  1275. package/src/modules/middlewares/server/accessors/ReadDepartments.js +0 -101
@@ -1,19 +1,19 @@
1
- import { ref as f, onMounted as W, computed as R, openBlock as n, createElementBlock as m, createElementVNode as t, createTextVNode as F, toDisplayString as l, Fragment as I, renderList as D, normalizeClass as L, createCommentVNode as b, createVNode as x, unref as v, withCtx as j, createBlock as C, pushScopeId as G, popScopeId as J } from "vue";
1
+ import { ref as f, onMounted as W, computed as R, openBlock as n, createElementBlock as m, createElementVNode as t, createTextVNode as F, toDisplayString as l, Fragment as I, renderList as D, normalizeClass as H, createCommentVNode as b, createVNode as x, unref as v, withCtx as j, createBlock as C, pushScopeId as G, popScopeId as J } from "vue";
2
2
  import { useRouter as K, useRoute as Q } from "vue-router";
3
3
  import X from "../../../../../node_modules/@vuepic/vue-datepicker/dist/vue-datepicker.js";
4
- import "../../../../../node_modules/@vuepic/vue-datepicker/dist/main.css.js";
5
- import "../../../../components/Tab/Tab.vue.js";
4
+ /* empty css */
5
+ /* empty css */
6
6
  import Y from "../../../../components/Popup/Popup.vue.js";
7
7
  import Z from "../../../icons/entities/IconTime.vue.js";
8
- import T from "../blocks/CardOrderItem.vue.js";
8
+ import L from "../blocks/CardOrderItem.vue.js";
9
9
  import tt from "../../../organizations/components/blocks/CardOrganization.vue.js";
10
10
  import st from "../../../chats/components/pages/ChatPage.vue.js";
11
11
  import et from "../blocks/StatusHistory.vue.js";
12
12
  import { state as at } from "../../../globals/store/globals.js";
13
- import { actions as U, state as g } from "../../store/orders.js";
13
+ import { actions as T, state as g } from "../../store/orders.js";
14
14
  import { actions as lt } from "../../../products/store/products.js";
15
15
  import { actions as it } from "../../../organizations/store/organizations.js";
16
- import "./OrderBackoffice.vue2.js";
16
+ /* empty css */
17
17
  import nt from "../../../../../../_virtual/_plugin-vue_export-helper.js";
18
18
  const i = (k) => (G("data-v-75357432"), k = k(), J(), k), ot = {
19
19
  key: 0,
@@ -24,15 +24,15 @@ const i = (k) => (G("data-v-75357432"), k = k(), J(), k), ot = {
24
24
  }, dt = { class: "mn-b-small flex-nowrap flex" }, ut = { class: "t-medium p-medium" }, ct = { class: "p-small t-transp" }, mt = { class: "flex-nowrap flex gap-thin pos-relative" }, pt = { class: "bg-light mn-b-thin pd-thin radius-extra flex-nowrap flex" }, _t = { class: "w-max flex-v-center gap-thin flex-nowrap flex pd-thin radius-small bg-white-transp-20" }, ht = { class: "t-medium mn-r-auto" }, bt = /* @__PURE__ */ i(() => /* @__PURE__ */ t("span", { class: "p-small t-transp" }, "Estimated Arrival", -1)), vt = /* @__PURE__ */ i(() => /* @__PURE__ */ t("br", null, null, -1)), ft = /* @__PURE__ */ i(() => /* @__PURE__ */ t("p", { class: "t-medium p-medium mn-b-thin" }, " Positions ", -1)), gt = { class: "bg-light pd-small radius-small flex gap-thin flex-column mn-b-semi" }, wt = {
25
25
  key: 1,
26
26
  class: "gap-thin cols-2"
27
- }, yt = { class: "w-100" }, kt = { class: "mn-b-thin bg-light w-100 o-hidden radius-medium" }, xt = { class: "pd-small flex-nowrap flex" }, Ct = { class: "mn-r-auto" }, Ot = /* @__PURE__ */ i(() => /* @__PURE__ */ t("span", { class: "d-block t-medium p-medium" }, "Order is", -1)), St = /* @__PURE__ */ i(() => /* @__PURE__ */ t("span", { class: "t-lh-075 h2 d-block mn-b-small" }, "created", -1)), Nt = { class: "pd-t-nano pd-b-nano pd-r-thin pd-l-thin radius-extra bg-black t-white w-max" }, Pt = { class: "pd-small cols-2 br-t br-black-transp-10 br-solid" }, It = /* @__PURE__ */ i(() => /* @__PURE__ */ t("p", { class: "w-100 t-medium p-medium" }, " Phone ", -1)), Dt = { class: "w-100 t-right" }, Mt = { class: "pd-small cols-2 br-t br-black-transp-10 br-solid" }, $t = /* @__PURE__ */ i(() => /* @__PURE__ */ t("p", { class: "t-medium p-medium" }, " Address ", -1)), zt = { class: "w-100 t-right" }, Et = { class: "pd-small cols-2 br-t br-black-transp-10 br-solid" }, Vt = /* @__PURE__ */ i(() => /* @__PURE__ */ t("p", { class: "mn-b-small t-medium p-medium" }, " Delivery ", -1)), Bt = { class: "w-100 t-right mn-b-small" }, At = {
27
+ }, yt = { class: "w-100" }, kt = { class: "mn-b-thin bg-light w-100 o-hidden radius-medium" }, xt = { class: "pd-small flex-nowrap flex" }, Ct = { class: "mn-r-auto" }, Ot = /* @__PURE__ */ i(() => /* @__PURE__ */ t("span", { class: "d-block t-medium p-medium" }, "Order is", -1)), St = /* @__PURE__ */ i(() => /* @__PURE__ */ t("span", { class: "t-lh-075 h2 d-block mn-b-small" }, "created", -1)), Nt = { class: "pd-t-nano pd-b-nano pd-r-thin pd-l-thin radius-extra bg-black t-white w-max" }, Pt = { class: "pd-small cols-2 br-t br-black-transp-10 br-solid" }, It = /* @__PURE__ */ i(() => /* @__PURE__ */ t("p", { class: "w-100 t-medium p-medium" }, " Phone ", -1)), Dt = { class: "w-100 t-right" }, Mt = { class: "pd-small cols-2 br-t br-black-transp-10 br-solid" }, $t = /* @__PURE__ */ i(() => /* @__PURE__ */ t("p", { class: "t-medium p-medium" }, " Address ", -1)), zt = { class: "w-100 t-right" }, Vt = { class: "pd-small cols-2 br-t br-black-transp-10 br-solid" }, Et = /* @__PURE__ */ i(() => /* @__PURE__ */ t("p", { class: "mn-b-small t-medium p-medium" }, " Delivery ", -1)), Bt = { class: "w-100 t-right mn-b-small" }, At = {
28
28
  key: 2,
29
29
  class: "t-transp"
30
- }, Rt = { class: "bg-light radius-big pd-medium mn-r-bold pd-r-big br-right-dark w-100" }, Ft = /* @__PURE__ */ i(() => /* @__PURE__ */ t("h3", { class: "mn-b-small" }, "Order Summary", -1)), Lt = { class: "flex gap-thin flex-column mn-b-semi" }, Tt = { class: "mn-b-medium radius-small br-solid br-1px br-black-transp-10 w-100" }, Ut = { class: "pd-small br-solid br-b br-black-transp-10 flex" }, qt = /* @__PURE__ */ i(() => /* @__PURE__ */ t("p", { class: "mn-r-auto t-transp" }, "In total", -1)), Ht = { class: "pd-small br-solid br-b br-black-transp-10 flex" }, Wt = /* @__PURE__ */ i(() => /* @__PURE__ */ t("p", { class: "mn-r-auto t-transp" }, "Delivery", -1)), jt = { class: "pd-small flex-bottom flex" }, Gt = /* @__PURE__ */ i(() => /* @__PURE__ */ t("p", { class: "mn-r-auto t-transp" }, "In total to pay", -1)), Jt = { class: "p-big t-semi" }, Kt = /* @__PURE__ */ i(() => /* @__PURE__ */ t("h3", { class: "mn-b-small" }, "Chat With Us", -1)), Qt = {
30
+ }, Rt = { class: "bg-light radius-big pd-medium mn-r-bold pd-r-big br-right-dark w-100" }, Ft = /* @__PURE__ */ i(() => /* @__PURE__ */ t("h3", { class: "mn-b-small" }, "Order Summary", -1)), Ht = { class: "flex gap-thin flex-column mn-b-semi" }, Lt = { class: "mn-b-medium radius-small br-solid br-1px br-black-transp-10 w-100" }, Tt = { class: "pd-small br-solid br-b br-black-transp-10 flex" }, Ut = /* @__PURE__ */ i(() => /* @__PURE__ */ t("p", { class: "mn-r-auto t-transp" }, "In total", -1)), qt = { class: "pd-small br-solid br-b br-black-transp-10 flex" }, Wt = /* @__PURE__ */ i(() => /* @__PURE__ */ t("p", { class: "mn-r-auto t-transp" }, "Delivery", -1)), jt = { class: "pd-small flex-bottom flex" }, Gt = /* @__PURE__ */ i(() => /* @__PURE__ */ t("p", { class: "mn-r-auto t-transp" }, "In total to pay", -1)), Jt = { class: "p-big t-semi" }, Kt = /* @__PURE__ */ i(() => /* @__PURE__ */ t("h3", { class: "mn-b-small" }, "Chat With Us", -1)), Qt = {
31
31
  __name: "OrderBackoffice",
32
32
  setup(k) {
33
33
  K();
34
34
  const w = Q(), e = f(null), O = f(null), r = f(null), d = ["created", "confirmed", "packing", "in delivery", "delivered"], M = ["Created", "Confirmed", "Packing", "In Delivery", "Delivered"], S = (s) => d.slice(s).includes(e.value.status), N = f(!1), $ = f(null), P = f([]);
35
- function q(s) {
35
+ function U(s) {
36
36
  N.value = !0, typeof s == "number" && ($.value = s);
37
37
  }
38
38
  function z() {
@@ -40,7 +40,7 @@ const i = (k) => (G("data-v-75357432"), k = k(), J(), k), ot = {
40
40
  }
41
41
  W(async () => {
42
42
  var a, o;
43
- e.value = await U.read({ _id: w.params.order }), e.value = e.value[0], O.value = await lt.read({
43
+ e.value = await T.read({ _id: w.params.order }), e.value = e.value[0], O.value = await lt.read({
44
44
  organization: e.value.owner.target._id,
45
45
  limit: 1e3
46
46
  }), console.log(O.value);
@@ -59,7 +59,7 @@ const i = (k) => (G("data-v-75357432"), k = k(), J(), k), ot = {
59
59
  location: (o = at.position) == null ? void 0 : o.location
60
60
  });
61
61
  });
62
- let E = R(() => {
62
+ let V = R(() => {
63
63
  var s;
64
64
  return Number((s = e.value) == null ? void 0 : s.positions.reduce((a, o) => a + o.price * o.quantity, 0));
65
65
  });
@@ -71,13 +71,13 @@ const i = (k) => (G("data-v-75357432"), k = k(), J(), k), ot = {
71
71
  const a = d.indexOf(s);
72
72
  return a !== -1 && a + 1 < d.length ? d[a + 1] : null;
73
73
  }
74
- function V(s) {
74
+ function E(s) {
75
75
  const a = d.indexOf(s);
76
76
  return s ? M[a] : "";
77
77
  }
78
- async function H() {
78
+ async function q() {
79
79
  const s = y(g.current.status);
80
- s ? (g.current.status = s, await U.update(g.current)) : console.error("Next status is void. Must handle somehow."), z();
80
+ s ? (g.current.status = s, await T.update(g.current)) : console.error("Next status is void. Must handle somehow."), z();
81
81
  }
82
82
  return (s, a) => {
83
83
  var o, p, _, h, B, A;
@@ -95,7 +95,7 @@ const i = (k) => (G("data-v-75357432"), k = k(), J(), k), ot = {
95
95
  class: "w-20"
96
96
  }, [
97
97
  t("div", {
98
- class: L([
98
+ class: H([
99
99
  "bg-light br-anim br-glow radius-extra h-1r w-100",
100
100
  { "br-glow-anim": S(c) },
101
101
  { "t-transp": !S(c) },
@@ -103,7 +103,7 @@ const i = (k) => (G("data-v-75357432"), k = k(), J(), k), ot = {
103
103
  ])
104
104
  }, null, 2),
105
105
  t("div", {
106
- class: L([{ "t-transp": !S(c) }, "mn-t-thin p-small t-medium uppercase"])
106
+ class: H([{ "t-transp": !S(c) }, "mn-t-thin p-small t-medium uppercase"])
107
107
  }, l(M[c]), 3)
108
108
  ])), 64))
109
109
  ])
@@ -122,9 +122,9 @@ const i = (k) => (G("data-v-75357432"), k = k(), J(), k), ot = {
122
122
  ]),
123
123
  y(e.value.status) && v(w).name === "Order Edit" ? (n(), m("button", {
124
124
  key: 0,
125
- onClick: q,
125
+ onClick: U,
126
126
  class: "mn-l-auto bg-black t-white button"
127
- }, " Mark as " + l(V(y(e.value.status))), 1)) : b("", !0)
127
+ }, " Mark as " + l(E(y(e.value.status))), 1)) : b("", !0)
128
128
  ]),
129
129
  x(Y, {
130
130
  title: "Change status",
@@ -142,16 +142,16 @@ const i = (k) => (G("data-v-75357432"), k = k(), J(), k), ot = {
142
142
  }, null, 8, ["modelValue"]),
143
143
  ft,
144
144
  t("ul", gt, [
145
- (n(!0), m(I, null, D(P.value, (u, c) => (n(), C(T, {
145
+ (n(!0), m(I, null, D(P.value, (u, c) => (n(), C(L, {
146
146
  key: u._id,
147
147
  editable: !1,
148
148
  product: u
149
149
  }, null, 8, ["product"]))), 128))
150
150
  ]),
151
151
  t("button", {
152
- onClick: H,
152
+ onClick: q,
153
153
  class: "w-100 bg-black-small t-white button"
154
- }, l("Confirm Changing to " + V(y(e.value.status))), 1)
154
+ }, l("Confirm Changing to " + E(y(e.value.status))), 1)
155
155
  ]),
156
156
  _: 1
157
157
  }, 8, ["isPopupOpen"]),
@@ -181,8 +181,8 @@ const i = (k) => (G("data-v-75357432"), k = k(), J(), k), ot = {
181
181
  $t,
182
182
  t("p", zt, l(e.value.delivery.address ? e.value.delivery.address.slice(0, 64) : "Not specified"), 1)
183
183
  ]),
184
- t("div", Et, [
185
- Vt,
184
+ t("div", Vt, [
185
+ Et,
186
186
  t("p", Bt, l(e.value.delivery.type ? e.value.delivery.type : "Not specified"), 1)
187
187
  ])
188
188
  ]),
@@ -197,25 +197,25 @@ const i = (k) => (G("data-v-75357432"), k = k(), J(), k), ot = {
197
197
  ]),
198
198
  t("div", Rt, [
199
199
  Ft,
200
- t("ul", Lt, [
201
- (n(!0), m(I, null, D(P.value, (u, c) => (n(), C(T, {
200
+ t("ul", Ht, [
201
+ (n(!0), m(I, null, D(P.value, (u, c) => (n(), C(L, {
202
202
  key: u._id,
203
203
  editable: !1,
204
204
  product: u
205
205
  }, null, 8, ["product"]))), 128))
206
206
  ]),
207
- t("div", Tt, [
208
- t("div", Ut, [
209
- qt,
210
- t("p", null, l(v(E)) + " " + l(s.returnCurrency()), 1)
207
+ t("div", Lt, [
208
+ t("div", Tt, [
209
+ Ut,
210
+ t("p", null, l(v(V)) + " " + l(s.returnCurrency()), 1)
211
211
  ]),
212
- t("div", Ht, [
212
+ t("div", qt, [
213
213
  Wt,
214
214
  t("p", null, l(s.returnCurrency()) + " " + l(Math.trunc(100 + 20 * ((p = r.value[0]) == null ? void 0 : p.distance) - 7, 5 * (((_ = r.value[0]) == null ? void 0 : _.distance) / 10))), 1)
215
215
  ]),
216
216
  t("div", jt, [
217
217
  Gt,
218
- t("p", Jt, l(s.returnCurrency()) + " " + l(Math.trunc(100 + 20 * ((h = r.value[0]) == null ? void 0 : h.distance) - 7, 5 * (((B = r.value[0]) == null ? void 0 : B.distance) / 10)) + v(E)), 1)
218
+ t("p", Jt, l(s.returnCurrency()) + " " + l(Math.trunc(100 + 20 * ((h = r.value[0]) == null ? void 0 : h.distance) - 7, 5 * (((B = r.value[0]) == null ? void 0 : B.distance) / 10)) + v(V)), 1)
219
219
  ])
220
220
  ]),
221
221
  Kt,
@@ -1 +1 @@
1
- "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vue"),C=require("../blocks/CardOrderItem.vue.cjs"),N=require("../sections/AskToLogin.vue.cjs"),q=require("../sections/Succes.vue.cjs"),E=require("../sections/EmptyState.vue.cjs"),S=require("../sections/FormCustomerDetails.vue.cjs"),w=require("../sections/FormDelivery.vue.cjs"),P=require("../sections/FormPayment.vue.cjs"),g=require("vue-router"),D=require("../../../globals/store/globals.cjs"),i=require("../../../auth/store/auth.cjs"),s=require("../../store/shopcart.cjs"),y=require("../../../organizations/store/organizations.cjs"),t=require("../../store/orders.cjs"),O=require("../../../users/store/users.cjs");require("./OrderCreate.vue2.cjs");const T={class:"pd-thin"},M={class:"gap-small mn-b-thin cols-2"},z={key:2,class:"order-form col"},F={key:3,class:"bg-light pd-medium radius-big"},I=e.createElementVNode("h4",{class:"font-second mn-b-thin"},"Your Order",-1),R={class:"flex gap-thin flex-wrap mn-b-thin"},A={class:"bg-main pd-thin radius-medium mn-b-thin"},L={class:"pd-small br-b br-solid br-black-transp-10"},Q={class:"pd-small br-b br-solid br-black-transp-10"},U={class:"pd-small h3"},j=["disabled"],Y=e.createElementVNode("p",{class:"mn-b-thin"},[e.createTextVNode(" I agree that placing the order places me under an obligation to make a payment in accordance with "),e.createElementVNode("a",{class:"t-semi font-second t-second",href:"/legal/terms-of-use",target:"_blank"},"Terms of Use.")],-1),$=e.createElementVNode("p",null,null,-1),x={__name:"OrderCreate",setup(G){g.useRoute();const v=g.useRouter(),d=e.computed(()=>t.state.current);e.computed(()=>O.state.current);const c=e.computed(()=>s.getters.cartTotalPrice),l=e.computed(()=>{var r;if(t.state.current.delivery.type==="pickup")return 0;if(t.state.current.delivery.type==="mail")return 350;if(t.state.current.delivery.type==="courier"){const o=((r=u.value[0])==null?void 0:r.distance)||0;return Math.trunc(100+20*o-7.5*(o/10))}return 0});e.computed(()=>l.value+c.value.value);const u=e.ref({});e.onMounted(async()=>{var r;u.value=await y.actions.read({_id:s.state.organization,location:(r=D.state.position)==null?void 0:r.location})}),e.watch(()=>t.state.current.delivery.address,async(r,o)=>{u.value=await y.actions.read({_id:s.state.organization,location:t.state.current.delivery.location})},{deep:!0});const _=e.computed(()=>{var r;return((r=t.state.current.customer.name)==null?void 0:r.length)<2}),k=e.computed(()=>{var a,m,p,h;const r=(a=t.state.current.customer.messenger)==null?void 0:a.type,o=((p=(m=t.state.current.customer.messenger)==null?void 0:m.value)==null?void 0:p.length)>2;return!(((h=t.state.current.customer.number)==null?void 0:h.length)>0)&&!(r&&o)}),f=e.computed(()=>t.state.current.delivery.type!=="Pickup"&&t.state.current.delivery.address<2),b=e.computed(()=>!t.state.current.delivery.type),V=e.computed(()=>!t.state.current.payment.type);async function B(){t.state.current.status="created",t.state.current.owner={target:s.state.organization,type:"organization"},i.state.user._id&&(t.state.current.creator={target:i.state.user._id,type:"User"}),t.state.current.positions=s.state.positions;const r=localStorage.getItem("referalCode");r&&(t.state.current.referralCode=r);let o=await t.actions.create(t.state.current);o?(s.actions.resetShopcart(),v.push({name:"Order Status",params:{order:o._id}})):alert("something wrong")}return(r,o)=>(e.openBlock(),e.createElementBlock("section",T,[i.state.access.status===!1?(e.openBlock(),e.createBlock(N.default,{key:0,class:"mn-b-thin"})):e.createCommentVNode("",!0),e.createElementVNode("div",M,[s.state.positions<1?(e.openBlock(),e.createBlock(E.default,{key:0})):e.createCommentVNode("",!0),d.value.status===!0&&s.state.positions.length>0?(e.openBlock(),e.createBlock(q.default,{key:1,order:d.value},null,8,["order"])):e.createCommentVNode("",!0),t.state.current.status!==!0&&s.state.positions.length>0?(e.openBlock(),e.createElementBlock("div",z,[e.createVNode(S.default,{customer:t.state.current.customer},null,8,["customer"]),t.state.current.status!==!0&&s.state.positions.length>0?(e.openBlock(),e.createBlock(w.default,{key:0,order:t.state.current},null,8,["order"])):e.createCommentVNode("",!0),t.state.current.status!==!0&&s.state.positions.length>0?(e.openBlock(),e.createBlock(P.default,{key:1,order:t.state.current},null,8,["order"])):e.createCommentVNode("",!0)])):e.createCommentVNode("",!0),s.state.positions.length>0?(e.openBlock(),e.createElementBlock("div",F,[I,e.createElementVNode("ul",R,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(s.state.positions,n=>(e.openBlock(),e.createBlock(C.default,{key:n._id,editable:!0,product:n,increase:a=>s.actions.incrementItemQuantity(a._id),decrease:a=>s.actions.decrementItemQuantity(a._id),remove:a=>s.actions.removeProduct(a._id),class:"w-100 bg-white pd-small radius-medium"},null,8,["product","increase","decrease","remove"]))),128))]),e.createElementVNode("div",A,[e.createElementVNode("p",L," Subtotal: "+e.toDisplayString(r.returnCurrency())+" "+e.toDisplayString(c.value),1),e.createElementVNode("p",Q," Delivery: "+e.toDisplayString(r.returnCurrency())+" "+e.toDisplayString(l.value),1),e.createElementVNode("p",U," Total: "+e.toDisplayString(r.returnCurrency())+" "+e.toDisplayString(l.value+c.value.value),1)]),t.state.current.status!==!0&&s.state.positions.length>0?(e.openBlock(),e.createElementBlock("button",{key:0,disabled:_.value||k.value||r.errorCity||f.value||b.value||V.value,onClick:o[0]||(o[0]=n=>B()),class:"bg-main mn-b-small pd-small radius-big w-100 button"}," Place an Order ",8,j)):e.createCommentVNode("",!0),Y,$])):e.createCommentVNode("",!0)])]))}};exports.default=x;
1
+ "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vue"),C=require("../blocks/CardOrderItem.vue.cjs"),N=require("../sections/AskToLogin.vue.cjs"),q=require("../sections/Succes.vue.cjs"),E=require("../sections/EmptyState.vue.cjs"),S=require("../sections/FormCustomerDetails.vue.cjs"),w=require("../sections/FormDelivery.vue.cjs"),P=require("../sections/FormPayment.vue.cjs"),g=require("vue-router"),D=require("../../../globals/store/globals.cjs"),i=require("../../../auth/store/auth.cjs"),s=require("../../store/shopcart.cjs"),y=require("../../../organizations/store/organizations.cjs"),t=require("../../store/orders.cjs"),O=require("../../../users/store/users.cjs");;/* empty css */const T={class:"pd-thin"},M={class:"gap-small mn-b-thin cols-2"},z={key:2,class:"order-form col"},F={key:3,class:"bg-light pd-medium radius-big"},I=e.createElementVNode("h4",{class:"font-second mn-b-thin"},"Your Order",-1),R={class:"flex gap-thin flex-wrap mn-b-thin"},A={class:"bg-main pd-thin radius-medium mn-b-thin"},L={class:"pd-small br-b br-solid br-black-transp-10"},Q={class:"pd-small br-b br-solid br-black-transp-10"},U={class:"pd-small h3"},j=["disabled"],Y=e.createElementVNode("p",{class:"mn-b-thin"},[e.createTextVNode(" I agree that placing the order places me under an obligation to make a payment in accordance with "),e.createElementVNode("a",{class:"t-semi font-second t-second",href:"/legal/terms-of-use",target:"_blank"},"Terms of Use.")],-1),$=e.createElementVNode("p",null,null,-1),x={__name:"OrderCreate",setup(G){g.useRoute();const v=g.useRouter(),d=e.computed(()=>t.state.current);e.computed(()=>O.state.current);const c=e.computed(()=>s.getters.cartTotalPrice),l=e.computed(()=>{var r;if(t.state.current.delivery.type==="pickup")return 0;if(t.state.current.delivery.type==="mail")return 350;if(t.state.current.delivery.type==="courier"){const o=((r=u.value[0])==null?void 0:r.distance)||0;return Math.trunc(100+20*o-7.5*(o/10))}return 0});e.computed(()=>l.value+c.value.value);const u=e.ref({});e.onMounted(async()=>{var r;u.value=await y.actions.read({_id:s.state.organization,location:(r=D.state.position)==null?void 0:r.location})}),e.watch(()=>t.state.current.delivery.address,async(r,o)=>{u.value=await y.actions.read({_id:s.state.organization,location:t.state.current.delivery.location})},{deep:!0});const _=e.computed(()=>{var r;return((r=t.state.current.customer.name)==null?void 0:r.length)<2}),k=e.computed(()=>{var a,m,p,h;const r=(a=t.state.current.customer.messenger)==null?void 0:a.type,o=((p=(m=t.state.current.customer.messenger)==null?void 0:m.value)==null?void 0:p.length)>2;return!(((h=t.state.current.customer.number)==null?void 0:h.length)>0)&&!(r&&o)}),f=e.computed(()=>t.state.current.delivery.type!=="Pickup"&&t.state.current.delivery.address<2),b=e.computed(()=>!t.state.current.delivery.type),V=e.computed(()=>!t.state.current.payment.type);async function B(){t.state.current.status="created",t.state.current.owner={target:s.state.organization,type:"organization"},i.state.user._id&&(t.state.current.creator={target:i.state.user._id,type:"User"}),t.state.current.positions=s.state.positions;const r=localStorage.getItem("referalCode");r&&(t.state.current.referralCode=r);let o=await t.actions.create(t.state.current);o?(s.actions.resetShopcart(),v.push({name:"Order Status",params:{order:o._id}})):alert("something wrong")}return(r,o)=>(e.openBlock(),e.createElementBlock("section",T,[i.state.access.status===!1?(e.openBlock(),e.createBlock(N.default,{key:0,class:"mn-b-thin"})):e.createCommentVNode("",!0),e.createElementVNode("div",M,[s.state.positions<1?(e.openBlock(),e.createBlock(E.default,{key:0})):e.createCommentVNode("",!0),d.value.status===!0&&s.state.positions.length>0?(e.openBlock(),e.createBlock(q.default,{key:1,order:d.value},null,8,["order"])):e.createCommentVNode("",!0),t.state.current.status!==!0&&s.state.positions.length>0?(e.openBlock(),e.createElementBlock("div",z,[e.createVNode(S.default,{customer:t.state.current.customer},null,8,["customer"]),t.state.current.status!==!0&&s.state.positions.length>0?(e.openBlock(),e.createBlock(w.default,{key:0,order:t.state.current},null,8,["order"])):e.createCommentVNode("",!0),t.state.current.status!==!0&&s.state.positions.length>0?(e.openBlock(),e.createBlock(P.default,{key:1,order:t.state.current},null,8,["order"])):e.createCommentVNode("",!0)])):e.createCommentVNode("",!0),s.state.positions.length>0?(e.openBlock(),e.createElementBlock("div",F,[I,e.createElementVNode("ul",R,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(s.state.positions,n=>(e.openBlock(),e.createBlock(C.default,{key:n._id,editable:!0,product:n,increase:a=>s.actions.incrementItemQuantity(a._id),decrease:a=>s.actions.decrementItemQuantity(a._id),remove:a=>s.actions.removeProduct(a._id),class:"w-100 bg-white pd-small radius-medium"},null,8,["product","increase","decrease","remove"]))),128))]),e.createElementVNode("div",A,[e.createElementVNode("p",L," Subtotal: "+e.toDisplayString(r.returnCurrency())+" "+e.toDisplayString(c.value),1),e.createElementVNode("p",Q," Delivery: "+e.toDisplayString(r.returnCurrency())+" "+e.toDisplayString(l.value),1),e.createElementVNode("p",U," Total: "+e.toDisplayString(r.returnCurrency())+" "+e.toDisplayString(l.value+c.value.value),1)]),t.state.current.status!==!0&&s.state.positions.length>0?(e.openBlock(),e.createElementBlock("button",{key:0,disabled:_.value||k.value||r.errorCity||f.value||b.value||V.value,onClick:o[0]||(o[0]=n=>B()),class:"bg-main mn-b-small pd-small radius-big w-100 button"}," Place an Order ",8,j)):e.createCommentVNode("",!0),Y,$])):e.createCommentVNode("",!0)])]))}};exports.default=x;
@@ -13,7 +13,7 @@ import { getters as G, state as t, actions as p } from "../../store/shopcart.js"
13
13
  import { actions as $ } from "../../../organizations/store/organizations.js";
14
14
  import { state as e, actions as H } from "../../store/orders.js";
15
15
  import { state as J } from "../../../users/store/users.js";
16
- import "./OrderCreate.vue2.js";
16
+ /* empty css */
17
17
  const K = { class: "pd-thin" }, W = { class: "gap-small mn-b-thin cols-2" }, X = {
18
18
  key: 2,
19
19
  class: "order-form col"
@@ -35,10 +35,8 @@ const K = { class: "pd-thin" }, W = { class: "gap-small mn-b-thin cols-2" }, X =
35
35
  o(() => J.current);
36
36
  const f = o(() => G.cartTotalPrice), _ = o(() => {
37
37
  var r;
38
- if (e.current.delivery.type === "pickup")
39
- return 0;
40
- if (e.current.delivery.type === "mail")
41
- return 350;
38
+ if (e.current.delivery.type === "pickup") return 0;
39
+ if (e.current.delivery.type === "mail") return 350;
42
40
  if (e.current.delivery.type === "courier") {
43
41
  const s = ((r = h.value[0]) == null ? void 0 : r.distance) || 0;
44
42
  return Math.trunc(100 + 20 * s - 7.5 * (s / 10));
@@ -1 +1 @@
1
- "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vue"),h=require("vue-router");require("../../../../components/Field/Field.vue.cjs");const P=require("../../../../components/Button/Button.vue2.cjs"),q=require("../../../../components/Tab/Tab.vue2.cjs"),k=require("../../../../components/Popup/Popup.vue.cjs"),u=require("../../../../components/Block/Block.vue.cjs"),b=require("../../../../components/Feed/Feed.vue.cjs"),_=require("../blocks/CardOrderItem.vue.cjs");require("../../../../components/Select/Select.vue2.cjs");require("../../../../components/SelectMulti/SelectMulti.vue2.cjs");const C=require("../../../users/components/blocks/CardUser.vue.cjs"),V=require("../sections/FormAddCustomer.vue.cjs"),O=require("../sections/FormDelivery.vue.cjs"),E=require("../sections/FormPayment.vue.cjs"),l=require("../../../globals/store/globals.cjs"),F=require("../../../auth/store/auth.cjs"),t=require("../../store/orders.cjs"),S=require("../../../products/store/products.cjs"),D=require("../../store/customers.store.cjs");require("./OrderCreateBackoffice.vue2.cjs");const R={class:"h-100 flex flex-column pd-thin"},T={class:"flex-v-center flex-nowrap flex"},A=e.createElementVNode("h2",{class:"mn-r-auto"},"Create Order",-1),I=e.createElementVNode("h3",{class:"mn-b-small"},"Add to order",-1),z={class:"bg-light h-max-100 mn-b-thin o-scroll pd-medium radius-big"},L={key:0,class:"w-100"},M={class:"h3 flex"},U=e.createElementVNode("span",{class:"mn-r-auto t-transp"},"In total",-1),j={__name:"OrderCreateBackoffice",setup(G){const a=h.useRoute(),g=h.useRouter();t.mutations.resetOrder(t.state.current);let v=e.computed(()=>Number(t.state.current.positions.reduce((d,n)=>d+n.price*n.quantity,0)));const s=e.ref("positions"),c=e.ref(!1);function y(){c.value=!0}function m(){c.value=!1}const i=e.ref(!1);function B(){i.value=!0}function p(){i.value=!1}e.ref(null);function w(){t.state.current.creator={type:"User",target:F.state.user._id},t.state.current.owner={type:"Organization",target:a.params._id},t.state.current.customer={type:"Customer",target:t.state.current.customer._id||null},t.actions.create(t.state.current)}function x(){g.push({name:"Backoffice Orders",params:{_id:a.params._id}})}return e.onMounted(()=>{}),(d,n)=>(e.openBlock(),e.createElementBlock("div",R,[e.createVNode(u.default,{class:"mn-b-thin"},{default:e.withCtx(()=>[e.createElementVNode("header",T,[A,e.createVNode(P.default,{submit:w,callback:x,class:"pd-small radius-big bg-main t-black uppercase t-medium"},{default:e.withCtx(()=>[e.createTextVNode(" Add Order ")]),_:1})])]),_:1}),e.createVNode(q.default,{selected:s.value,"onUpdate:selected":n[0]||(n[0]=r=>s.value=r),tabs:[{name:"Positions",value:"positions"},{name:"Customer",value:"customer"},{name:"Delivery",value:"delivery"},{name:"Payment",value:"payment"}],class:"t-medium radius-medium bg-light mn-b-small"},null,8,["selected"]),e.createVNode(k.default,{onClosePopup:m,isPopupOpen:c.value,class:"bg-white w-min-30r w-max-30r h-max-100 flex flex-column radius-big pd-medium pos-relative"},{default:e.withCtx(()=>[I,e.createElementVNode("div",z,[e.createVNode(b.default,{search:{placeholder:"Search products...",class:"bg-white mn-b-thin"},states:{empty:{title:"No Products Found",description:"Currently, there are no such products available."}},store:{read:r=>S.actions.read(r),state:null},options:{organization:e.unref(a).params._id},class:""},{default:e.withCtx(({items:r})=>[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(r,(o,N)=>(e.openBlock(),e.createBlock(_.default,{key:o._id,editable:!1,product:o,onClick:()=>{let f={...o};f.quantity=1,l.actions.add(t.state.current.positions,f),m()},class:"bg-white pd-thin radius-medium w-100 mn-b-thin"},null,8,["product","onClick"]))),128))]),_:1},8,["store","options"])])]),_:1},8,["isPopupOpen"]),s.value==="positions"?(e.openBlock(),e.createBlock(u.default,{key:0,title:"Positions",actions:[{label:"+",function:()=>y()}],class:"mn-b-small"},{default:e.withCtx(()=>[t.state.current.positions.length===0?(e.openBlock(),e.createElementBlock("span",L," No positions added yet ")):e.createCommentVNode("",!0),(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(t.state.current.positions,(r,o)=>(e.openBlock(),e.createBlock(_.default,{key:r._id,editable:!0,product:r,onIncrease:()=>{l.actions.increment(t.state.current.positions,r)},onDecrease:()=>{l.actions.decrement(t.state.current.positions,r)},onRemove:()=>{l.actions.delete(t.state.current.positions,r)},class:"mn-b-thin pd-thin radius-medium bg-white"},null,8,["product","onIncrease","onDecrease","onRemove"]))),128))]),_:1},8,["actions"])):e.createCommentVNode("",!0),s.value==="customer"?(e.openBlock(),e.createBlock(u.default,{key:1,title:"Customer",class:"mn-b-semi",actions:[{label:"+",function:()=>B()}]},{default:e.withCtx(()=>[t.state.current.customer._id?(e.openBlock(),e.createBlock(C.default,{key:0,user:t.state.current.customer,photo:t.state.current.customer.profile.photo,name:t.state.current.customer.profile.name||t.state.current.customer.phone||t.state.current.customer.email,onClick:n[1]||(n[1]=()=>{t.mutations.resetCustomer(t.state.current.customer)}),class:"bg-white pd-thin radius-medium w-100 mn-b-thin"},null,8,["user","photo","name"])):(e.openBlock(),e.createBlock(b.default,{key:1,search:{placeholder:"Search customer...",class:"bg-white mn-b-thin"},states:{empty:{title:"No Products Found",description:"Currently, there are no such products available."}},store:{read:r=>e.unref(D.default).read(r),state:null},options:{owner:e.unref(a).params._id},class:"bg-light h-max-20r o-scroll"},{default:e.withCtx(({items:r})=>[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(r,(o,N)=>(e.openBlock(),e.createBlock(C.default,{key:o._id,user:o,photo:o.profile.photo,name:o.profile.name||o.phone||o.email,onClick:()=>{t.state.current.customer=o},class:"bg-white pd-thin radius-medium w-100 mn-b-thin"},null,8,["user","photo","name","onClick"]))),128))]),_:1},8,["store","options"]))]),_:1},8,["actions"])):e.createCommentVNode("",!0),s.value==="delivery"?(e.openBlock(),e.createBlock(O.default,{key:2,order:t.state.current},null,8,["order"])):e.createCommentVNode("",!0),s.value==="payment"?(e.openBlock(),e.createBlock(E.default,{key:3,order:t.state.current},null,8,["order"])):e.createCommentVNode("",!0),e.createVNode(k.default,{title:"Add customer",onClosePopup:p,isPopupOpen:i.value,class:e.normalizeClass("bg-white w-min-30r w-max-30r radius-big pd-medium")},{default:e.withCtx(()=>[e.createVNode(V.default,{onCallbackCustomer:p})]),_:1},8,["isPopupOpen"]),e.createVNode(u.default,{class:"mn-b-semi"},{default:e.withCtx(()=>[e.createElementVNode("div",M,[U,e.createElementVNode("span",null,e.toDisplayString(e.unref(v))+" "+e.toDisplayString(d.returnCurrency()),1)])]),_:1})]))}};exports.default=j;
1
+ "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vue"),h=require("vue-router");;/* empty css */const P=require("../../../../components/Button/Button.vue.cjs"),q=require("../../../../components/Tab/Tab.vue2.cjs"),k=require("../../../../components/Popup/Popup.vue.cjs"),u=require("../../../../components/Block/Block.vue.cjs"),b=require("../../../../components/Feed/Feed.vue.cjs"),_=require("../blocks/CardOrderItem.vue.cjs");;/* empty css */;/* empty css */const C=require("../../../users/components/blocks/CardUser.vue.cjs"),V=require("../sections/FormAddCustomer.vue.cjs"),O=require("../sections/FormDelivery.vue.cjs"),E=require("../sections/FormPayment.vue.cjs"),l=require("../../../globals/store/globals.cjs"),F=require("../../../auth/store/auth.cjs"),t=require("../../store/orders.cjs"),S=require("../../../products/store/products.cjs"),D=require("../../store/customers.store.cjs");;/* empty css */const R={class:"h-100 flex flex-column pd-thin"},T={class:"flex-v-center flex-nowrap flex"},A=e.createElementVNode("h2",{class:"mn-r-auto"},"Create Order",-1),I=e.createElementVNode("h3",{class:"mn-b-small"},"Add to order",-1),z={class:"bg-light h-max-100 mn-b-thin o-scroll pd-medium radius-big"},L={key:0,class:"w-100"},M={class:"h3 flex"},U=e.createElementVNode("span",{class:"mn-r-auto t-transp"},"In total",-1),j={__name:"OrderCreateBackoffice",setup(G){const a=h.useRoute(),g=h.useRouter();t.mutations.resetOrder(t.state.current);let v=e.computed(()=>Number(t.state.current.positions.reduce((d,n)=>d+n.price*n.quantity,0)));const s=e.ref("positions"),c=e.ref(!1);function y(){c.value=!0}function m(){c.value=!1}const i=e.ref(!1);function B(){i.value=!0}function p(){i.value=!1}e.ref(null);function w(){t.state.current.creator={type:"User",target:F.state.user._id},t.state.current.owner={type:"Organization",target:a.params._id},t.state.current.customer={type:"Customer",target:t.state.current.customer._id||null},t.actions.create(t.state.current)}function x(){g.push({name:"Backoffice Orders",params:{_id:a.params._id}})}return e.onMounted(()=>{}),(d,n)=>(e.openBlock(),e.createElementBlock("div",R,[e.createVNode(u.default,{class:"mn-b-thin"},{default:e.withCtx(()=>[e.createElementVNode("header",T,[A,e.createVNode(P.default,{submit:w,callback:x,class:"pd-small radius-big bg-main t-black uppercase t-medium"},{default:e.withCtx(()=>[e.createTextVNode(" Add Order ")]),_:1})])]),_:1}),e.createVNode(q.default,{selected:s.value,"onUpdate:selected":n[0]||(n[0]=r=>s.value=r),tabs:[{name:"Positions",value:"positions"},{name:"Customer",value:"customer"},{name:"Delivery",value:"delivery"},{name:"Payment",value:"payment"}],class:"t-medium radius-medium bg-light mn-b-small"},null,8,["selected"]),e.createVNode(k.default,{onClosePopup:m,isPopupOpen:c.value,class:"bg-white w-min-30r w-max-30r h-max-100 flex flex-column radius-big pd-medium pos-relative"},{default:e.withCtx(()=>[I,e.createElementVNode("div",z,[e.createVNode(b.default,{search:{placeholder:"Search products...",class:"bg-white mn-b-thin"},states:{empty:{title:"No Products Found",description:"Currently, there are no such products available."}},store:{read:r=>S.actions.read(r),state:null},options:{organization:e.unref(a).params._id},class:""},{default:e.withCtx(({items:r})=>[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(r,(o,N)=>(e.openBlock(),e.createBlock(_.default,{key:o._id,editable:!1,product:o,onClick:()=>{let f={...o};f.quantity=1,l.actions.add(t.state.current.positions,f),m()},class:"bg-white pd-thin radius-medium w-100 mn-b-thin"},null,8,["product","onClick"]))),128))]),_:1},8,["store","options"])])]),_:1},8,["isPopupOpen"]),s.value==="positions"?(e.openBlock(),e.createBlock(u.default,{key:0,title:"Positions",actions:[{label:"+",function:()=>y()}],class:"mn-b-small"},{default:e.withCtx(()=>[t.state.current.positions.length===0?(e.openBlock(),e.createElementBlock("span",L," No positions added yet ")):e.createCommentVNode("",!0),(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(t.state.current.positions,(r,o)=>(e.openBlock(),e.createBlock(_.default,{key:r._id,editable:!0,product:r,onIncrease:()=>{l.actions.increment(t.state.current.positions,r)},onDecrease:()=>{l.actions.decrement(t.state.current.positions,r)},onRemove:()=>{l.actions.delete(t.state.current.positions,r)},class:"mn-b-thin pd-thin radius-medium bg-white"},null,8,["product","onIncrease","onDecrease","onRemove"]))),128))]),_:1},8,["actions"])):e.createCommentVNode("",!0),s.value==="customer"?(e.openBlock(),e.createBlock(u.default,{key:1,title:"Customer",class:"mn-b-semi",actions:[{label:"+",function:()=>B()}]},{default:e.withCtx(()=>[t.state.current.customer._id?(e.openBlock(),e.createBlock(C.default,{key:0,user:t.state.current.customer,photo:t.state.current.customer.profile.photo,name:t.state.current.customer.profile.name||t.state.current.customer.phone||t.state.current.customer.email,onClick:n[1]||(n[1]=()=>{t.mutations.resetCustomer(t.state.current.customer)}),class:"bg-white pd-thin radius-medium w-100 mn-b-thin"},null,8,["user","photo","name"])):(e.openBlock(),e.createBlock(b.default,{key:1,search:{placeholder:"Search customer...",class:"bg-white mn-b-thin"},states:{empty:{title:"No Products Found",description:"Currently, there are no such products available."}},store:{read:r=>e.unref(D.default).read(r),state:null},options:{owner:e.unref(a).params._id},class:"bg-light h-max-20r o-scroll"},{default:e.withCtx(({items:r})=>[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(r,(o,N)=>(e.openBlock(),e.createBlock(C.default,{key:o._id,user:o,photo:o.profile.photo,name:o.profile.name||o.phone||o.email,onClick:()=>{t.state.current.customer=o},class:"bg-white pd-thin radius-medium w-100 mn-b-thin"},null,8,["user","photo","name","onClick"]))),128))]),_:1},8,["store","options"]))]),_:1},8,["actions"])):e.createCommentVNode("",!0),s.value==="delivery"?(e.openBlock(),e.createBlock(O.default,{key:2,order:t.state.current},null,8,["order"])):e.createCommentVNode("",!0),s.value==="payment"?(e.openBlock(),e.createBlock(E.default,{key:3,order:t.state.current},null,8,["order"])):e.createCommentVNode("",!0),e.createVNode(k.default,{title:"Add customer",onClosePopup:p,isPopupOpen:i.value,class:e.normalizeClass("bg-white w-min-30r w-max-30r radius-big pd-medium")},{default:e.withCtx(()=>[e.createVNode(V.default,{onCallbackCustomer:p})]),_:1},8,["isPopupOpen"]),e.createVNode(u.default,{class:"mn-b-semi"},{default:e.withCtx(()=>[e.createElementVNode("div",M,[U,e.createElementVNode("span",null,e.toDisplayString(e.unref(v))+" "+e.toDisplayString(d.returnCurrency()),1)])]),_:1})]))}};exports.default=j;
@@ -1,14 +1,14 @@
1
1
  import { computed as T, ref as d, onMounted as q, openBlock as r, createElementBlock as m, createVNode as i, withCtx as s, createElementVNode as u, createTextVNode as E, unref as f, Fragment as g, renderList as C, createBlock as n, createCommentVNode as c, normalizeClass as U, toDisplayString as x } from "vue";
2
2
  import { useRoute as L, useRouter as M } from "vue-router";
3
- import "../../../../components/Field/Field.vue.js";
4
- import j from "../../../../components/Button/Button.vue2.js";
3
+ /* empty css */
4
+ import j from "../../../../components/Button/Button.vue.js";
5
5
  import G from "../../../../components/Tab/Tab.vue2.js";
6
6
  import O from "../../../../components/Popup/Popup.vue.js";
7
7
  import _ from "../../../../components/Block/Block.vue.js";
8
8
  import $ from "../../../../components/Feed/Feed.vue.js";
9
9
  import N from "../blocks/CardOrderItem.vue.js";
10
- import "../../../../components/Select/Select.vue2.js";
11
- import "../../../../components/SelectMulti/SelectMulti.vue2.js";
10
+ /* empty css */
11
+ /* empty css */
12
12
  import B from "../../../users/components/blocks/CardUser.vue.js";
13
13
  import H from "../sections/FormAddCustomer.vue.js";
14
14
  import J from "../sections/FormDelivery.vue.js";
@@ -18,7 +18,7 @@ import { state as Q } from "../../../auth/store/auth.js";
18
18
  import { mutations as D, state as e, actions as W } from "../../store/orders.js";
19
19
  import { actions as X } from "../../../products/store/products.js";
20
20
  import Y from "../../store/customers.store.js";
21
- import "./OrderCreateBackoffice.vue2.js";
21
+ /* empty css */
22
22
  const Z = { class: "h-100 flex flex-column pd-thin" }, ee = { class: "flex-v-center flex-nowrap flex" }, te = /* @__PURE__ */ u("h2", { class: "mn-r-auto" }, "Create Order", -1), re = /* @__PURE__ */ u("h3", { class: "mn-b-small" }, "Add to order", -1), oe = { class: "bg-light h-max-100 mn-b-thin o-scroll pd-medium radius-big" }, se = {
23
23
  key: 0,
24
24
  class: "w-100"
@@ -1 +1 @@
1
- "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vue"),p=require("vue-router");require("../../../../../node_modules/@vuepic/vue-datepicker/dist/vue-datepicker.cjs");require("../../../../../node_modules/@vuepic/vue-datepicker/dist/main.css.cjs");require("../../../../components/Tab/Tab.vue.cjs");const f=require("../../../../components/Block/Block.vue.cjs"),d=require("../../store/orders.cjs"),y=require("../../../auth/store/auth.cjs");require("../blocks/CardOrder.vue2.cjs");const N=require("../../../globals/components/blocks/CardHeader.vue.cjs"),b=require("../../../globals/components/sections/SectionPageTitle.vue.cjs"),V=require("../../../../components/Feed/Feed.vue.cjs"),E=require("../../../icons/entities/IconTime.vue.cjs"),k={class:"pd-thin"},w={class:"gap-micro flex-nowrap flex"},S={class:"w-100 bg-white radius-small pd-small"},D=e.createElementVNode("p",{class:"mn-b-thin"},"Total",-1),B={class:"w-100 bg-white radius-small pd-small"},x=e.createElementVNode("p",{class:"mn-b-thin"},"Paid",-1),C={class:"w-100 bg-white radius-small pd-small"},q=e.createElementVNode("p",{class:"mn-b-thin"},"Unpaid",-1),P={class:"mn-b-small pd-small bg-white radius-small flex-nowrap flex"},T={class:"w-100"},O={class:"mn-b-thin"},F={class:"t-truncate"},A={class:"w-100 t-right"},M={class:"mn-b-thin"},U={class:"cols-1 mn-b-small gap-thin pd-small bg-white radius-small"},L={class:"mn-r-auto"},R={class:"t-right"},z={class:"t-transp"},H={key:0},I={class:"mn-r-auto"},$={class:"t-right"},j={class:"t-transp"},G={class:"pd-small bg-white radius-small gap-micro flex-v-center flex-nowrap flex"},J={class:"t-medium mn-r-auto"},K={class:"flex-child flex-child-shrink-0 capitalize w-max t-medium radius-big pd-b-nano pd-t-nano pd-r-thin pd-l-thin bg-main"},Q=e.createElementVNode("span",{class:"flex-child flex-child-shrink-0 capitalize w-max t-medium radius-big pd-b-nano pd-t-nano pd-r-thin pd-l-thin t-white bg-red"}," Unpaid ",-1),W={key:0,class:"pos-relative radius-small bg-fifth-transp-10 mn-t-thin pd-small"},X=e.createElementVNode("p",{class:"mn-b-thin t-transp uppercase p-small t-medium"},"Comment",-1),Y={__name:"Orders",setup(Z){const h=p.useRoute();p.useRouter();const i=e.ref(!1),o=e.ref("all"),m=e.computed(()=>g(d.state.all)),_=e.computed(()=>v(d.state.all,"unpaid"));function g(a){return a.reduce((s,r)=>s+r.positions.reduce((l,t)=>l+t.price,0),0)}function v(a,s){return a.reduce((r,l)=>l.payment.status===s?r+l.positions.reduce((t,c)=>t+c.price,0):r,0)}return e.onMounted(async()=>{}),(a,s)=>{const r=e.resolveComponent("router-link");return e.openBlock(),e.createElementBlock("div",k,[e.createVNode(b.default,{title:"Orders","onUpdate:tabs_current":s[0]||(s[0]=l=>o.value=l),tabs_current:o.value,tabs:[{name:"All",value:"all"},{name:"Created",value:"created"},{name:"Confirmed",value:"confirmed"},{name:"Preparing",value:"preparing"},{name:"Prepared",value:"prepared"},{name:"In delivery",value:"in delivery"},{name:"Delivered",value:"delivered"},{name:"Closed",value:"closed"}],actions:[{to:{name:"AdminOrderAdd"},label:"Create Order"}],class:"mn-b-small bg-light bg-light radius-big"},null,8,["tabs_current"]),e.createVNode(f.default,{title:"Balance",class:"mn-b-thin"},{default:e.withCtx(()=>[e.createElementVNode("div",w,[e.createElementVNode("div",S,[D,e.createElementVNode("h3",null,e.toDisplayString(a.formatPrice(m.value)),1)]),e.createElementVNode("div",B,[x,e.createElementVNode("h3",null,e.toDisplayString(a.formatPrice(_.value)),1)]),e.createElementVNode("div",C,[q,e.createElementVNode("h3",null,e.toDisplayString(a.formatPrice(m.value)),1)])])]),_:1}),e.createVNode(V.default,{search:!0,states:{empty:{title:"No Orders Found",description:"Currently, there are no orders."}},store:{read:l=>d.actions.read(l)},options:{limit:15,owner:e.unref(h).params._id,...o.value!=="all"&&{status:o.value}},class:"gap-thin cols-3"},{default:e.withCtx(({items:l})=>[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(l,t=>(e.openBlock(),e.createBlock(r,{to:{name:"Order Edit",params:{order:t._id}},class:"bg-light pos-relative pd-medium radius-big"},{default:e.withCtx(()=>{var c;return[e.createVNode(N.default,{entity:t,entityType:"order",user:y.state.user,owner:t.creator,creator:t.creator,date:t.createdAt,class:"mn-b-small"},null,8,["entity","user","owner","creator","date"]),e.createElementVNode("div",P,[e.createElementVNode("div",T,[e.createElementVNode("h3",O,e.toDisplayString(((c=t.customer.target.profile)==null?void 0:c.name)||t.customer.target.phone||t.customer.target.email||"No name"),1),e.createElementVNode("p",F,e.toDisplayString(t.delivery.address||"Not specified"),1)]),e.createElementVNode("div",A,[e.createElementVNode("h3",M,e.toDisplayString(a.returnCurrency())+e.toDisplayString(d.getters.getTotal(t.positions)),1),e.createElementVNode("p",null,"#"+e.toDisplayString(t._id.slice(0,4)+"..."+t._id.slice(-4)),1)])]),e.createElementVNode("div",U,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(t.positions.slice(0,2),(n,u)=>(e.openBlock(),e.createElementBlock("div",{key:u,class:"w-100 flex"},[e.createElementVNode("p",L,e.toDisplayString(n.name),1),e.createElementVNode("p",R,[e.createTextVNode(e.toDisplayString(n.quantity)+" "+e.toDisplayString(n.type)+" x "+e.toDisplayString(n.price)+" ",1),e.createElementVNode("span",z,e.toDisplayString(a.returnCurrency()),1)])]))),128)),e.createVNode(e.Transition,{name:"fade"},{default:e.withCtx(()=>[i.value&&t.positions.length>2?(e.openBlock(),e.createElementBlock("div",H,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(t.positions.slice(2),(n,u)=>(e.openBlock(),e.createElementBlock("div",{key:u+2,class:"w-100 flex"},[e.createElementVNode("p",I,e.toDisplayString(n.name),1),e.createElementVNode("p",$,[e.createTextVNode(e.toDisplayString(n.quantity)+" "+e.toDisplayString(n.type)+" x "+e.toDisplayString(n.price)+" ",1),e.createElementVNode("span",j,e.toDisplayString(a.returnCurrency()),1)])]))),128))])):e.createCommentVNode("",!0)]),_:2},1024),t.positions.length>2?(e.openBlock(),e.createElementBlock("button",{key:0,onClick:s[1]||(s[1]=e.withModifiers(n=>i.value=!i.value,["prevent"])),class:"radius-big bg-light-transp-50 pd-nano w-100 flex-center flex"},e.toDisplayString(i.value?"Hide":`+${t.positions.length-2} more`),1)):e.createCommentVNode("",!0)]),e.createElementVNode("div",G,[e.createVNode(E.default,{class:"i-semi t-transp",fill:"rgb(var(--black)"}),e.createElementVNode("p",J,e.toDisplayString(a.formatDate(t.deadline)),1),e.createElementVNode("span",K,e.toDisplayString(t.status),1),Q]),t.comment?(e.openBlock(),e.createElementBlock("div",W,[X,e.createElementVNode("p",null,e.toDisplayString(t.comment),1)])):e.createCommentVNode("",!0)]}),_:2},1032,["to"]))),256))]),_:1},8,["store","options"])])}}};exports.default=Y;
1
+ "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vue"),p=require("vue-router");require("../../../../../node_modules/@vuepic/vue-datepicker/dist/vue-datepicker.cjs");;/* empty css */;/* empty css */const f=require("../../../../components/Block/Block.vue.cjs"),d=require("../../store/orders.cjs"),y=require("../../../auth/store/auth.cjs");;/* empty css */const N=require("../../../globals/components/blocks/CardHeader.vue.cjs"),b=require("../../../globals/components/sections/SectionPageTitle.vue.cjs"),V=require("../../../../components/Feed/Feed.vue.cjs"),E=require("../../../icons/entities/IconTime.vue.cjs"),k={class:"pd-thin"},w={class:"gap-micro flex-nowrap flex"},S={class:"w-100 bg-white radius-small pd-small"},D=e.createElementVNode("p",{class:"mn-b-thin"},"Total",-1),B={class:"w-100 bg-white radius-small pd-small"},x=e.createElementVNode("p",{class:"mn-b-thin"},"Paid",-1),C={class:"w-100 bg-white radius-small pd-small"},q=e.createElementVNode("p",{class:"mn-b-thin"},"Unpaid",-1),P={class:"mn-b-small pd-small bg-white radius-small flex-nowrap flex"},T={class:"w-100"},O={class:"mn-b-thin"},F={class:"t-truncate"},A={class:"w-100 t-right"},M={class:"mn-b-thin"},U={class:"cols-1 mn-b-small gap-thin pd-small bg-white radius-small"},L={class:"mn-r-auto"},R={class:"t-right"},z={class:"t-transp"},H={key:0},I={class:"mn-r-auto"},$={class:"t-right"},j={class:"t-transp"},G={class:"pd-small bg-white radius-small gap-micro flex-v-center flex-nowrap flex"},J={class:"t-medium mn-r-auto"},K={class:"flex-child flex-child-shrink-0 capitalize w-max t-medium radius-big pd-b-nano pd-t-nano pd-r-thin pd-l-thin bg-main"},Q=e.createElementVNode("span",{class:"flex-child flex-child-shrink-0 capitalize w-max t-medium radius-big pd-b-nano pd-t-nano pd-r-thin pd-l-thin t-white bg-red"}," Unpaid ",-1),W={key:0,class:"pos-relative radius-small bg-fifth-transp-10 mn-t-thin pd-small"},X=e.createElementVNode("p",{class:"mn-b-thin t-transp uppercase p-small t-medium"},"Comment",-1),Y={__name:"Orders",setup(Z){const h=p.useRoute();p.useRouter();const i=e.ref(!1),o=e.ref("all"),m=e.computed(()=>g(d.state.all)),_=e.computed(()=>v(d.state.all,"unpaid"));function g(a){return a.reduce((s,r)=>s+r.positions.reduce((l,t)=>l+t.price,0),0)}function v(a,s){return a.reduce((r,l)=>l.payment.status===s?r+l.positions.reduce((t,c)=>t+c.price,0):r,0)}return e.onMounted(async()=>{}),(a,s)=>{const r=e.resolveComponent("router-link");return e.openBlock(),e.createElementBlock("div",k,[e.createVNode(b.default,{title:"Orders","onUpdate:tabs_current":s[0]||(s[0]=l=>o.value=l),tabs_current:o.value,tabs:[{name:"All",value:"all"},{name:"Created",value:"created"},{name:"Confirmed",value:"confirmed"},{name:"Preparing",value:"preparing"},{name:"Prepared",value:"prepared"},{name:"In delivery",value:"in delivery"},{name:"Delivered",value:"delivered"},{name:"Closed",value:"closed"}],actions:[{to:{name:"AdminOrderAdd"},label:"Create Order"}],class:"mn-b-small bg-light bg-light radius-big"},null,8,["tabs_current"]),e.createVNode(f.default,{title:"Balance",class:"mn-b-thin"},{default:e.withCtx(()=>[e.createElementVNode("div",w,[e.createElementVNode("div",S,[D,e.createElementVNode("h3",null,e.toDisplayString(a.formatPrice(m.value)),1)]),e.createElementVNode("div",B,[x,e.createElementVNode("h3",null,e.toDisplayString(a.formatPrice(_.value)),1)]),e.createElementVNode("div",C,[q,e.createElementVNode("h3",null,e.toDisplayString(a.formatPrice(m.value)),1)])])]),_:1}),e.createVNode(V.default,{search:!0,states:{empty:{title:"No Orders Found",description:"Currently, there are no orders."}},store:{read:l=>d.actions.read(l)},options:{limit:15,owner:e.unref(h).params._id,...o.value!=="all"&&{status:o.value}},class:"gap-thin cols-3"},{default:e.withCtx(({items:l})=>[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(l,t=>(e.openBlock(),e.createBlock(r,{to:{name:"Order Edit",params:{order:t._id}},class:"bg-light pos-relative pd-medium radius-big"},{default:e.withCtx(()=>{var c;return[e.createVNode(N.default,{entity:t,entityType:"order",user:y.state.user,owner:t.creator,creator:t.creator,date:t.createdAt,class:"mn-b-small"},null,8,["entity","user","owner","creator","date"]),e.createElementVNode("div",P,[e.createElementVNode("div",T,[e.createElementVNode("h3",O,e.toDisplayString(((c=t.customer.target.profile)==null?void 0:c.name)||t.customer.target.phone||t.customer.target.email||"No name"),1),e.createElementVNode("p",F,e.toDisplayString(t.delivery.address||"Not specified"),1)]),e.createElementVNode("div",A,[e.createElementVNode("h3",M,e.toDisplayString(a.returnCurrency())+e.toDisplayString(d.getters.getTotal(t.positions)),1),e.createElementVNode("p",null,"#"+e.toDisplayString(t._id.slice(0,4)+"..."+t._id.slice(-4)),1)])]),e.createElementVNode("div",U,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(t.positions.slice(0,2),(n,u)=>(e.openBlock(),e.createElementBlock("div",{key:u,class:"w-100 flex"},[e.createElementVNode("p",L,e.toDisplayString(n.name),1),e.createElementVNode("p",R,[e.createTextVNode(e.toDisplayString(n.quantity)+" "+e.toDisplayString(n.type)+" x "+e.toDisplayString(n.price)+" ",1),e.createElementVNode("span",z,e.toDisplayString(a.returnCurrency()),1)])]))),128)),e.createVNode(e.Transition,{name:"fade"},{default:e.withCtx(()=>[i.value&&t.positions.length>2?(e.openBlock(),e.createElementBlock("div",H,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(t.positions.slice(2),(n,u)=>(e.openBlock(),e.createElementBlock("div",{key:u+2,class:"w-100 flex"},[e.createElementVNode("p",I,e.toDisplayString(n.name),1),e.createElementVNode("p",$,[e.createTextVNode(e.toDisplayString(n.quantity)+" "+e.toDisplayString(n.type)+" x "+e.toDisplayString(n.price)+" ",1),e.createElementVNode("span",j,e.toDisplayString(a.returnCurrency()),1)])]))),128))])):e.createCommentVNode("",!0)]),_:2},1024),t.positions.length>2?(e.openBlock(),e.createElementBlock("button",{key:0,onClick:s[1]||(s[1]=e.withModifiers(n=>i.value=!i.value,["prevent"])),class:"radius-big bg-light-transp-50 pd-nano w-100 flex-center flex"},e.toDisplayString(i.value?"Hide":`+${t.positions.length-2} more`),1)):e.createCommentVNode("",!0)]),e.createElementVNode("div",G,[e.createVNode(E.default,{class:"i-semi t-transp",fill:"rgb(var(--black)"}),e.createElementVNode("p",J,e.toDisplayString(a.formatDate(t.deadline)),1),e.createElementVNode("span",K,e.toDisplayString(t.status),1),Q]),t.comment?(e.openBlock(),e.createElementBlock("div",W,[X,e.createElementVNode("p",null,e.toDisplayString(t.comment),1)])):e.createCommentVNode("",!0)]}),_:2},1032,["to"]))),256))]),_:1},8,["store","options"])])}}};exports.default=Y;
@@ -1,12 +1,12 @@
1
1
  import { ref as w, computed as y, onMounted as $, resolveComponent as O, openBlock as i, createElementBlock as r, createVNode as d, withCtx as _, createElementVNode as e, toDisplayString as s, unref as A, Fragment as f, renderList as v, createBlock as B, createTextVNode as x, Transition as U, createCommentVNode as g, withModifiers as V } from "vue";
2
2
  import { useRoute as D, useRouter as E } from "vue-router";
3
3
  import "../../../../../node_modules/@vuepic/vue-datepicker/dist/vue-datepicker.js";
4
- import "../../../../../node_modules/@vuepic/vue-datepicker/dist/main.css.js";
5
- import "../../../../components/Tab/Tab.vue.js";
4
+ /* empty css */
5
+ /* empty css */
6
6
  import q from "../../../../components/Block/Block.vue.js";
7
7
  import { state as k, actions as z, getters as F } from "../../store/orders.js";
8
8
  import { state as I } from "../../../auth/store/auth.js";
9
- import "../blocks/CardOrder.vue2.js";
9
+ /* empty css */
10
10
  import M from "../../../globals/components/blocks/CardHeader.vue.js";
11
11
  import R from "../../../globals/components/sections/SectionPageTitle.vue.js";
12
12
  import S from "../../../../components/Feed/Feed.vue.js";
@@ -1 +1 @@
1
- "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vue"),i=require("vue-router"),p=require("vue-i18n"),g=require("../blocks/CardOrderItem.vue.cjs"),h=require("../../../icons/navigation/IconCross.vue.cjs"),t=require("../../store/shopcart.cjs");require("./ShopCart.vue2.cjs");const b={class:"flex-nowrap flex"},_={class:"mn-b-small w-100"},y={class:"mn-b-thin p-big"},k={class:"t-transp p-small"},f={class:"mn-b-big shopcart-content"},v={key:0,class:"mn-t-medium"},S={class:"shopcart-footer pd-b-medium pd-t-medium pd-big transition-cubic bg-black t-white"},E={key:0,class:"mn-b-small total-price"},C={class:"t-transp t-white mn-b-micro"},N={class:"t-demi t-white p-big"},V={__name:"ShopCart",setup(B){i.useRoute();const a=i.useRouter(),c=t.getters.cartTotalPrice,l=t.getters.cartTotalAmount,u={messages:{en:{title:"Your order",subtitle:"You have",positions:"no products in shop cart | 1 product in shop cart | {count} products in shop card",emptystate:"You don't have any positions in your shop cart yet. Maybe something needs to be added?",intotal:"In total",fastorder:"Checkout"},ru:{title:"Ваш заказ",subtitle:"У вас",positions:"нет товаров в корзине | 1 товар в корзине | {count} товаров в корзине",emptystate:"У вас еще нет товаров в корзине. Может стоит что-нибудь добавить?",intotal:"Итого",fastorder:"Подтвердить заказ"}}},{t:o}=p.useI18n(u);function d(){a.push({name:"Form Order"}),t.actions.toggleShopcart()}return(m,s)=>(e.openBlock(),e.createElementBlock(e.Fragment,null,[e.createElementVNode("section",{class:e.normalizeClass(["z-index-4 transition-cubic pd-big bg-white shop-cart",{"shop-cart-active":t.state.currentState===!0}])},[e.createElementVNode("div",b,[e.createElementVNode("div",_,[e.createElementVNode("h4",y,e.toDisplayString(e.unref(o)("title")),1),e.createElementVNode("p",k,e.toDisplayString(e.unref(o)("subtitle"))+" "+e.toDisplayString(e.unref(o)("positions",{count:e.unref(l)})),1)]),e.createVNode(h.default,{onClick:t.actions.toggleShopcart,class:"button-icon"},null,8,["onClick"])]),e.createElementVNode("div",f,[t.state.positions.length>0?e.createCommentVNode("",!0):(e.openBlock(),e.createElementBlock("p",v,[e.createElementVNode("i",null,e.toDisplayString(e.unref(o)("emptystate")),1)])),(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(t.state.positions,n=>(e.openBlock(),e.createBlock(g.default,{key:n._id,editable:!0,product:n,increase:r=>t.actions.incrementItemQuantity(r._id),decrease:r=>t.actions.decrementItemQuantity(r._id),remove:r=>t.actions.removeProduct(r._id)},null,8,["product","increase","decrease","remove"]))),128))]),e.createElementVNode("div",S,[t.state.positions.length>0?(e.openBlock(),e.createElementBlock("div",E,[e.createElementVNode("p",C,e.toDisplayString(e.unref(o)("intotal")),1),e.createElementVNode("p",N,e.toDisplayString(e.unref(c))+" "+e.toDisplayString(m.returnCurrency()),1)])):e.createCommentVNode("",!0),t.state.positions.length>0?(e.openBlock(),e.createElementBlock("button",{key:1,onClick:s[0]||(s[0]=n=>d()),class:"bg-main t-black w-100 button"},e.toDisplayString(e.unref(o)("fastorder")),1)):e.createCommentVNode("",!0)])],2),e.createElementVNode("div",{onClick:s[1]||(s[1]=(...n)=>t.actions.toggleShopcart&&t.actions.toggleShopcart(...n)),class:e.normalizeClass([{active:t.state.currentState===!0},"color-overlay z-index-3"])},null,2)],64))}};exports.default=V;
1
+ "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vue"),i=require("vue-router"),p=require("vue-i18n"),g=require("../blocks/CardOrderItem.vue.cjs"),h=require("../../../icons/navigation/IconCross.vue.cjs"),t=require("../../store/shopcart.cjs");;/* empty css */const b={class:"flex-nowrap flex"},_={class:"mn-b-small w-100"},y={class:"mn-b-thin p-big"},k={class:"t-transp p-small"},f={class:"mn-b-big shopcart-content"},v={key:0,class:"mn-t-medium"},S={class:"shopcart-footer pd-b-medium pd-t-medium pd-big transition-cubic bg-black t-white"},E={key:0,class:"mn-b-small total-price"},C={class:"t-transp t-white mn-b-micro"},N={class:"t-demi t-white p-big"},V={__name:"ShopCart",setup(B){i.useRoute();const a=i.useRouter(),c=t.getters.cartTotalPrice,l=t.getters.cartTotalAmount,u={messages:{en:{title:"Your order",subtitle:"You have",positions:"no products in shop cart | 1 product in shop cart | {count} products in shop card",emptystate:"You don't have any positions in your shop cart yet. Maybe something needs to be added?",intotal:"In total",fastorder:"Checkout"},ru:{title:"Ваш заказ",subtitle:"У вас",positions:"нет товаров в корзине | 1 товар в корзине | {count} товаров в корзине",emptystate:"У вас еще нет товаров в корзине. Может стоит что-нибудь добавить?",intotal:"Итого",fastorder:"Подтвердить заказ"}}},{t:o}=p.useI18n(u);function d(){a.push({name:"Form Order"}),t.actions.toggleShopcart()}return(m,s)=>(e.openBlock(),e.createElementBlock(e.Fragment,null,[e.createElementVNode("section",{class:e.normalizeClass(["z-index-4 transition-cubic pd-big bg-white shop-cart",{"shop-cart-active":t.state.currentState===!0}])},[e.createElementVNode("div",b,[e.createElementVNode("div",_,[e.createElementVNode("h4",y,e.toDisplayString(e.unref(o)("title")),1),e.createElementVNode("p",k,e.toDisplayString(e.unref(o)("subtitle"))+" "+e.toDisplayString(e.unref(o)("positions",{count:e.unref(l)})),1)]),e.createVNode(h.default,{onClick:t.actions.toggleShopcart,class:"button-icon"},null,8,["onClick"])]),e.createElementVNode("div",f,[t.state.positions.length>0?e.createCommentVNode("",!0):(e.openBlock(),e.createElementBlock("p",v,[e.createElementVNode("i",null,e.toDisplayString(e.unref(o)("emptystate")),1)])),(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(t.state.positions,n=>(e.openBlock(),e.createBlock(g.default,{key:n._id,editable:!0,product:n,increase:r=>t.actions.incrementItemQuantity(r._id),decrease:r=>t.actions.decrementItemQuantity(r._id),remove:r=>t.actions.removeProduct(r._id)},null,8,["product","increase","decrease","remove"]))),128))]),e.createElementVNode("div",S,[t.state.positions.length>0?(e.openBlock(),e.createElementBlock("div",E,[e.createElementVNode("p",C,e.toDisplayString(e.unref(o)("intotal")),1),e.createElementVNode("p",N,e.toDisplayString(e.unref(c))+" "+e.toDisplayString(m.returnCurrency()),1)])):e.createCommentVNode("",!0),t.state.positions.length>0?(e.openBlock(),e.createElementBlock("button",{key:1,onClick:s[0]||(s[0]=n=>d()),class:"bg-main t-black w-100 button"},e.toDisplayString(e.unref(o)("fastorder")),1)):e.createCommentVNode("",!0)])],2),e.createElementVNode("div",{onClick:s[1]||(s[1]=(...n)=>t.actions.toggleShopcart&&t.actions.toggleShopcart(...n)),class:e.normalizeClass([{active:t.state.currentState===!0},"color-overlay z-index-3"])},null,2)],64))}};exports.default=V;
@@ -4,7 +4,7 @@ import { useI18n as I } from "vue-i18n";
4
4
  import z from "../blocks/CardOrderItem.vue.js";
5
5
  import B from "../../../icons/navigation/IconCross.vue.js";
6
6
  import { getters as h, state as i, actions as s } from "../../store/shopcart.js";
7
- import "./ShopCart.vue2.js";
7
+ /* empty css */
8
8
  const N = { class: "flex-nowrap flex" }, P = { class: "mn-b-small w-100" }, T = { class: "mn-b-thin p-big" }, V = { class: "t-transp p-small" }, Y = { class: "mn-b-big shopcart-content" }, $ = {
9
9
  key: 0,
10
10
  class: "mn-t-medium"
@@ -1 +1 @@
1
- "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vue"),h=require("vue-router"),k=require("../../../../components/Block/Block.vue.cjs");require("../../../../components/Field/Field.vue.cjs");const b=require("../../../../components/FieldPhone/click-outside.cjs");require("../../../../components/Select/Select.vue2.cjs");const g=require("../../../../components/Feed/Feed.vue.cjs"),v=require("../../../../components/Button/Button.vue2.cjs"),C=require("../../../globals/components/blocks/BlockSearch.vue.cjs"),n=require("../../../users/components/blocks/CardUser.vue.cjs"),q=require("./FormCustomerDetails.vue.cjs"),_=require("../../../users/store/users.cjs"),w=require("../../../auth/store/auth.cjs"),B=require("../../../globals/store/globals.cjs"),y=require("../../store/customers.store.cjs"),x=require("../../store/models/customer.cjs"),E={key:2,class:"mn-t-thin pos-absolute w-100 pos-t-100 pos-l-0 z-index-3 bg-light pd-small radius-small"},N={__name:"FormAddCustomer",props:{order:Object},emits:["callbackCustomer"],setup(V,{emit:i}){let c=b.default;const d=i,m=h.useRoute();let r=e.ref(x.default),u=e.ref(null),l=e.ref(!1);async function f(){let a={identity:{type:r.value.user?"User":"Visitor",target:r.value.user?r.value.user._id:null},owner:{type:"Organization",target:m.params._id},creator:{type:"User",target:w.state.user._id},phone:r.value.phone,email:r.value.email,profile:r.value.profile,socials:r.value.socials};try{let o=await y.default.create(a);r.value=o}catch(o){console.log(o)}}function p(){d("callbackCustomer",r.value)}return(a,o)=>(e.openBlock(),e.createElementBlock(e.Fragment,null,[e.createVNode(k.default,{class:"pos-relative mn-b-thin"},{default:e.withCtx(()=>[e.unref(r).user?(e.openBlock(),e.createBlock(n.default,{key:1,user:e.unref(r).user,photo:e.unref(r).user.profile.photo,name:e.unref(r).user.profile.name||e.unref(r).user.phone||e.unref(r).user.email,onClick:o[1]||(o[1]=()=>{e.unref(r).user=null}),class:"bg-white pd-thin radius-medium w-100"},null,8,["user","photo","name"])):e.withDirectives((e.openBlock(),e.createBlock(C.default,{key:0,onSearch:o[0]||(o[0]=s=>{e.isRef(u)?u.value=s:u=s,e.isRef(l)?l.value=!0:l=!0}),placeholder:"Enter name, phone or email",class:"bg-white"},null,512)),[[e.unref(c),()=>{e.isRef(l)?l.value=!1:l=!1}]]),e.unref(u)&&e.unref(l)&&!e.unref(r).user?(e.openBlock(),e.createElementBlock("div",E,[e.createVNode(g.default,{states:{empty:{title:"No User Found",description:"Currently, there are no such user."}},store:{read:s=>_.actions.read(s),state:null},options:{search:e.unref(u)},showLoadMore:!1,class:"h-max-20r o-scroll"},{default:e.withCtx(({items:s})=>[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(s,(t,F)=>(e.openBlock(),e.createBlock(n.default,{key:t._id,user:t,photo:t.profile.photo,name:t.profile.name||t.phone||t.email,onClick:()=>{e.unref(r).user=t,e.unref(r).profile=t.profile,e.unref(r).phone=t.phone,e.unref(r).email=t.email,e.unref(r).socials=t.socials},class:"bg-white pd-thin radius-medium w-100 mn-b-thin"},null,8,["user","photo","name","onClick"]))),128))]),_:1},8,["store","options"])])):e.createCommentVNode("",!0)]),_:1}),e.createVNode(q.default,{customer:e.unref(r),class:"mn-b-thin bg-light"},null,8,["customer"]),e.createVNode(v.default,{submit:f,callback:p,onError:e.unref(B.setError),class:"w-100 pd-small radius-big bg-main t-black uppercase t-medium"},{default:e.withCtx(()=>[e.createTextVNode(" Add Customer ")]),_:1},8,["onError"])],64))}};exports.default=N;
1
+ "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vue"),h=require("vue-router"),k=require("../../../../components/Block/Block.vue.cjs");;/* empty css */const b=require("../../../../components/FieldPhone/click-outside.cjs");;/* empty css */const g=require("../../../../components/Feed/Feed.vue.cjs"),v=require("../../../../components/Button/Button.vue.cjs"),C=require("../../../globals/components/blocks/BlockSearch.vue.cjs"),n=require("../../../users/components/blocks/CardUser.vue.cjs"),q=require("./FormCustomerDetails.vue.cjs"),_=require("../../../users/store/users.cjs"),w=require("../../../auth/store/auth.cjs"),B=require("../../../globals/store/globals.cjs"),y=require("../../store/customers.store.cjs"),x=require("../../store/models/customer.cjs"),E={key:2,class:"mn-t-thin pos-absolute w-100 pos-t-100 pos-l-0 z-index-3 bg-light pd-small radius-small"},N={__name:"FormAddCustomer",props:{order:Object},emits:["callbackCustomer"],setup(V,{emit:i}){let c=b.default;const d=i,m=h.useRoute();let r=e.ref(x.default),u=e.ref(null),l=e.ref(!1);async function f(){let a={identity:{type:r.value.user?"User":"Visitor",target:r.value.user?r.value.user._id:null},owner:{type:"Organization",target:m.params._id},creator:{type:"User",target:w.state.user._id},phone:r.value.phone,email:r.value.email,profile:r.value.profile,socials:r.value.socials};try{let o=await y.default.create(a);r.value=o}catch(o){console.log(o)}}function p(){d("callbackCustomer",r.value)}return(a,o)=>(e.openBlock(),e.createElementBlock(e.Fragment,null,[e.createVNode(k.default,{class:"pos-relative mn-b-thin"},{default:e.withCtx(()=>[e.unref(r).user?(e.openBlock(),e.createBlock(n.default,{key:1,user:e.unref(r).user,photo:e.unref(r).user.profile.photo,name:e.unref(r).user.profile.name||e.unref(r).user.phone||e.unref(r).user.email,onClick:o[1]||(o[1]=()=>{e.unref(r).user=null}),class:"bg-white pd-thin radius-medium w-100"},null,8,["user","photo","name"])):e.withDirectives((e.openBlock(),e.createBlock(C.default,{key:0,onSearch:o[0]||(o[0]=s=>{e.isRef(u)?u.value=s:u=s,e.isRef(l)?l.value=!0:l=!0}),placeholder:"Enter name, phone or email",class:"bg-white"},null,512)),[[e.unref(c),()=>{e.isRef(l)?l.value=!1:l=!1}]]),e.unref(u)&&e.unref(l)&&!e.unref(r).user?(e.openBlock(),e.createElementBlock("div",E,[e.createVNode(g.default,{states:{empty:{title:"No User Found",description:"Currently, there are no such user."}},store:{read:s=>_.actions.read(s),state:null},options:{search:e.unref(u)},showLoadMore:!1,class:"h-max-20r o-scroll"},{default:e.withCtx(({items:s})=>[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(s,(t,F)=>(e.openBlock(),e.createBlock(n.default,{key:t._id,user:t,photo:t.profile.photo,name:t.profile.name||t.phone||t.email,onClick:()=>{e.unref(r).user=t,e.unref(r).profile=t.profile,e.unref(r).phone=t.phone,e.unref(r).email=t.email,e.unref(r).socials=t.socials},class:"bg-white pd-thin radius-medium w-100 mn-b-thin"},null,8,["user","photo","name","onClick"]))),128))]),_:1},8,["store","options"])])):e.createCommentVNode("",!0)]),_:1}),e.createVNode(q.default,{customer:e.unref(r),class:"mn-b-thin bg-light"},null,8,["customer"]),e.createVNode(v.default,{submit:f,callback:p,onError:e.unref(B.setError),class:"w-100 pd-small radius-big bg-main t-black uppercase t-medium"},{default:e.withCtx(()=>[e.createTextVNode(" Add Customer ")]),_:1},8,["onError"])],64))}};exports.default=N;
@@ -1,11 +1,11 @@
1
1
  import { ref as n, openBlock as l, createElementBlock as u, Fragment as h, createVNode as m, withCtx as c, unref as t, withDirectives as y, createBlock as p, isRef as d, renderList as x, createCommentVNode as $, createTextVNode as E } from "vue";
2
2
  import { useRoute as U } from "vue-router";
3
3
  import N from "../../../../components/Block/Block.vue.js";
4
- import "../../../../components/Field/Field.vue.js";
4
+ /* empty css */
5
5
  import O from "../../../../components/FieldPhone/click-outside.js";
6
- import "../../../../components/Select/Select.vue2.js";
6
+ /* empty css */
7
7
  import V from "../../../../components/Feed/Feed.vue.js";
8
- import B from "../../../../components/Button/Button.vue2.js";
8
+ import B from "../../../../components/Button/Button.vue.js";
9
9
  import F from "../../../globals/components/blocks/BlockSearch.vue.js";
10
10
  import _ from "../../../users/components/blocks/CardUser.vue.js";
11
11
  import S from "./FormCustomerDetails.vue.js";
@@ -1 +1 @@
1
- "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vue"),r=require("../../../../components/Block/Block.vue.cjs"),n=require("../../../../components/Field/Field.vue2.cjs"),o=require("../../../../components/FieldPhone/FieldPhone.vue.cjs"),u=require("../../../../components/Select/Select.vue.cjs"),i={class:"gap-thin flex-justify-between flex-nowrap flex"},d={__name:"FormCustomerDetails",props:{customer:Object,title:{type:String,default:"Personal Data"}},setup(a){let s=e.ref("instagram");return(m,l)=>(e.openBlock(),e.createBlock(r.default,{title:a.title,class:"mn-b-thin"},{default:e.withCtx(()=>[e.createVNode(n.default,{field:a.customer.profile.name,"onUpdate:field":l[0]||(l[0]=t=>a.customer.profile.name=t),label:"Name",placeholder:"Enter name",class:"bg-white pd-small radius-small mn-b-thin"},null,8,["field"]),e.createVNode(o.default,{modelValue:a.customer.phone,"onUpdate:modelValue":l[1]||(l[1]=t=>a.customer.phone=t),onCountry:l[2]||(l[2]=t=>{a.customer.number=t}),inputOptions:{placeholder:"Enter phone number",type:"tel"},defaultCountry:"TH",validCharactersOnly:!0,dropdownOptions:{showDialCodeInSelection:!0,showFlags:!0,showDialCodeInList:!0},mode:"national",class:"w-100 bg-white pd-small mn-b-thin radius-small"},null,8,["modelValue"]),e.createElementVNode("div",i,[e.createVNode(u.default,{select:e.unref(s),options:[{name:"Instagram",value:"instagram"},{name:"Telegram",value:"telegram"},{name:"WhatsApp",value:"whatsapp"}],"onUpdate:select":l[3]||(l[3]=t=>e.isRef(s)?s.value=t:s=t),placeholder:"Messenger",size:"small",class:"bg-white pd-small radius-small"},null,8,["select"]),e.createVNode(n.default,{field:a.customer.socials[e.unref(s)],"onUpdate:field":l[4]||(l[4]=t=>a.customer.socials[e.unref(s)]=t),label:"@",placeholder:"Enter username",class:"bg-white pd-small radius-small w-100"},null,8,["field"])])]),_:1},8,["title"]))}};exports.default=d;
1
+ "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vue"),r=require("../../../../components/Block/Block.vue.cjs"),n=require("../../../../components/Field/Field.vue.cjs"),o=require("../../../../components/FieldPhone/FieldPhone.vue.cjs"),u=require("../../../../components/Select/Select.vue.cjs"),i={class:"gap-thin flex-justify-between flex-nowrap flex"},d={__name:"FormCustomerDetails",props:{customer:Object,title:{type:String,default:"Personal Data"}},setup(a){let s=e.ref("instagram");return(m,l)=>(e.openBlock(),e.createBlock(r.default,{title:a.title,class:"mn-b-thin"},{default:e.withCtx(()=>[e.createVNode(n.default,{field:a.customer.profile.name,"onUpdate:field":l[0]||(l[0]=t=>a.customer.profile.name=t),label:"Name",placeholder:"Enter name",class:"bg-white pd-small radius-small mn-b-thin"},null,8,["field"]),e.createVNode(o.default,{modelValue:a.customer.phone,"onUpdate:modelValue":l[1]||(l[1]=t=>a.customer.phone=t),onCountry:l[2]||(l[2]=t=>{a.customer.number=t}),inputOptions:{placeholder:"Enter phone number",type:"tel"},defaultCountry:"TH",validCharactersOnly:!0,dropdownOptions:{showDialCodeInSelection:!0,showFlags:!0,showDialCodeInList:!0},mode:"national",class:"w-100 bg-white pd-small mn-b-thin radius-small"},null,8,["modelValue"]),e.createElementVNode("div",i,[e.createVNode(u.default,{select:e.unref(s),options:[{name:"Instagram",value:"instagram"},{name:"Telegram",value:"telegram"},{name:"WhatsApp",value:"whatsapp"}],"onUpdate:select":l[3]||(l[3]=t=>e.isRef(s)?s.value=t:s=t),placeholder:"Messenger",size:"small",class:"bg-white pd-small radius-small"},null,8,["select"]),e.createVNode(n.default,{field:a.customer.socials[e.unref(s)],"onUpdate:field":l[4]||(l[4]=t=>a.customer.socials[e.unref(s)]=t),label:"@",placeholder:"Enter username",class:"bg-white pd-small radius-small w-100"},null,8,["field"])])]),_:1},8,["title"]))}};exports.default=d;
@@ -1,9 +1,9 @@
1
- import { ref as r, openBlock as m, createBlock as i, withCtx as u, createVNode as s, createElementVNode as d, unref as n, isRef as f } from "vue";
1
+ import { ref as o, openBlock as m, createBlock as i, withCtx as u, createVNode as s, createElementVNode as d, unref as n, isRef as f } from "vue";
2
2
  import p from "../../../../components/Block/Block.vue.js";
3
- import o from "../../../../components/Field/Field.vue2.js";
3
+ import r from "../../../../components/Field/Field.vue.js";
4
4
  import c from "../../../../components/FieldPhone/FieldPhone.vue.js";
5
- import h from "../../../../components/Select/Select.vue.js";
6
- const g = { class: "gap-thin flex-justify-between flex-nowrap flex" }, V = {
5
+ import g from "../../../../components/Select/Select.vue.js";
6
+ const h = { class: "gap-thin flex-justify-between flex-nowrap flex" }, V = {
7
7
  __name: "FormCustomerDetails",
8
8
  props: {
9
9
  customer: Object,
@@ -13,13 +13,13 @@ const g = { class: "gap-thin flex-justify-between flex-nowrap flex" }, V = {
13
13
  }
14
14
  },
15
15
  setup(t) {
16
- let a = r("instagram");
16
+ let a = o("instagram");
17
17
  return (w, e) => (m(), i(p, {
18
18
  title: t.title,
19
19
  class: "mn-b-thin"
20
20
  }, {
21
21
  default: u(() => [
22
- s(o, {
22
+ s(r, {
23
23
  field: t.customer.profile.name,
24
24
  "onUpdate:field": e[0] || (e[0] = (l) => t.customer.profile.name = l),
25
25
  label: "Name",
@@ -46,8 +46,8 @@ const g = { class: "gap-thin flex-justify-between flex-nowrap flex" }, V = {
46
46
  mode: "national",
47
47
  class: "w-100 bg-white pd-small mn-b-thin radius-small"
48
48
  }, null, 8, ["modelValue"]),
49
- d("div", g, [
50
- s(h, {
49
+ d("div", h, [
50
+ s(g, {
51
51
  select: n(a),
52
52
  options: [
53
53
  { name: "Instagram", value: "instagram" },
@@ -59,7 +59,7 @@ const g = { class: "gap-thin flex-justify-between flex-nowrap flex" }, V = {
59
59
  size: "small",
60
60
  class: "bg-white pd-small radius-small"
61
61
  }, null, 8, ["select"]),
62
- s(o, {
62
+ s(r, {
63
63
  field: t.customer.socials[n(a)],
64
64
  "onUpdate:field": e[4] || (e[4] = (l) => t.customer.socials[n(a)] = l),
65
65
  label: "@",
@@ -1 +1 @@
1
- "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const t=require("vue"),l=require("../../../globals/store/globals.cjs"),s=require("../../../../components/Block/Block.vue.cjs"),n=require("../../../../components/Address/Address.vue.cjs"),u=require("../../../../components/LocationMarker/LocationMarker.vue.cjs"),i=require("../../../../components/Radio/Radio.vue.cjs"),m=require("../../../../components/Field/Field.vue2.cjs"),y=t.createElementVNode("h4",{class:"font-second mn-b-thin"},"Select deliverty type",-1),c={class:"mn-b-small flex-nowrap flex"},v=t.createElementVNode("h4",{class:"font-second mn-b-thin"},"Address",-1),b={__name:"FormDelivery",props:{order:Object},setup(e){const o=e;return t.onMounted(()=>{l.state.position&&(o.order.delivery.address=l.state.position.address),l.state.position&&(o.order.delivery.location=l.state.position.location)}),(a,d)=>(t.openBlock(),t.createBlock(s.default,{title:"Delivery",class:"mn-b-thin",tooltip:"Delivery by mail takes 3-5 days."},{default:t.withCtx(()=>[y,t.createElementVNode("div",c,[t.createVNode(i.default,{radio:e.order.delivery.type,"onUpdate:radio":d[0]||(d[0]=r=>e.order.delivery.type=r),label:"Pickup",value:"pickup",class:"bg-white pd-medium radius-small w-100 mn-r-small"},null,8,["radio"]),t.createVNode(i.default,{radio:e.order.delivery.type,"onUpdate:radio":d[1]||(d[1]=r=>e.order.delivery.type=r),label:"Courier",value:"courier",class:"bg-white pd-medium radius-small w-100 mn-r-small"},null,8,["radio"]),t.createVNode(i.default,{radio:e.order.delivery.type,"onUpdate:radio":d[2]||(d[2]=r=>e.order.delivery.type=r),label:"Post",value:"mail",class:"bg-white pd-medium radius-small w-100"},null,8,["radio"])]),v,t.createVNode(n.default,{label:"Location",apiKey:a.GOOGLE_MAPS_API_KEY,address:e.order.delivery.address,location:e.order.delivery.location,placeholder:"Enter your address",class:"bg-white radius-tl-medium radius-tr-medium t-black pd-medium","onUpdate:location":d[3]||(d[3]=r=>{e.order.delivery.location=r}),"onUpdate:address":d[4]||(d[4]=r=>{e.order.delivery.address=r})},null,8,["apiKey","address","location"]),t.createVNode(u.default,{apiKey:a.GOOGLE_MAPS_API_KEY,address:e.order.delivery.address,location:e.order.delivery.location,class:"mn-b-thin radius-bl-medium radius-br-medium h-15r o-hidden","onUpdate:location":d[5]||(d[5]=r=>{e.order.delivery.location=r}),"onUpdate:address":d[6]||(d[6]=r=>{e.order.delivery.address=r})},null,8,["apiKey","address","location"]),t.createVNode(m.default,{field:e.order.comment,"onUpdate:field":d[7]||(d[7]=r=>e.order.comment=r),placeholder:"Comments regarding the address (apartment unit, floor level, building section)",type:"textarea",class:"bg-white pd-medium radius-small"},null,8,["field"])]),_:1}))}};exports.default=b;
1
+ "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const t=require("vue"),l=require("../../../globals/store/globals.cjs"),s=require("../../../../components/Block/Block.vue.cjs"),n=require("../../../../components/Address/Address.vue2.cjs"),u=require("../../../../components/LocationMarker/LocationMarker.vue2.cjs"),i=require("../../../../components/Radio/Radio.vue.cjs"),m=require("../../../../components/Field/Field.vue.cjs"),y=t.createElementVNode("h4",{class:"font-second mn-b-thin"},"Select deliverty type",-1),c={class:"mn-b-small flex-nowrap flex"},v=t.createElementVNode("h4",{class:"font-second mn-b-thin"},"Address",-1),b={__name:"FormDelivery",props:{order:Object},setup(e){const o=e;return t.onMounted(()=>{l.state.position&&(o.order.delivery.address=l.state.position.address),l.state.position&&(o.order.delivery.location=l.state.position.location)}),(a,d)=>(t.openBlock(),t.createBlock(s.default,{title:"Delivery",class:"mn-b-thin",tooltip:"Delivery by mail takes 3-5 days."},{default:t.withCtx(()=>[y,t.createElementVNode("div",c,[t.createVNode(i.default,{radio:e.order.delivery.type,"onUpdate:radio":d[0]||(d[0]=r=>e.order.delivery.type=r),label:"Pickup",value:"pickup",class:"bg-white pd-medium radius-small w-100 mn-r-small"},null,8,["radio"]),t.createVNode(i.default,{radio:e.order.delivery.type,"onUpdate:radio":d[1]||(d[1]=r=>e.order.delivery.type=r),label:"Courier",value:"courier",class:"bg-white pd-medium radius-small w-100 mn-r-small"},null,8,["radio"]),t.createVNode(i.default,{radio:e.order.delivery.type,"onUpdate:radio":d[2]||(d[2]=r=>e.order.delivery.type=r),label:"Post",value:"mail",class:"bg-white pd-medium radius-small w-100"},null,8,["radio"])]),v,t.createVNode(n.default,{label:"Location",apiKey:a.GOOGLE_MAPS_API_KEY,address:e.order.delivery.address,location:e.order.delivery.location,placeholder:"Enter your address",class:"bg-white radius-tl-medium radius-tr-medium t-black pd-medium","onUpdate:location":d[3]||(d[3]=r=>{e.order.delivery.location=r}),"onUpdate:address":d[4]||(d[4]=r=>{e.order.delivery.address=r})},null,8,["apiKey","address","location"]),t.createVNode(u.default,{apiKey:a.GOOGLE_MAPS_API_KEY,address:e.order.delivery.address,location:e.order.delivery.location,class:"mn-b-thin radius-bl-medium radius-br-medium h-15r o-hidden","onUpdate:location":d[5]||(d[5]=r=>{e.order.delivery.location=r}),"onUpdate:address":d[6]||(d[6]=r=>{e.order.delivery.address=r})},null,8,["apiKey","address","location"]),t.createVNode(m.default,{field:e.order.comment,"onUpdate:field":d[7]||(d[7]=r=>e.order.comment=r),placeholder:"Comments regarding the address (apartment unit, floor level, building section)",type:"textarea",class:"bg-white pd-medium radius-small"},null,8,["field"])]),_:1}))}};exports.default=b;
@@ -1,10 +1,10 @@
1
1
  import { onMounted as n, openBlock as m, createBlock as u, withCtx as y, createElementVNode as t, createVNode as i } from "vue";
2
2
  import { state as o } from "../../../globals/store/globals.js";
3
3
  import v from "../../../../components/Block/Block.vue.js";
4
- import f from "../../../../components/Address/Address.vue.js";
5
- import b from "../../../../components/LocationMarker/LocationMarker.vue.js";
4
+ import f from "../../../../components/Address/Address.vue2.js";
5
+ import b from "../../../../components/LocationMarker/LocationMarker.vue2.js";
6
6
  import l from "../../../../components/Radio/Radio.vue.js";
7
- import c from "../../../../components/Field/Field.vue2.js";
7
+ import c from "../../../../components/Field/Field.vue.js";
8
8
  const p = /* @__PURE__ */ t("h4", { class: "font-second mn-b-thin" }, "Select deliverty type", -1), w = { class: "mn-b-small flex-nowrap flex" }, g = /* @__PURE__ */ t("h4", { class: "font-second mn-b-thin" }, "Address", -1), O = {
9
9
  __name: "FormDelivery",
10
10
  props: {
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("vue"),s=require("../../globals/store/globals.cjs"),o=require("../../../../node_modules/axios/lib/axios.cjs");process.env.NODE_ENV;const c=o.default.create({baseURL:process.env.API_URL}),a=t.reactive({all:[],current:{_id:"",status:"",name:"",email:"",chat:"",text:""},form:{status:!1,data:{name:"",phone:"",chat:"",text:""}}});async function n(r){return await c.post("/applications",r).then(e=>Promise.resolve(e.data),e=>(s.setError(e),Promise.reject(e)))}t.computed(()=>a.all);t.watch(a,(r,e)=>{});exports.create=n;exports.state=a;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("vue"),s=require("../../globals/store/globals.cjs"),o=require("axios");process.env.NODE_ENV;const c=o.create({baseURL:process.env.API_URL}),a=t.reactive({all:[],current:{_id:"",status:"",name:"",email:"",chat:"",text:""},form:{status:!1,data:{name:"",phone:"",chat:"",text:""}}});async function n(r){return await c.post("/applications",r).then(e=>Promise.resolve(e.data),e=>(s.setError(e),Promise.reject(e)))}t.computed(()=>a.all);t.watch(a,(r,e)=>{});exports.create=n;exports.state=a;
@@ -1,6 +1,6 @@
1
1
  import { reactive as r, computed as o, watch as s } from "vue";
2
2
  import { setError as n } from "../../globals/store/globals.js";
3
- import c from "../../../../node_modules/axios/lib/axios.js";
3
+ import c from "axios";
4
4
  process.env.NODE_ENV;
5
5
  const i = c.create({ baseURL: process.env.API_URL }), a = r({
6
6
  all: [],
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const i=require("vue"),u=require("../../../../node_modules/axios/lib/axios.cjs"),s=require("../../globals/store/globals.cjs"),d=require("./models/order.cjs"),n=u.default.create({baseURL:process.env.API_URL,withCredentials:!0}),r=i.reactive({all:[],current:{...d.default}}),p={async create(e){try{const t=await n.post("/api/orders/create",e);return r.all.push(t.data),t.data}catch(t){s.setError(t)}},async read(e={}){try{const t=await n.get("/api/orders/read",{params:e});return e._id?o(t.data[0],"current"):o(t.data,"all"),t.data}catch(t){throw s.setError(t),t}},async update(e){try{const t=await n.post("/api/orders/update",e),a=r.all.findIndex(c=>c._id===e._id);return a!==-1&&(r.all[a]=t.data),t.data}catch(t){s.setError(t)}},async delete(e){try{await n.delete(`/api/orders/${e}`),r.all=r.all.filter(t=>t._id!==e)}catch(t){s.setError(t)}},async changePaymentStatus(e,t){try{const a=await n.post(`/api/orders/payment/${e}`,{status:t}),c=r.all.findIndex(l=>l._id===e);c!==-1&&(r.all[c]=a.data)}catch(a){s.setError(a)}}},y={resetCustomer(e){Object.assign(e,customerInitState)},resetOrder(e){r.current={...d.default}}},f={getTotal(e){return e.reduce((t,a)=>t+a.price*a.quantity,0)}};function o(e,t){r[t]=e}i.watch(r,(e,t)=>{});exports.actions=p;exports.getters=f;exports.mutations=y;exports.state=r;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const i=require("vue"),u=require("axios"),s=require("../../globals/store/globals.cjs"),d=require("./models/order.cjs"),n=u.create({baseURL:process.env.API_URL,withCredentials:!0}),r=i.reactive({all:[],current:{...d.default}}),p={async create(e){try{const t=await n.post("/api/orders/create",e);return r.all.push(t.data),t.data}catch(t){s.setError(t)}},async read(e={}){try{const t=await n.get("/api/orders/read",{params:e});return e._id?o(t.data[0],"current"):o(t.data,"all"),t.data}catch(t){throw s.setError(t),t}},async update(e){try{const t=await n.post("/api/orders/update",e),a=r.all.findIndex(c=>c._id===e._id);return a!==-1&&(r.all[a]=t.data),t.data}catch(t){s.setError(t)}},async delete(e){try{await n.delete(`/api/orders/${e}`),r.all=r.all.filter(t=>t._id!==e)}catch(t){s.setError(t)}},async changePaymentStatus(e,t){try{const a=await n.post(`/api/orders/payment/${e}`,{status:t}),c=r.all.findIndex(l=>l._id===e);c!==-1&&(r.all[c]=a.data)}catch(a){s.setError(a)}}},y={resetCustomer(e){Object.assign(e,customerInitState)},resetOrder(e){r.current={...d.default}}},f={getTotal(e){return e.reduce((t,a)=>t+a.price*a.quantity,0)}};function o(e,t){r[t]=e}i.watch(r,(e,t)=>{});exports.actions=p;exports.getters=f;exports.mutations=y;exports.state=r;
@@ -1,5 +1,5 @@
1
1
  import { reactive as l, watch as p } from "vue";
2
- import u from "../../../../node_modules/axios/lib/axios.js";
2
+ import u from "axios";
3
3
  import { setError as s } from "../../globals/store/globals.js";
4
4
  import i from "./models/order.js";
5
5
  const n = u.create({ baseURL: process.env.API_URL, withCredentials: !0 }), a = l({
@@ -1 +1 @@
1
- "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vue"),i=require("../../../icons/navigation/IconEdit.vue.cjs");require("../../../../components/Spoiler/Spoiler.vue.cjs");require("./DepartmentSub.vue2.cjs");const u=require("../../../../../../_virtual/_plugin-vue_export-helper.cjs"),d=require("../../../users/components/blocks/CardUser.vue.cjs");require("./CardDepartment.vue2.cjs");const c={class:""},p={class:"pd-medium w-100"},m=["innerHTML"],h={key:0},k={__name:"CardDepartment",props:{department:Object,organization:Object},setup(r){const n=r;return(o,a)=>{const s=e.resolveComponent("router-link");return e.openBlock(),e.createElementBlock("div",c,[e.createElementVNode("div",p,[e.createVNode(s,{to:{name:"Department Edit",params:{_id:n.organization,department:r.department._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("h3",{onClick:a[0]||(a[0]=t=>o.$router.push(`/organizations/${n.organization}/departments/${r.department._id}`)),class:"mn-b-small w-100",innerHTML:r.department.profile.name},null,8,m),e.createElementVNode("ul",null,[r.department.members.length<1?(e.openBlock(),e.createElementBlock("li",h,"No members in department")):e.createCommentVNode("",!0),(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(r.department.members,(t,l)=>(e.openBlock(),e.createBlock(d.default,{class:"h-4r pd-small br-solid br-1px br-black-transp-5 radius-small mn-b-thin",key:l,user:t.user,photo:t.user.profile.photo,name:t.user.profile.name||t.user.phone||t.user.email||t.user._id,position:t.position,onClick:g=>o.$router.push(`/app/profile/${t.user._id}`)},null,8,["user","photo","name","position","onClick"]))),128))])])])}}},_=u.default(k,[["__scopeId","data-v-de9a0606"]]);exports.default=_;
1
+ "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vue"),i=require("../../../icons/navigation/IconEdit.vue.cjs");;/* empty css */;/* empty css */const u=require("../../../../../../_virtual/_plugin-vue_export-helper.cjs"),d=require("../../../users/components/blocks/CardUser.vue.cjs");;/* empty css */const c={class:""},p={class:"pd-medium w-100"},m=["innerHTML"],h={key:0},k={__name:"CardDepartment",props:{department:Object,organization:Object},setup(r){const n=r;return(o,a)=>{const s=e.resolveComponent("router-link");return e.openBlock(),e.createElementBlock("div",c,[e.createElementVNode("div",p,[e.createVNode(s,{to:{name:"Department Edit",params:{_id:n.organization,department:r.department._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("h3",{onClick:a[0]||(a[0]=t=>o.$router.push(`/organizations/${n.organization}/departments/${r.department._id}`)),class:"mn-b-small w-100",innerHTML:r.department.profile.name},null,8,m),e.createElementVNode("ul",null,[r.department.members.length<1?(e.openBlock(),e.createElementBlock("li",h,"No members in department")):e.createCommentVNode("",!0),(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(r.department.members,(t,l)=>(e.openBlock(),e.createBlock(d.default,{class:"h-4r pd-small br-solid br-1px br-black-transp-5 radius-small mn-b-thin",key:l,user:t.user,photo:t.user.profile.photo,name:t.user.profile.name||t.user.phone||t.user.email||t.user._id,position:t.position,onClick:g=>o.$router.push(`/app/profile/${t.user._id}`)},null,8,["user","photo","name","position","onClick"]))),128))])])])}}},_=u.default(k,[["__scopeId","data-v-de9a0606"]]);exports.default=_;