@ozdao/prometheus-framework 0.2.128 → 0.2.130

Sign up to get free protection for your applications and to get access to all the features.
Files changed (1349) hide show
  1. package/LICENSE +1 -1
  2. package/dist/_virtual/_commonjsHelpers.cjs +1 -1
  3. package/dist/_virtual/_commonjsHelpers.js +3 -5
  4. package/dist/auth.server.js +12 -14
  5. package/dist/auth.server.mjs +12 -14
  6. package/dist/community.server.js +12 -22
  7. package/dist/community.server.mjs +12 -22
  8. package/dist/{engagement.schema-CI2ifjXN.mjs → engagement.schema-CCdSLKd4.mjs} +1 -2
  9. package/dist/{engagement.schema-fdLNO2_6.js → engagement.schema-D-9md46B.js} +1 -2
  10. package/dist/events.server.js +5 -8
  11. package/dist/events.server.mjs +5 -8
  12. package/dist/files.server.js +2 -3
  13. package/dist/files.server.mjs +2 -3
  14. package/dist/gallery.server.js +7 -3
  15. package/dist/gallery.server.mjs +7 -3
  16. package/dist/{index-BCCiEK_u.js → index-BshfsiQG.js} +8 -4
  17. package/dist/{index-B6a1mPgp.mjs → index-DKtnWDNC.mjs} +8 -4
  18. package/dist/main-Ckn0Sslr.js +92 -0
  19. package/dist/{main-Ds3Z5x5d.mjs → main-DxyAONrm.mjs} +4707 -4475
  20. package/dist/main.css +1 -1
  21. package/dist/middlewares.server.js +1 -1
  22. package/dist/middlewares.server.mjs +1 -1
  23. package/dist/node_modules/@googlemaps/js-api-loader/dist/index.js +10 -20
  24. package/dist/node_modules/embla-carousel/esm/embla-carousel.esm.js +22 -41
  25. package/dist/node_modules/embla-carousel-autoplay/esm/embla-carousel-autoplay.esm.js +3 -6
  26. package/dist/node_modules/embla-carousel-reactive-utils/esm/embla-carousel-reactive-utils.esm.js +2 -4
  27. package/dist/node_modules/fast-deep-equal/index.js +10 -20
  28. package/dist/node_modules/vue-draggable-next/dist/vue-draggable-next.esm-bundler.js +14 -28
  29. package/dist/orders.server.js +1 -1
  30. package/dist/orders.server.mjs +1 -1
  31. package/dist/organizations.server.js +6 -10
  32. package/dist/organizations.server.mjs +6 -10
  33. package/dist/products.server.js +1 -1
  34. package/dist/products.server.mjs +1 -1
  35. package/dist/prometheus-framework/node_modules/@capacitor/core/dist/index.js +1 -2
  36. package/dist/prometheus-framework/node_modules/@vuepic/vue-datepicker/dist/vue-datepicker.cjs +1 -1
  37. package/dist/prometheus-framework/node_modules/@vuepic/vue-datepicker/dist/vue-datepicker.js +3414 -3284
  38. package/dist/prometheus-framework/node_modules/bignumber.js/bignumber.js +84 -163
  39. package/dist/prometheus-framework/node_modules/date-fns/_lib/protectedTokens.js +1 -2
  40. package/dist/prometheus-framework/node_modules/date-fns/addMonths.js +1 -2
  41. package/dist/prometheus-framework/node_modules/date-fns/compareAsc.cjs +1 -0
  42. package/dist/prometheus-framework/node_modules/date-fns/compareAsc.js +9 -0
  43. package/dist/prometheus-framework/node_modules/date-fns/differenceInCalendarYears.cjs +1 -0
  44. package/dist/prometheus-framework/node_modules/date-fns/differenceInCalendarYears.js +9 -0
  45. package/dist/prometheus-framework/node_modules/date-fns/differenceInYears.cjs +1 -0
  46. package/dist/prometheus-framework/node_modules/date-fns/differenceInYears.js +13 -0
  47. package/dist/prometheus-framework/node_modules/date-fns/format.js +1 -2
  48. package/dist/prometheus-framework/node_modules/date-fns/locale/_lib/buildMatchPatternFn.js +2 -4
  49. package/dist/prometheus-framework/node_modules/date-fns/parse/_lib/Setter.cjs +1 -1
  50. package/dist/prometheus-framework/node_modules/date-fns/parse/_lib/Setter.js +11 -11
  51. package/dist/prometheus-framework/node_modules/date-fns/parse/_lib/parsers/AMPMMidnightParser.cjs +1 -1
  52. package/dist/prometheus-framework/node_modules/date-fns/parse/_lib/parsers/AMPMMidnightParser.js +1 -1
  53. package/dist/prometheus-framework/node_modules/date-fns/parse/_lib/parsers/AMPMParser.cjs +1 -1
  54. package/dist/prometheus-framework/node_modules/date-fns/parse/_lib/parsers/AMPMParser.js +1 -1
  55. package/dist/prometheus-framework/node_modules/date-fns/parse/_lib/parsers/DateParser.cjs +1 -1
  56. package/dist/prometheus-framework/node_modules/date-fns/parse/_lib/parsers/DateParser.js +1 -1
  57. package/dist/prometheus-framework/node_modules/date-fns/parse/_lib/parsers/DayOfYearParser.cjs +1 -1
  58. package/dist/prometheus-framework/node_modules/date-fns/parse/_lib/parsers/DayOfYearParser.js +1 -1
  59. package/dist/prometheus-framework/node_modules/date-fns/parse/_lib/parsers/DayParser.cjs +1 -1
  60. package/dist/prometheus-framework/node_modules/date-fns/parse/_lib/parsers/DayParser.js +1 -1
  61. package/dist/prometheus-framework/node_modules/date-fns/parse/_lib/parsers/DayPeriodParser.cjs +1 -1
  62. package/dist/prometheus-framework/node_modules/date-fns/parse/_lib/parsers/DayPeriodParser.js +1 -1
  63. package/dist/prometheus-framework/node_modules/date-fns/parse/_lib/parsers/EraParser.cjs +1 -1
  64. package/dist/prometheus-framework/node_modules/date-fns/parse/_lib/parsers/EraParser.js +1 -1
  65. package/dist/prometheus-framework/node_modules/date-fns/parse/_lib/parsers/ExtendedYearParser.cjs +1 -1
  66. package/dist/prometheus-framework/node_modules/date-fns/parse/_lib/parsers/ExtendedYearParser.js +1 -1
  67. package/dist/prometheus-framework/node_modules/date-fns/parse/_lib/parsers/FractionOfSecondParser.cjs +1 -1
  68. package/dist/prometheus-framework/node_modules/date-fns/parse/_lib/parsers/FractionOfSecondParser.js +1 -1
  69. package/dist/prometheus-framework/node_modules/date-fns/parse/_lib/parsers/Hour0To11Parser.cjs +1 -1
  70. package/dist/prometheus-framework/node_modules/date-fns/parse/_lib/parsers/Hour0To11Parser.js +1 -1
  71. package/dist/prometheus-framework/node_modules/date-fns/parse/_lib/parsers/Hour0to23Parser.cjs +1 -1
  72. package/dist/prometheus-framework/node_modules/date-fns/parse/_lib/parsers/Hour0to23Parser.js +1 -1
  73. package/dist/prometheus-framework/node_modules/date-fns/parse/_lib/parsers/Hour1To24Parser.cjs +1 -1
  74. package/dist/prometheus-framework/node_modules/date-fns/parse/_lib/parsers/Hour1To24Parser.js +1 -1
  75. package/dist/prometheus-framework/node_modules/date-fns/parse/_lib/parsers/Hour1to12Parser.cjs +1 -1
  76. package/dist/prometheus-framework/node_modules/date-fns/parse/_lib/parsers/Hour1to12Parser.js +1 -1
  77. package/dist/prometheus-framework/node_modules/date-fns/parse/_lib/parsers/ISODayParser.cjs +1 -1
  78. package/dist/prometheus-framework/node_modules/date-fns/parse/_lib/parsers/ISODayParser.js +1 -1
  79. package/dist/prometheus-framework/node_modules/date-fns/parse/_lib/parsers/ISOTimezoneParser.cjs +1 -1
  80. package/dist/prometheus-framework/node_modules/date-fns/parse/_lib/parsers/ISOTimezoneParser.js +1 -1
  81. package/dist/prometheus-framework/node_modules/date-fns/parse/_lib/parsers/ISOTimezoneWithZParser.cjs +1 -1
  82. package/dist/prometheus-framework/node_modules/date-fns/parse/_lib/parsers/ISOTimezoneWithZParser.js +1 -1
  83. package/dist/prometheus-framework/node_modules/date-fns/parse/_lib/parsers/ISOWeekParser.cjs +1 -1
  84. package/dist/prometheus-framework/node_modules/date-fns/parse/_lib/parsers/ISOWeekParser.js +1 -1
  85. package/dist/prometheus-framework/node_modules/date-fns/parse/_lib/parsers/ISOWeekYearParser.cjs +1 -1
  86. package/dist/prometheus-framework/node_modules/date-fns/parse/_lib/parsers/ISOWeekYearParser.js +1 -1
  87. package/dist/prometheus-framework/node_modules/date-fns/parse/_lib/parsers/LocalDayParser.cjs +1 -1
  88. package/dist/prometheus-framework/node_modules/date-fns/parse/_lib/parsers/LocalDayParser.js +1 -1
  89. package/dist/prometheus-framework/node_modules/date-fns/parse/_lib/parsers/LocalWeekParser.cjs +1 -1
  90. package/dist/prometheus-framework/node_modules/date-fns/parse/_lib/parsers/LocalWeekParser.js +1 -1
  91. package/dist/prometheus-framework/node_modules/date-fns/parse/_lib/parsers/LocalWeekYearParser.cjs +1 -1
  92. package/dist/prometheus-framework/node_modules/date-fns/parse/_lib/parsers/LocalWeekYearParser.js +1 -1
  93. package/dist/prometheus-framework/node_modules/date-fns/parse/_lib/parsers/MinuteParser.cjs +1 -1
  94. package/dist/prometheus-framework/node_modules/date-fns/parse/_lib/parsers/MinuteParser.js +1 -1
  95. package/dist/prometheus-framework/node_modules/date-fns/parse/_lib/parsers/MonthParser.cjs +1 -1
  96. package/dist/prometheus-framework/node_modules/date-fns/parse/_lib/parsers/MonthParser.js +1 -1
  97. package/dist/prometheus-framework/node_modules/date-fns/parse/_lib/parsers/QuarterParser.cjs +1 -1
  98. package/dist/prometheus-framework/node_modules/date-fns/parse/_lib/parsers/QuarterParser.js +1 -1
  99. package/dist/prometheus-framework/node_modules/date-fns/parse/_lib/parsers/SecondParser.cjs +1 -1
  100. package/dist/prometheus-framework/node_modules/date-fns/parse/_lib/parsers/SecondParser.js +1 -1
  101. package/dist/prometheus-framework/node_modules/date-fns/parse/_lib/parsers/StandAloneLocalDayParser.cjs +1 -1
  102. package/dist/prometheus-framework/node_modules/date-fns/parse/_lib/parsers/StandAloneLocalDayParser.js +1 -1
  103. package/dist/prometheus-framework/node_modules/date-fns/parse/_lib/parsers/StandAloneMonthParser.cjs +1 -1
  104. package/dist/prometheus-framework/node_modules/date-fns/parse/_lib/parsers/StandAloneMonthParser.js +1 -1
  105. package/dist/prometheus-framework/node_modules/date-fns/parse/_lib/parsers/StandAloneQuarterParser.cjs +1 -1
  106. package/dist/prometheus-framework/node_modules/date-fns/parse/_lib/parsers/StandAloneQuarterParser.js +1 -1
  107. package/dist/prometheus-framework/node_modules/date-fns/parse/_lib/parsers/TimestampMillisecondsParser.cjs +1 -1
  108. package/dist/prometheus-framework/node_modules/date-fns/parse/_lib/parsers/TimestampMillisecondsParser.js +6 -6
  109. package/dist/prometheus-framework/node_modules/date-fns/parse/_lib/parsers/TimestampSecondsParser.cjs +1 -1
  110. package/dist/prometheus-framework/node_modules/date-fns/parse/_lib/parsers/TimestampSecondsParser.js +6 -6
  111. package/dist/prometheus-framework/node_modules/date-fns/parse/_lib/parsers/YearParser.cjs +1 -1
  112. package/dist/prometheus-framework/node_modules/date-fns/parse/_lib/parsers/YearParser.js +1 -1
  113. package/dist/prometheus-framework/node_modules/date-fns/startOfMonth.cjs +1 -0
  114. package/dist/prometheus-framework/node_modules/date-fns/startOfMonth.js +9 -0
  115. package/dist/prometheus-framework/node_modules/libphonenumber-js/es6/ParseError.js +4 -8
  116. package/dist/prometheus-framework/node_modules/libphonenumber-js/es6/format.js +5 -10
  117. package/dist/prometheus-framework/node_modules/libphonenumber-js/es6/helpers/getCountryByNationalNumber.js +4 -8
  118. package/dist/prometheus-framework/node_modules/libphonenumber-js/es6/helpers/getNumberType.js +4 -8
  119. package/dist/prometheus-framework/node_modules/libphonenumber-js/es6/normalizeArguments.js +7 -14
  120. package/dist/prometheus-framework/node_modules/libphonenumber-js/es6/parse.js +1 -2
  121. package/dist/prometheus-framework/node_modules/libphonenumber-js/es6/parseIncompletePhoneNumber.js +4 -8
  122. package/dist/prometheus-framework/node_modules/libphonenumber-js/es6/parsePhoneNumber_.js +1 -2
  123. package/dist/prometheus-framework/node_modules/libphonenumber-js/es6/tools/semver-compare.js +4 -8
  124. package/dist/prometheus-framework/node_modules/libphonenumber-js/metadata.min.json.cjs +1 -1
  125. package/dist/prometheus-framework/node_modules/libphonenumber-js/metadata.min.json.js +1 -1
  126. package/dist/prometheus-framework/src/components/Address/Address.vue2.cjs +1 -1
  127. package/dist/prometheus-framework/src/components/Address/Address.vue2.js +1 -1
  128. package/dist/prometheus-framework/src/components/Block/Block.vue.cjs +1 -1
  129. package/dist/prometheus-framework/src/components/Block/Block.vue.js +1 -1
  130. package/dist/prometheus-framework/src/components/BottomSheet/BottomSheet.vue.cjs +1 -0
  131. package/dist/prometheus-framework/src/components/BottomSheet/BottomSheet.vue.js +71 -0
  132. package/dist/prometheus-framework/src/components/Button/Button.vue2.cjs +1 -1
  133. package/dist/prometheus-framework/src/components/Button/Button.vue2.js +24 -23
  134. package/dist/prometheus-framework/src/components/Checkbox/Checkbox.vue.js +1 -2
  135. package/dist/prometheus-framework/src/components/Chips/Chips.vue.cjs +1 -1
  136. package/dist/prometheus-framework/src/components/Chips/Chips.vue.js +1 -1
  137. package/dist/prometheus-framework/src/components/DatePicker/Calendar.vue2.cjs +1 -1
  138. package/dist/prometheus-framework/src/components/DatePicker/Calendar.vue2.js +1 -1
  139. package/dist/prometheus-framework/src/components/Dropdown/Dropdown.vue.cjs +1 -1
  140. package/dist/prometheus-framework/src/components/Dropdown/Dropdown.vue.js +1 -1
  141. package/dist/prometheus-framework/src/components/Feed/Feed.vue.cjs +1 -1
  142. package/dist/prometheus-framework/src/components/Feed/Feed.vue.js +146 -114
  143. package/dist/prometheus-framework/src/components/Field/Field.vue2.cjs +1 -1
  144. package/dist/prometheus-framework/src/components/Field/Field.vue2.js +1 -1
  145. package/dist/prometheus-framework/src/components/FieldBig/FieldBig.vue.cjs +1 -1
  146. package/dist/prometheus-framework/src/components/FieldBig/FieldBig.vue.js +5 -5
  147. package/dist/prometheus-framework/src/components/FieldPhone/FieldPhone.vue.cjs +1 -1
  148. package/dist/prometheus-framework/src/components/FieldPhone/FieldPhone.vue.js +1 -1
  149. package/dist/prometheus-framework/src/components/FieldTags/BlockTags.vue.cjs +1 -1
  150. package/dist/prometheus-framework/src/components/FieldTags/BlockTags.vue.js +1 -1
  151. package/dist/prometheus-framework/src/components/FieldTags/FieldTags.vue.cjs +1 -1
  152. package/dist/prometheus-framework/src/components/FieldTags/FieldTags.vue.js +1 -1
  153. package/dist/prometheus-framework/src/components/FieldTags/create-tags.js +4 -8
  154. package/dist/prometheus-framework/src/components/FieldTags/tag-input.vue2.cjs +1 -1
  155. package/dist/prometheus-framework/src/components/FieldTags/tag-input.vue2.js +1 -1
  156. package/dist/prometheus-framework/src/components/FieldTags/vue-tags-input.js +5 -10
  157. package/dist/prometheus-framework/src/components/Loader/Loader.vue2.cjs +1 -1
  158. package/dist/prometheus-framework/src/components/Loader/Loader.vue2.js +1 -1
  159. package/dist/prometheus-framework/src/components/LocationMarker/LocationMarker.vue2.cjs +1 -1
  160. package/dist/prometheus-framework/src/components/LocationMarker/LocationMarker.vue2.js +1 -1
  161. package/dist/prometheus-framework/src/components/Map/Map.vue.cjs +1 -1
  162. package/dist/prometheus-framework/src/components/Map/Map.vue.js +1 -1
  163. package/dist/prometheus-framework/src/components/Marquee/Marquee.vue.cjs +1 -1
  164. package/dist/prometheus-framework/src/components/Marquee/Marquee.vue.js +1 -1
  165. package/dist/prometheus-framework/src/components/Menu/Menu.vue2.cjs +1 -0
  166. package/dist/prometheus-framework/src/{modules/mobile/components/Menu/Menu.vue.js → components/Menu/Menu.vue2.js} +1 -1
  167. package/dist/prometheus-framework/src/components/Menu/MenuItem.vue.cjs +1 -0
  168. package/dist/prometheus-framework/src/{modules/mobile/components → components}/Menu/MenuItem.vue.js +1 -1
  169. package/dist/prometheus-framework/src/components/PhotoViewer/PhotoViewer.vue.cjs +1 -0
  170. package/dist/prometheus-framework/src/{modules/gallery/components/blocks → components/PhotoViewer}/PhotoViewer.vue.js +7 -7
  171. package/dist/prometheus-framework/src/components/Popup/Popup.vue.cjs +1 -1
  172. package/dist/prometheus-framework/src/components/Popup/Popup.vue.js +77 -1
  173. package/dist/prometheus-framework/src/components/Select/Select.vue2.cjs +1 -1
  174. package/dist/prometheus-framework/src/components/Select/Select.vue2.js +1 -1
  175. package/dist/prometheus-framework/src/components/SelectMulti/SelectMulti.vue.cjs +1 -1
  176. package/dist/prometheus-framework/src/components/SelectMulti/SelectMulti.vue.js +1 -1
  177. package/dist/prometheus-framework/src/components/SelectMulti/multiselectMixin.js +5 -10
  178. package/dist/prometheus-framework/src/components/Slider/Slider.vue.cjs +1 -1
  179. package/dist/prometheus-framework/src/components/Slider/Slider.vue.js +1 -1
  180. package/dist/prometheus-framework/src/components/Spoiler/Spoiler.vue2.cjs +1 -1
  181. package/dist/prometheus-framework/src/components/Spoiler/Spoiler.vue2.js +1 -1
  182. package/dist/prometheus-framework/src/components/Tab/Tab.vue2.cjs +1 -1
  183. package/dist/prometheus-framework/src/components/Tab/Tab.vue2.js +1 -1
  184. package/dist/prometheus-framework/src/components/Tooltip/Tooltip.vue.cjs +1 -1
  185. package/dist/prometheus-framework/src/components/Tooltip/Tooltip.vue.js +45 -1
  186. package/dist/prometheus-framework/src/components/Upload/Upload.vue.cjs +1 -1
  187. package/dist/prometheus-framework/src/components/Upload/Upload.vue.js +2 -2
  188. package/dist/prometheus-framework/src/components/UploadImage/UploadImage.vue.cjs +1 -1
  189. package/dist/prometheus-framework/src/components/UploadImage/UploadImage.vue.js +1 -1
  190. package/dist/prometheus-framework/src/components/UploadImageMultiple/UploadImageMultiple.vue.cjs +1 -1
  191. package/dist/prometheus-framework/src/components/UploadImageMultiple/UploadImageMultiple.vue.js +1 -1
  192. package/dist/prometheus-framework/src/modules/auth/components/layouts/Auth.vue.cjs +1 -1
  193. package/dist/prometheus-framework/src/modules/auth/components/layouts/Auth.vue.js +5 -5
  194. package/dist/prometheus-framework/src/modules/auth/components/pages/EnterCode.vue.cjs +1 -1
  195. package/dist/prometheus-framework/src/modules/auth/components/pages/EnterCode.vue.js +1 -1
  196. package/dist/prometheus-framework/src/modules/auth/components/pages/EnterPassword.vue.cjs +1 -1
  197. package/dist/prometheus-framework/src/modules/auth/components/pages/EnterPassword.vue.js +2 -2
  198. package/dist/prometheus-framework/src/modules/auth/components/pages/Invite.vue.cjs +1 -1
  199. package/dist/prometheus-framework/src/modules/auth/components/pages/Invite.vue.js +2 -2
  200. package/dist/prometheus-framework/src/modules/auth/components/pages/ResetPassword.vue.cjs +1 -1
  201. package/dist/prometheus-framework/src/modules/auth/components/pages/ResetPassword.vue.js +1 -1
  202. package/dist/prometheus-framework/src/modules/auth/components/pages/SignIn.vue.cjs +1 -1
  203. package/dist/prometheus-framework/src/modules/auth/components/pages/SignIn.vue.js +1 -1
  204. package/dist/prometheus-framework/src/modules/auth/components/pages/SignUp.vue.cjs +1 -1
  205. package/dist/prometheus-framework/src/modules/auth/components/pages/SignUp.vue.js +1 -1
  206. package/dist/prometheus-framework/src/modules/auth/components/sections/SliderFeatures.vue.cjs +1 -1
  207. package/dist/prometheus-framework/src/modules/auth/components/sections/SliderFeatures.vue.js +1 -1
  208. package/dist/prometheus-framework/src/modules/auth/store/auth.cjs +1 -1
  209. package/dist/prometheus-framework/src/modules/auth/store/auth.js +8 -7
  210. package/dist/prometheus-framework/src/modules/auth/store/twofa.cjs +1 -1
  211. package/dist/prometheus-framework/src/modules/auth/store/twofa.js +1 -1
  212. package/dist/prometheus-framework/src/modules/backoffice/components/pages/Dashboard.vue.cjs +1 -1
  213. package/dist/prometheus-framework/src/modules/backoffice/components/pages/Dashboard.vue.js +115 -78
  214. package/dist/prometheus-framework/src/modules/backoffice/router/backoffice.cjs +1 -1
  215. package/dist/prometheus-framework/src/modules/backoffice/router/backoffice.js +8 -23
  216. package/dist/prometheus-framework/src/modules/chats/components/pages/ChatPage.vue.cjs +1 -1
  217. package/dist/prometheus-framework/src/modules/chats/components/pages/ChatPage.vue.js +1 -1
  218. package/dist/prometheus-framework/src/modules/chats/components/sections/ChatWindow.vue.cjs +1 -1
  219. package/dist/prometheus-framework/src/modules/chats/components/sections/ChatWindow.vue.js +1 -1
  220. package/dist/prometheus-framework/src/modules/community/components/blocks/CardBlogpost.vue.cjs +1 -1
  221. package/dist/prometheus-framework/src/modules/community/components/blocks/CardBlogpost.vue.js +62 -70
  222. package/dist/prometheus-framework/src/modules/community/components/layouts/Community.vue.cjs +1 -1
  223. package/dist/prometheus-framework/src/modules/community/components/layouts/Community.vue.js +1 -1
  224. package/dist/prometheus-framework/src/modules/community/components/pages/Blog.vue.cjs +1 -1
  225. package/dist/prometheus-framework/src/modules/community/components/pages/Blog.vue.js +1 -1
  226. package/dist/prometheus-framework/src/modules/community/components/pages/BlogPost.vue.cjs +1 -1
  227. package/dist/prometheus-framework/src/modules/community/components/pages/BlogPost.vue.js +1 -1
  228. package/dist/prometheus-framework/src/modules/community/components/pages/Community.vue.cjs +1 -1
  229. package/dist/prometheus-framework/src/modules/community/components/pages/Community.vue.js +10 -10
  230. package/dist/prometheus-framework/src/modules/community/components/pages/CreateBlogPost.vue.cjs +1 -1
  231. package/dist/prometheus-framework/src/modules/community/components/pages/CreateBlogPost.vue.js +3 -3
  232. package/dist/prometheus-framework/src/modules/community/components/sections/Comments.vue.cjs +1 -1
  233. package/dist/prometheus-framework/src/modules/community/components/sections/Comments.vue.js +1 -1
  234. package/dist/prometheus-framework/src/modules/community/components/sections/HotPosts.vue.cjs +1 -1
  235. package/dist/prometheus-framework/src/modules/community/components/sections/HotPosts.vue.js +22 -21
  236. package/dist/prometheus-framework/src/modules/community/components/sections/JoinUs.vue.cjs +1 -1
  237. package/dist/prometheus-framework/src/modules/community/components/sections/JoinUs.vue.js +1 -1
  238. package/dist/prometheus-framework/src/modules/community/store/blogposts.cjs +1 -1
  239. package/dist/prometheus-framework/src/modules/community/store/blogposts.js +1 -1
  240. package/dist/prometheus-framework/src/modules/community/store/reactions.cjs +1 -1
  241. package/dist/prometheus-framework/src/modules/community/store/reactions.js +1 -1
  242. package/dist/prometheus-framework/src/modules/constructor/components/elements/H2.vue.cjs +1 -1
  243. package/dist/prometheus-framework/src/modules/constructor/components/elements/H2.vue.js +1 -1
  244. package/dist/prometheus-framework/src/modules/constructor/components/elements/ImageUpload.vue.cjs +1 -1
  245. package/dist/prometheus-framework/src/modules/constructor/components/elements/ImageUpload.vue.js +1 -1
  246. package/dist/prometheus-framework/src/modules/constructor/components/elements/Textarea.vue2.cjs +1 -1
  247. package/dist/prometheus-framework/src/modules/constructor/components/elements/Textarea.vue2.js +1 -1
  248. package/dist/prometheus-framework/src/modules/constructor/components/elements/VideoPlayer.vue.cjs +1 -1
  249. package/dist/prometheus-framework/src/modules/constructor/components/elements/VideoPlayer.vue.js +4 -3
  250. package/dist/prometheus-framework/src/modules/constructor/components/sections/Constructor.vue.js +1 -2
  251. package/dist/prometheus-framework/src/modules/events/components/elements/ButtonCheck.vue.cjs +1 -1
  252. package/dist/prometheus-framework/src/modules/events/components/elements/ButtonCheck.vue.js +2 -2
  253. package/dist/prometheus-framework/src/modules/events/components/elements/ButtonJoin.vue.cjs +1 -1
  254. package/dist/prometheus-framework/src/modules/events/components/elements/ButtonJoin.vue.js +1 -1
  255. package/dist/prometheus-framework/src/modules/events/components/pages/EditEvent.vue.cjs +1 -1
  256. package/dist/prometheus-framework/src/modules/events/components/pages/EditEvent.vue.js +5 -5
  257. package/dist/prometheus-framework/src/modules/events/components/pages/EditEventTickets.vue.cjs +1 -1
  258. package/dist/prometheus-framework/src/modules/events/components/pages/EditEventTickets.vue.js +2 -2
  259. package/dist/prometheus-framework/src/modules/events/components/pages/Event.vue.cjs +1 -1
  260. package/dist/prometheus-framework/src/modules/events/components/pages/Event.vue.js +1 -1
  261. package/dist/prometheus-framework/src/modules/events/components/pages/Events.vue.cjs +1 -1
  262. package/dist/prometheus-framework/src/modules/events/components/pages/Events.vue.js +1 -1
  263. package/dist/prometheus-framework/src/modules/events/components/sections/Feed.vue.cjs +1 -1
  264. package/dist/prometheus-framework/src/modules/events/components/sections/Feed.vue.js +1 -1
  265. package/dist/prometheus-framework/src/modules/events/components/sections/HeroEvent.vue.cjs +1 -1
  266. package/dist/prometheus-framework/src/modules/events/components/sections/HeroEvent.vue.js +1 -1
  267. package/dist/prometheus-framework/src/modules/events/components/sections/List.vue.cjs +1 -1
  268. package/dist/prometheus-framework/src/modules/events/components/sections/List.vue.js +2 -2
  269. package/dist/prometheus-framework/src/modules/events/components/sections/SectionMainGuest.vue.cjs +1 -1
  270. package/dist/prometheus-framework/src/modules/events/components/sections/SectionMainGuest.vue.js +1 -1
  271. package/dist/prometheus-framework/src/modules/events/store/events.cjs +1 -1
  272. package/dist/prometheus-framework/src/modules/events/store/events.js +1 -1
  273. package/dist/prometheus-framework/src/modules/events/store/tickets.cjs +1 -1
  274. package/dist/prometheus-framework/src/modules/events/store/tickets.js +1 -1
  275. package/dist/prometheus-framework/src/modules/gallery/components/pages/Gallery.vue.cjs +1 -1
  276. package/dist/prometheus-framework/src/modules/gallery/components/pages/Gallery.vue.js +5 -5
  277. package/dist/prometheus-framework/src/modules/gallery/components/sections/BackofficeGallery.vue.cjs +1 -1
  278. package/dist/prometheus-framework/src/modules/gallery/components/sections/BackofficeGallery.vue.js +10 -10
  279. package/dist/prometheus-framework/src/modules/gallery/router/gallery.backoffice.router.cjs +1 -0
  280. package/dist/prometheus-framework/src/modules/gallery/router/gallery.backoffice.router.js +18 -0
  281. package/dist/prometheus-framework/src/modules/globals/components/blocks/BlockFilter.vue.cjs +1 -0
  282. package/dist/prometheus-framework/src/modules/globals/components/blocks/BlockFilter.vue.js +46 -0
  283. package/dist/prometheus-framework/src/modules/globals/components/blocks/CardHeader.vue.cjs +1 -1
  284. package/dist/prometheus-framework/src/modules/globals/components/blocks/CardHeader.vue.js +21 -17
  285. package/dist/prometheus-framework/src/modules/landing/components/elements/AnimatedGrid.vue.cjs +1 -1
  286. package/dist/prometheus-framework/src/modules/landing/components/elements/AnimatedGrid.vue.js +1 -1
  287. package/dist/prometheus-framework/src/modules/landing/components/sections/MobileApp.vue.cjs +1 -1
  288. package/dist/prometheus-framework/src/modules/landing/components/sections/MobileApp.vue.js +3 -3
  289. package/dist/prometheus-framework/src/modules/landing/components/sections/SubscribeNewsletter.vue.cjs +1 -1
  290. package/dist/prometheus-framework/src/modules/landing/components/sections/SubscribeNewsletter.vue.js +11 -11
  291. package/dist/prometheus-framework/src/modules/legal/components/pages/Legal.vue.cjs +1 -1
  292. package/dist/prometheus-framework/src/modules/legal/components/pages/Legal.vue.js +5 -5
  293. package/dist/prometheus-framework/src/modules/marketplace/store/marketplace.cjs +1 -1
  294. package/dist/prometheus-framework/src/modules/marketplace/store/marketplace.js +27 -4
  295. package/dist/prometheus-framework/src/modules/middlewares/client/auth.validation.cjs +1 -1
  296. package/dist/prometheus-framework/src/modules/middlewares/client/auth.validation.js +14 -12
  297. package/dist/prometheus-framework/src/modules/orders/components/blocks/CardOrder.vue.cjs +1 -1
  298. package/dist/prometheus-framework/src/modules/orders/components/blocks/CardOrder.vue.js +1 -1
  299. package/dist/prometheus-framework/src/modules/orders/components/pages/Order.vue.cjs +1 -1
  300. package/dist/prometheus-framework/src/modules/orders/components/pages/Order.vue.js +1 -1
  301. package/dist/prometheus-framework/src/modules/orders/components/pages/OrderBackoffice.vue.cjs +1 -1
  302. package/dist/prometheus-framework/src/modules/orders/components/pages/OrderBackoffice.vue.js +32 -32
  303. package/dist/prometheus-framework/src/modules/orders/components/pages/OrderCreate.vue.cjs +1 -1
  304. package/dist/prometheus-framework/src/modules/orders/components/pages/OrderCreate.vue.js +110 -94
  305. package/dist/prometheus-framework/src/modules/orders/components/pages/OrderCreateBackoffice.vue.cjs +1 -1
  306. package/dist/prometheus-framework/src/modules/orders/components/pages/OrderCreateBackoffice.vue.js +5 -5
  307. package/dist/prometheus-framework/src/modules/orders/components/pages/Orders.vue.cjs +1 -1
  308. package/dist/prometheus-framework/src/modules/orders/components/pages/Orders.vue.js +3 -3
  309. package/dist/prometheus-framework/src/modules/orders/components/partials/ShopCart.vue.cjs +1 -1
  310. package/dist/prometheus-framework/src/modules/orders/components/partials/ShopCart.vue.js +1 -1
  311. package/dist/prometheus-framework/src/modules/orders/components/sections/AskToLogin.vue.cjs +1 -1
  312. package/dist/prometheus-framework/src/modules/orders/components/sections/AskToLogin.vue.js +13 -14
  313. package/dist/prometheus-framework/src/modules/orders/components/sections/FormAddCustomer.vue.cjs +1 -1
  314. package/dist/prometheus-framework/src/modules/orders/components/sections/FormAddCustomer.vue.js +2 -2
  315. package/dist/prometheus-framework/src/modules/orders/components/sections/FormDelivery.vue.cjs +1 -1
  316. package/dist/prometheus-framework/src/modules/orders/components/sections/FormDelivery.vue.js +20 -22
  317. package/dist/prometheus-framework/src/modules/orders/router/orders.router.cjs +1 -1
  318. package/dist/prometheus-framework/src/modules/orders/router/orders.router.js +5 -4
  319. package/dist/prometheus-framework/src/modules/orders/store/applications.cjs +1 -1
  320. package/dist/prometheus-framework/src/modules/orders/store/applications.js +1 -1
  321. package/dist/prometheus-framework/src/modules/orders/store/orders.cjs +1 -1
  322. package/dist/prometheus-framework/src/modules/orders/store/orders.js +1 -1
  323. package/dist/prometheus-framework/src/modules/organizations/components/blocks/CardDepartment.vue.cjs +1 -1
  324. package/dist/prometheus-framework/src/modules/organizations/components/blocks/CardDepartment.vue.js +3 -3
  325. package/dist/prometheus-framework/src/modules/organizations/components/blocks/DepartmentSub.vue.cjs +1 -1
  326. package/dist/prometheus-framework/src/modules/organizations/components/blocks/DepartmentSub.vue.js +1 -1
  327. package/dist/prometheus-framework/src/modules/organizations/components/blocks/EditArray.vue.cjs +1 -1
  328. package/dist/prometheus-framework/src/modules/organizations/components/blocks/EditArray.vue.js +1 -1
  329. package/dist/prometheus-framework/src/modules/organizations/components/pages/Department.vue.cjs +1 -1
  330. package/dist/prometheus-framework/src/modules/organizations/components/pages/Department.vue.js +1 -1
  331. package/dist/prometheus-framework/src/modules/organizations/components/pages/DepartmentEdit.vue.cjs +1 -1
  332. package/dist/prometheus-framework/src/modules/organizations/components/pages/DepartmentEdit.vue.js +9 -9
  333. package/dist/prometheus-framework/src/modules/organizations/components/pages/Members.vue.cjs +1 -1
  334. package/dist/prometheus-framework/src/modules/organizations/components/pages/Members.vue.js +5 -5
  335. package/dist/prometheus-framework/src/modules/organizations/components/pages/Organization.vue.cjs +1 -1
  336. package/dist/prometheus-framework/src/modules/organizations/components/pages/Organization.vue.js +5 -5
  337. package/dist/prometheus-framework/src/modules/organizations/components/pages/OrganizationBackoffice.vue.cjs +1 -0
  338. package/dist/prometheus-framework/src/modules/organizations/components/pages/OrganizationBackoffice.vue.js +154 -0
  339. package/dist/prometheus-framework/src/modules/organizations/components/pages/OrganizationEdit.vue.cjs +1 -1
  340. package/dist/prometheus-framework/src/modules/organizations/components/pages/OrganizationEdit.vue.js +4 -4
  341. package/dist/prometheus-framework/src/modules/organizations/components/sections/Documents.vue.cjs +1 -1
  342. package/dist/prometheus-framework/src/modules/organizations/components/sections/Documents.vue.js +4 -4
  343. package/dist/prometheus-framework/src/modules/organizations/components/sections/Feed.vue.cjs +1 -1
  344. package/dist/prometheus-framework/src/modules/organizations/components/sections/Feed.vue.js +1 -1
  345. package/dist/prometheus-framework/src/modules/organizations/components/sections/MembersAdd.vue.cjs +1 -1
  346. package/dist/prometheus-framework/src/modules/organizations/components/sections/MembersAdd.vue.js +1 -1
  347. package/dist/prometheus-framework/src/modules/organizations/components/sections/Organizations.vue.cjs +1 -1
  348. package/dist/prometheus-framework/src/modules/organizations/components/sections/Organizations.vue.js +10 -10
  349. package/dist/prometheus-framework/src/modules/organizations/components/sections/Publics.vue.cjs +1 -1
  350. package/dist/prometheus-framework/src/modules/organizations/components/sections/Publics.vue.js +1 -1
  351. package/dist/prometheus-framework/src/modules/organizations/router/backoffice.router.cjs +1 -0
  352. package/dist/prometheus-framework/src/modules/organizations/router/backoffice.router.js +27 -0
  353. package/dist/prometheus-framework/src/modules/organizations/router/organizations.cjs +1 -1
  354. package/dist/prometheus-framework/src/modules/organizations/router/organizations.js +9 -7
  355. package/dist/prometheus-framework/src/modules/organizations/store/departments.cjs +1 -1
  356. package/dist/prometheus-framework/src/modules/organizations/store/departments.js +1 -1
  357. package/dist/prometheus-framework/src/modules/organizations/store/invites.cjs +1 -1
  358. package/dist/prometheus-framework/src/modules/organizations/store/invites.js +1 -1
  359. package/dist/prometheus-framework/src/modules/organizations/store/memberships.cjs +1 -1
  360. package/dist/prometheus-framework/src/modules/organizations/store/memberships.js +1 -1
  361. package/dist/prometheus-framework/src/modules/organizations/store/organizations.cjs +1 -1
  362. package/dist/prometheus-framework/src/modules/organizations/store/organizations.js +1 -1
  363. package/dist/prometheus-framework/src/modules/products/components/blocks/CardLeftover.vue.cjs +1 -1
  364. package/dist/prometheus-framework/src/modules/products/components/blocks/CardLeftover.vue.js +1 -1
  365. package/dist/prometheus-framework/src/modules/products/components/blocks/CardPosition.vue.cjs +1 -1
  366. package/dist/prometheus-framework/src/modules/products/components/blocks/CardPosition.vue.js +1 -1
  367. package/dist/prometheus-framework/src/modules/products/components/blocks/Images360.vue.cjs +1 -1
  368. package/dist/prometheus-framework/src/modules/products/components/blocks/Images360.vue.js +2 -3
  369. package/dist/prometheus-framework/src/modules/products/components/blocks/ImagesThumbnails.vue.cjs +1 -1
  370. package/dist/prometheus-framework/src/modules/products/components/blocks/ImagesThumbnails.vue.js +27 -28
  371. package/dist/prometheus-framework/src/modules/products/components/blocks/LeftoverPositions.vue.cjs +1 -1
  372. package/dist/prometheus-framework/src/modules/products/components/blocks/LeftoverPositions.vue.js +1 -1
  373. package/dist/prometheus-framework/src/modules/products/components/blocks/ListPositions.vue.cjs +1 -1
  374. package/dist/prometheus-framework/src/modules/products/components/blocks/ListPositions.vue.js +2 -2
  375. package/dist/prometheus-framework/src/modules/products/components/elements/Price.vue.cjs +1 -1
  376. package/dist/prometheus-framework/src/modules/products/components/elements/Price.vue.js +1 -1
  377. package/dist/prometheus-framework/src/modules/products/components/elements/THC.vue.cjs +1 -1
  378. package/dist/prometheus-framework/src/modules/products/components/elements/THC.vue.js +1 -1
  379. package/dist/prometheus-framework/src/modules/products/components/pages/CategoryEdit.vue.cjs +1 -1
  380. package/dist/prometheus-framework/src/modules/products/components/pages/CategoryEdit.vue.js +1 -1
  381. package/dist/prometheus-framework/src/modules/products/components/pages/EditLeftover.vue.cjs +1 -1
  382. package/dist/prometheus-framework/src/modules/products/components/pages/EditLeftover.vue.js +3 -3
  383. package/dist/prometheus-framework/src/modules/products/components/pages/Leftovers.vue.cjs +1 -1
  384. package/dist/prometheus-framework/src/modules/products/components/pages/Leftovers.vue.js +1 -1
  385. package/dist/prometheus-framework/src/modules/products/components/pages/Product.vue.cjs +1 -1
  386. package/dist/prometheus-framework/src/modules/products/components/pages/Product.vue.js +23 -24
  387. package/dist/prometheus-framework/src/modules/products/components/pages/ProductEdit.vue.cjs +1 -1
  388. package/dist/prometheus-framework/src/modules/products/components/pages/ProductEdit.vue.js +4 -4
  389. package/dist/prometheus-framework/src/modules/products/components/pages/ProductRecommmendation.vue.cjs +1 -1
  390. package/dist/prometheus-framework/src/modules/products/components/pages/ProductRecommmendation.vue.js +33 -32
  391. package/dist/prometheus-framework/src/modules/products/components/sections/EditProductInfo.vue.cjs +1 -1
  392. package/dist/prometheus-framework/src/modules/products/components/sections/EditProductInfo.vue.js +2 -2
  393. package/dist/prometheus-framework/src/modules/products/components/sections/FilterProducts.vue.cjs +1 -1
  394. package/dist/prometheus-framework/src/modules/products/components/sections/FilterProducts.vue.js +73 -52
  395. package/dist/prometheus-framework/src/modules/products/components/sections/HeroRecommendation.vue.cjs +1 -1
  396. package/dist/prometheus-framework/src/modules/products/components/sections/HeroRecommendation.vue.js +6 -6
  397. package/dist/prometheus-framework/src/modules/products/components/sections/PopularProducts.vue.cjs +1 -1
  398. package/dist/prometheus-framework/src/modules/products/components/sections/PopularProducts.vue.js +52 -54
  399. package/dist/prometheus-framework/src/modules/products/components/sections/SectionProduct.vue.cjs +1 -1
  400. package/dist/prometheus-framework/src/modules/products/components/sections/SectionProduct.vue.js +23 -23
  401. package/dist/prometheus-framework/src/modules/products/store/categories.cjs +1 -1
  402. package/dist/prometheus-framework/src/modules/products/store/categories.js +1 -1
  403. package/dist/prometheus-framework/src/modules/products/store/leftovers.cjs +1 -1
  404. package/dist/prometheus-framework/src/modules/products/store/leftovers.js +1 -1
  405. package/dist/prometheus-framework/src/modules/products/store/products.cjs +1 -1
  406. package/dist/prometheus-framework/src/modules/products/store/products.js +1 -1
  407. package/dist/prometheus-framework/src/modules/reports/components/sections/FormReport.vue.cjs +1 -1
  408. package/dist/prometheus-framework/src/modules/reports/components/sections/FormReport.vue.js +1 -1
  409. package/dist/prometheus-framework/src/modules/reports/store/reports.cjs +1 -1
  410. package/dist/prometheus-framework/src/modules/reports/store/reports.js +1 -1
  411. package/dist/prometheus-framework/src/modules/spots/components/blocks/CardSpot.vue.cjs +1 -1
  412. package/dist/prometheus-framework/src/modules/spots/components/blocks/CardSpot.vue.js +1 -1
  413. package/dist/prometheus-framework/src/modules/spots/store/spots.cjs +1 -1
  414. package/dist/prometheus-framework/src/modules/spots/store/spots.js +1 -1
  415. package/dist/prometheus-framework/src/modules/users/components/pages/Profile.vue.cjs +1 -1
  416. package/dist/prometheus-framework/src/modules/users/components/pages/Profile.vue.js +64 -50
  417. package/dist/prometheus-framework/src/modules/users/components/pages/ProfileEdit.vue.cjs +1 -1
  418. package/dist/prometheus-framework/src/modules/users/components/pages/ProfileEdit.vue.js +44 -45
  419. package/dist/prometheus-framework/src/modules/users/components/sections/FeaturedUsers.vue.cjs +1 -1
  420. package/dist/prometheus-framework/src/modules/users/components/sections/FeaturedUsers.vue.js +1 -1
  421. package/dist/prometheus-framework/src/modules/users/store/users.cjs +1 -1
  422. package/dist/prometheus-framework/src/modules/users/store/users.js +1 -1
  423. package/dist/prometheus-framework/src/modules/wallet/views/components/pages/Payments.vue.cjs +1 -1
  424. package/dist/prometheus-framework/src/modules/wallet/views/components/pages/Payments.vue.js +1 -1
  425. package/dist/prometheus-framework/src/modules/wallet/views/components/pages/Wallet.vue.cjs +1 -1
  426. package/dist/prometheus-framework/src/modules/wallet/views/components/pages/Wallet.vue.js +39 -85
  427. package/dist/prometheus-framework/src/modules/wallet/views/store/payments.store.cjs +1 -1
  428. package/dist/prometheus-framework/src/modules/wallet/views/store/payments.store.js +1 -1
  429. package/dist/prometheus-framework/src/modules/wallet/views/store/wallet.store.cjs +1 -1
  430. package/dist/prometheus-framework/src/modules/wallet/views/store/wallet.store.js +1 -1
  431. package/dist/prometheus-framework.cjs.js +1 -1
  432. package/dist/prometheus-framework.es.js +24 -25
  433. package/dist/reports.server.js +3 -5
  434. package/dist/reports.server.mjs +3 -5
  435. package/dist/style.css +1 -1
  436. package/dist/users.server.js +2 -4
  437. package/dist/users.server.mjs +2 -4
  438. package/dist/wallet.server.js +7 -13
  439. package/dist/wallet.server.mjs +7 -13
  440. package/dist/{web-BNKN7kk3.mjs → web-Be96Xqd4.mjs} +1 -1
  441. package/dist/{web-Bk_OtXgv.js → web-CgjTW1bL.js} +1 -1
  442. package/package.json +2 -2
  443. package/src/{modules/mobile/components → components}/BottomSheet/BottomSheet.vue +24 -21
  444. package/src/components/Button/Button.vue +20 -3
  445. package/src/components/Feed/Feed.vue +28 -3
  446. package/src/components/FieldBig/FieldBig.vue +2 -2
  447. package/src/components/Sidebar/Sidebar.vue +13 -5
  448. package/src/components/index.js +0 -1
  449. package/src/main.js +0 -7
  450. package/src/modules/auth/controllers/auth.controller.js +14 -16
  451. package/src/modules/auth/router/auth.js +1 -4
  452. package/src/modules/auth/store/auth.js +28 -24
  453. package/src/modules/backoffice/components/pages/Dashboard.vue +29 -56
  454. package/src/modules/backoffice/router/backoffice.js +4 -15
  455. package/src/modules/community/components/blocks/CardBlogpost.vue +28 -26
  456. package/src/modules/community/components/layouts/Community.vue +1 -1
  457. package/src/modules/events/components/pages/EditEvent.vue +1 -1
  458. package/src/modules/gallery/components/pages/Gallery.vue +1 -2
  459. package/src/modules/gallery/components/sections/BackofficeGallery.vue +2 -1
  460. package/src/modules/gallery/router/gallery.backoffice.router.js +14 -0
  461. package/src/modules/globals/components/blocks/BlockFilter.vue +44 -0
  462. package/src/modules/globals/components/blocks/CardHeader.vue +5 -3
  463. package/src/modules/globals/components/layouts/Client.vue +99 -43
  464. package/src/modules/globals/components/pages/401.vue +5 -0
  465. package/src/modules/globals/components/pages/404.vue +5 -0
  466. package/src/modules/globals/components/partials/Footer.vue +17 -5
  467. package/src/modules/globals/components/partials/Header.vue +37 -18
  468. package/src/modules/globals/components/partials/Navigation.vue +7 -2
  469. package/src/modules/landing/components/sections/MobileApp.vue +2 -2
  470. package/src/modules/landing/components/sections/SubscribeNewsletter.vue +1 -1
  471. package/src/modules/landing/router/landing.js +2 -12
  472. package/src/modules/legal/components/pages/Legal.vue +2 -2
  473. package/src/modules/marketplace/components/layouts/Marketplace.vue +30 -13
  474. package/src/modules/marketplace/components/pages/Catalog.vue +2 -1
  475. package/src/modules/marketplace/router/marketplace.js +12 -10
  476. package/src/modules/marketplace/store/marketplace.js +25 -1
  477. package/src/modules/middlewares/client/auth.validation.js +5 -2
  478. package/src/modules/middlewares/server/authJwt.js +12 -6
  479. package/src/modules/middlewares/server/verifyAccesses.js +7 -3
  480. package/src/modules/orders/components/pages/OrderCreate.vue +34 -22
  481. package/src/modules/orders/components/sections/AskToLogin.vue +8 -7
  482. package/src/modules/orders/components/sections/FormDelivery.vue +6 -6
  483. package/src/modules/orders/router/orders.router.js +6 -3
  484. package/src/modules/organizations/components/pages/Members.vue +2 -2
  485. package/src/modules/organizations/components/pages/Organization.vue +2 -2
  486. package/src/modules/organizations/components/pages/OrganizationBackoffice.vue +204 -0
  487. package/src/modules/organizations/router/backoffice.router.js +25 -0
  488. package/src/modules/organizations/router/organizations.js +3 -1
  489. package/src/modules/pages/router/pages.router.js +15 -0
  490. package/src/modules/products/components/blocks/ImagesThumbnails.vue +11 -12
  491. package/src/modules/products/components/pages/Product.vue +7 -3
  492. package/src/modules/products/components/pages/ProductRecommmendation.vue +6 -5
  493. package/src/modules/products/components/sections/FilterProducts.vue +6 -6
  494. package/src/modules/products/components/sections/HeroRecommendation.vue +1 -1
  495. package/src/modules/products/components/sections/PopularProducts.vue +1 -3
  496. package/src/modules/products/components/sections/SectionProduct.vue +8 -8
  497. package/src/modules/spots/components/layouts/Spots.vue +33 -31
  498. package/src/modules/spots/components/pages/Map.vue +380 -353
  499. package/src/modules/spots/router/spots.js +3 -1
  500. package/src/modules/users/components/pages/Profile.vue +4 -4
  501. package/src/modules/users/components/pages/ProfileEdit.vue +4 -3
  502. package/src/modules/wallet/controllers/routes/payments.routes.js +0 -1
  503. package/src/styles/base/all.scss +4 -0
  504. package/src/styles/config.scss +2 -1
  505. package/src/styles/layout.scss +0 -1
  506. package/dist/_virtual/browser-ponyfill.cjs +0 -1
  507. package/dist/_virtual/browser-ponyfill.js +0 -4
  508. package/dist/_virtual/crc32.cjs +0 -1
  509. package/dist/_virtual/crc32.js +0 -4
  510. package/dist/_virtual/index.cjs +0 -1
  511. package/dist/_virtual/index.js +0 -4
  512. package/dist/_virtual/index2.cjs +0 -1
  513. package/dist/_virtual/index2.js +0 -4
  514. package/dist/credentials.schema-CDZCKfEI.mjs +0 -106
  515. package/dist/credentials.schema-CfhPcsuI.js +0 -105
  516. package/dist/index-CGIn4v5E.mjs +0 -217
  517. package/dist/index-CL9l0HRS.js +0 -216
  518. package/dist/main-8APITHuW.mjs +0 -14201
  519. package/dist/main-8N2Jmsuk.js +0 -91
  520. package/dist/main-BJvlNekm.mjs +0 -13631
  521. package/dist/main-BQisDfLk.js +0 -92
  522. package/dist/main-BV1Yv9Hy.js +0 -92
  523. package/dist/main-Ba3zK8PO.js +0 -92
  524. package/dist/main-Btlny-89.mjs +0 -14207
  525. package/dist/main-Bw0PvTs-.mjs +0 -13616
  526. package/dist/main-ByCtZbHD.mjs +0 -13752
  527. package/dist/main-CF35oB7q.js +0 -92
  528. package/dist/main-CX2ISR43.mjs +0 -13629
  529. package/dist/main-CXObXjv-.js +0 -92
  530. package/dist/main-CkeuHuCY.mjs +0 -13619
  531. package/dist/main-CmL_j3wv.mjs +0 -14223
  532. package/dist/main-CnfcBov2.mjs +0 -13740
  533. package/dist/main-D0va05OD.js +0 -92
  534. package/dist/main-D50VqYhy.js +0 -91
  535. package/dist/main-D8gNZLSa.js +0 -92
  536. package/dist/main-DL3vRQCi.js +0 -92
  537. package/dist/main-DPsHxX0l.mjs +0 -13633
  538. package/dist/main-DTlUA63C.mjs +0 -13617
  539. package/dist/main-DfD5hLQo.mjs +0 -13633
  540. package/dist/main-Dh6Zfei9.js +0 -92
  541. package/dist/main-DmNP-t33.mjs +0 -13625
  542. package/dist/main-DwyUYWFX.js +0 -92
  543. package/dist/main-VcxO-jAt.js +0 -92
  544. package/dist/main-cffh4bbv.js +0 -92
  545. package/dist/main-o_2eO2tP.mjs +0 -14208
  546. package/dist/main-pGo7JpSP.js +0 -92
  547. package/dist/metadata.schema-BLGSCSmy.mjs +0 -55
  548. package/dist/metadata.schema-Cu_mPkjE.js +0 -77
  549. package/dist/metadata.schema-DWR97jhW.js +0 -54
  550. package/dist/metadata.schema-cbFgazeK.mjs +0 -78
  551. package/dist/node_modules/@adraffy/ens-normalize/dist/index.cjs +0 -1
  552. package/dist/node_modules/@adraffy/ens-normalize/dist/index.js +0 -561
  553. package/dist/node_modules/@ethereumjs/rlp/dist/index.cjs +0 -1
  554. package/dist/node_modules/@ethereumjs/rlp/dist/index.js +0 -164
  555. package/dist/node_modules/@noble/curves/esm/_shortw_utils.cjs +0 -1
  556. package/dist/node_modules/@noble/curves/esm/_shortw_utils.js +0 -19
  557. package/dist/node_modules/@noble/curves/esm/abstract/curve.cjs +0 -1
  558. package/dist/node_modules/@noble/curves/esm/abstract/curve.js +0 -88
  559. package/dist/node_modules/@noble/curves/esm/abstract/modular.cjs +0 -1
  560. package/dist/node_modules/@noble/curves/esm/abstract/modular.js +0 -221
  561. package/dist/node_modules/@noble/curves/esm/abstract/utils.cjs +0 -1
  562. package/dist/node_modules/@noble/curves/esm/abstract/utils.js +0 -201
  563. package/dist/node_modules/@noble/curves/esm/abstract/weierstrass.cjs +0 -1
  564. package/dist/node_modules/@noble/curves/esm/abstract/weierstrass.js +0 -581
  565. package/dist/node_modules/@noble/curves/esm/secp256k1.cjs +0 -1
  566. package/dist/node_modules/@noble/curves/esm/secp256k1.js +0 -50
  567. package/dist/node_modules/@noble/hashes/esm/_assert.cjs +0 -1
  568. package/dist/node_modules/@noble/hashes/esm/_assert.js +0 -44
  569. package/dist/node_modules/@noble/hashes/esm/_sha2.cjs +0 -1
  570. package/dist/node_modules/@noble/hashes/esm/_sha2.js +0 -61
  571. package/dist/node_modules/@noble/hashes/esm/_u64.cjs +0 -1
  572. package/dist/node_modules/@noble/hashes/esm/_u64.js +0 -21
  573. package/dist/node_modules/@noble/hashes/esm/crypto.cjs +0 -1
  574. package/dist/node_modules/@noble/hashes/esm/crypto.js +0 -4
  575. package/dist/node_modules/@noble/hashes/esm/hmac.cjs +0 -1
  576. package/dist/node_modules/@noble/hashes/esm/hmac.js +0 -43
  577. package/dist/node_modules/@noble/hashes/esm/pbkdf2.cjs +0 -1
  578. package/dist/node_modules/@noble/hashes/esm/pbkdf2.js +0 -32
  579. package/dist/node_modules/@noble/hashes/esm/scrypt.cjs +0 -1
  580. package/dist/node_modules/@noble/hashes/esm/scrypt.js +0 -73
  581. package/dist/node_modules/@noble/hashes/esm/sha256.cjs +0 -1
  582. package/dist/node_modules/@noble/hashes/esm/sha256.js +0 -114
  583. package/dist/node_modules/@noble/hashes/esm/sha3.cjs +0 -1
  584. package/dist/node_modules/@noble/hashes/esm/sha3.js +0 -107
  585. package/dist/node_modules/@noble/hashes/esm/sha512.cjs +0 -1
  586. package/dist/node_modules/@noble/hashes/esm/sha512.js +0 -126
  587. package/dist/node_modules/@noble/hashes/esm/utils.cjs +0 -1
  588. package/dist/node_modules/@noble/hashes/esm/utils.js +0 -68
  589. package/dist/node_modules/abitype/dist/chunk-NHABU752.cjs +0 -1
  590. package/dist/node_modules/abitype/dist/chunk-NHABU752.js +0 -4
  591. package/dist/node_modules/abitype/dist/chunk-WP7KDV47.cjs +0 -1
  592. package/dist/node_modules/abitype/dist/chunk-WP7KDV47.js +0 -11
  593. package/dist/node_modules/abitype/dist/index.cjs +0 -2
  594. package/dist/node_modules/abitype/dist/index.js +0 -299
  595. package/dist/node_modules/crc-32/crc32.cjs +0 -1
  596. package/dist/node_modules/crc-32/crc32.js +0 -51
  597. package/dist/node_modules/cross-fetch/dist/browser-ponyfill.cjs +0 -2
  598. package/dist/node_modules/cross-fetch/dist/browser-ponyfill.js +0 -320
  599. package/dist/node_modules/ethereum-cryptography/esm/aes.cjs +0 -1
  600. package/dist/node_modules/ethereum-cryptography/esm/aes.js +0 -61
  601. package/dist/node_modules/ethereum-cryptography/esm/keccak.cjs +0 -1
  602. package/dist/node_modules/ethereum-cryptography/esm/keccak.js +0 -9
  603. package/dist/node_modules/ethereum-cryptography/esm/pbkdf2.cjs +0 -1
  604. package/dist/node_modules/ethereum-cryptography/esm/pbkdf2.js +0 -14
  605. package/dist/node_modules/ethereum-cryptography/esm/random.cjs +0 -1
  606. package/dist/node_modules/ethereum-cryptography/esm/random.js +0 -7
  607. package/dist/node_modules/ethereum-cryptography/esm/scrypt.cjs +0 -1
  608. package/dist/node_modules/ethereum-cryptography/esm/scrypt.js +0 -8
  609. package/dist/node_modules/ethereum-cryptography/esm/secp256k1.cjs +0 -1
  610. package/dist/node_modules/ethereum-cryptography/esm/secp256k1.js +0 -4
  611. package/dist/node_modules/ethereum-cryptography/esm/utils.cjs +0 -1
  612. package/dist/node_modules/ethereum-cryptography/esm/utils.js +0 -31
  613. package/dist/node_modules/eventemitter3/index.cjs +0 -1
  614. package/dist/node_modules/eventemitter3/index.js +0 -117
  615. package/dist/node_modules/eventemitter3/index2.cjs +0 -1
  616. package/dist/node_modules/eventemitter3/index2.js +0 -5
  617. package/dist/node_modules/isomorphic-ws/browser.cjs +0 -1
  618. package/dist/node_modules/isomorphic-ws/browser.js +0 -6
  619. package/dist/node_modules/setimmediate/setImmediate.cjs +0 -1
  620. package/dist/node_modules/setimmediate/setImmediate.js +0 -99
  621. package/dist/node_modules/vue-meta/dist/vue-meta.esm-browser.min.cjs +0 -7
  622. package/dist/node_modules/vue-meta/dist/vue-meta.esm-browser.min.js +0 -38
  623. package/dist/node_modules/web3/lib/esm/abi.cjs +0 -1
  624. package/dist/node_modules/web3/lib/esm/abi.js +0 -19
  625. package/dist/node_modules/web3/lib/esm/accounts.cjs +0 -1
  626. package/dist/node_modules/web3/lib/esm/accounts.js +0 -107
  627. package/dist/node_modules/web3/lib/esm/index.cjs +0 -1
  628. package/dist/node_modules/web3/lib/esm/index.js +0 -81
  629. package/dist/node_modules/web3/lib/esm/version.cjs +0 -1
  630. package/dist/node_modules/web3/lib/esm/version.js +0 -4
  631. package/dist/node_modules/web3/lib/esm/web3.cjs +0 -1
  632. package/dist/node_modules/web3/lib/esm/web3.js +0 -91
  633. package/dist/node_modules/web3/lib/esm/web3_eip6963.cjs +0 -1
  634. package/dist/node_modules/web3/lib/esm/web3_eip6963.js +0 -50
  635. package/dist/node_modules/web3-core/lib/esm/utils.cjs +0 -1
  636. package/dist/node_modules/web3-core/lib/esm/utils.js +0 -13
  637. package/dist/node_modules/web3-core/lib/esm/web3_batch_request.cjs +0 -1
  638. package/dist/node_modules/web3-core/lib/esm/web3_batch_request.js +0 -83
  639. package/dist/node_modules/web3-core/lib/esm/web3_config.cjs +0 -1
  640. package/dist/node_modules/web3-core/lib/esm/web3_config.js +0 -356
  641. package/dist/node_modules/web3-core/lib/esm/web3_context.cjs +0 -1
  642. package/dist/node_modules/web3-core/lib/esm/web3_context.js +0 -245
  643. package/dist/node_modules/web3-core/lib/esm/web3_event_emitter.cjs +0 -1
  644. package/dist/node_modules/web3-core/lib/esm/web3_event_emitter.js +0 -39
  645. package/dist/node_modules/web3-core/lib/esm/web3_promi_event.cjs +0 -1
  646. package/dist/node_modules/web3-core/lib/esm/web3_promi_event.js +0 -58
  647. package/dist/node_modules/web3-core/lib/esm/web3_request_manager.cjs +0 -1
  648. package/dist/node_modules/web3-core/lib/esm/web3_request_manager.js +0 -245
  649. package/dist/node_modules/web3-core/lib/esm/web3_subscription_manager.cjs +0 -1
  650. package/dist/node_modules/web3-core/lib/esm/web3_subscription_manager.js +0 -155
  651. package/dist/node_modules/web3-core/lib/esm/web3_subscriptions.cjs +0 -1
  652. package/dist/node_modules/web3-core/lib/esm/web3_subscriptions.js +0 -111
  653. package/dist/node_modules/web3-errors/lib/esm/error_codes.cjs +0 -1
  654. package/dist/node_modules/web3-errors/lib/esm/error_codes.js +0 -108
  655. package/dist/node_modules/web3-errors/lib/esm/errors/account_errors.cjs +0 -1
  656. package/dist/node_modules/web3-errors/lib/esm/errors/account_errors.js +0 -58
  657. package/dist/node_modules/web3-errors/lib/esm/errors/connection_errors.cjs +0 -1
  658. package/dist/node_modules/web3-errors/lib/esm/errors/connection_errors.js +0 -37
  659. package/dist/node_modules/web3-errors/lib/esm/errors/contract_errors.cjs +0 -1
  660. package/dist/node_modules/web3-errors/lib/esm/errors/contract_errors.js +0 -49
  661. package/dist/node_modules/web3-errors/lib/esm/errors/core_errors.cjs +0 -1
  662. package/dist/node_modules/web3-errors/lib/esm/errors/core_errors.js +0 -16
  663. package/dist/node_modules/web3-errors/lib/esm/errors/ens_errors.cjs +0 -1
  664. package/dist/node_modules/web3-errors/lib/esm/errors/ens_errors.js +0 -16
  665. package/dist/node_modules/web3-errors/lib/esm/errors/generic_errors.cjs +0 -1
  666. package/dist/node_modules/web3-errors/lib/esm/errors/generic_errors.js +0 -49
  667. package/dist/node_modules/web3-errors/lib/esm/errors/provider_errors.cjs +0 -1
  668. package/dist/node_modules/web3-errors/lib/esm/errors/provider_errors.js +0 -28
  669. package/dist/node_modules/web3-errors/lib/esm/errors/response_errors.cjs +0 -1
  670. package/dist/node_modules/web3-errors/lib/esm/errors/response_errors.js +0 -30
  671. package/dist/node_modules/web3-errors/lib/esm/errors/rpc_error_messages.cjs +0 -1
  672. package/dist/node_modules/web3-errors/lib/esm/errors/rpc_error_messages.js +0 -161
  673. package/dist/node_modules/web3-errors/lib/esm/errors/rpc_errors.cjs +0 -1
  674. package/dist/node_modules/web3-errors/lib/esm/errors/rpc_errors.js +0 -129
  675. package/dist/node_modules/web3-errors/lib/esm/errors/schema_errors.cjs +0 -1
  676. package/dist/node_modules/web3-errors/lib/esm/errors/schema_errors.js +0 -13
  677. package/dist/node_modules/web3-errors/lib/esm/errors/signature_errors.cjs +0 -1
  678. package/dist/node_modules/web3-errors/lib/esm/errors/signature_errors.js +0 -10
  679. package/dist/node_modules/web3-errors/lib/esm/errors/transaction_errors.cjs +0 -5
  680. package/dist/node_modules/web3-errors/lib/esm/errors/transaction_errors.js +0 -256
  681. package/dist/node_modules/web3-errors/lib/esm/errors/utils_errors.cjs +0 -1
  682. package/dist/node_modules/web3-errors/lib/esm/errors/utils_errors.js +0 -82
  683. package/dist/node_modules/web3-errors/lib/esm/web3_error_base.cjs +0 -1
  684. package/dist/node_modules/web3-errors/lib/esm/web3_error_base.js +0 -49
  685. package/dist/node_modules/web3-eth/lib/esm/constants.cjs +0 -1
  686. package/dist/node_modules/web3-eth/lib/esm/constants.js +0 -14
  687. package/dist/node_modules/web3-eth/lib/esm/rpc_method_wrappers.cjs +0 -1
  688. package/dist/node_modules/web3-eth/lib/esm/rpc_method_wrappers.js +0 -424
  689. package/dist/node_modules/web3-eth/lib/esm/schemas.cjs +0 -1
  690. package/dist/node_modules/web3-eth/lib/esm/schemas.js +0 -595
  691. package/dist/node_modules/web3-eth/lib/esm/utils/decode_signed_transaction.cjs +0 -1
  692. package/dist/node_modules/web3-eth/lib/esm/utils/decode_signed_transaction.js +0 -31
  693. package/dist/node_modules/web3-eth/lib/esm/utils/decoding.cjs +0 -1
  694. package/dist/node_modules/web3-eth/lib/esm/utils/decoding.js +0 -34
  695. package/dist/node_modules/web3-eth/lib/esm/utils/detect_transaction_type.cjs +0 -1
  696. package/dist/node_modules/web3-eth/lib/esm/utils/detect_transaction_type.js +0 -90
  697. package/dist/node_modules/web3-eth/lib/esm/utils/format_transaction.cjs +0 -1
  698. package/dist/node_modules/web3-eth/lib/esm/utils/format_transaction.js +0 -30
  699. package/dist/node_modules/web3-eth/lib/esm/utils/get_revert_reason.cjs +0 -1
  700. package/dist/node_modules/web3-eth/lib/esm/utils/get_revert_reason.js +0 -77
  701. package/dist/node_modules/web3-eth/lib/esm/utils/get_transaction_error.cjs +0 -1
  702. package/dist/node_modules/web3-eth/lib/esm/utils/get_transaction_error.js +0 -50
  703. package/dist/node_modules/web3-eth/lib/esm/utils/get_transaction_gas_pricing.cjs +0 -1
  704. package/dist/node_modules/web3-eth/lib/esm/utils/get_transaction_gas_pricing.js +0 -80
  705. package/dist/node_modules/web3-eth/lib/esm/utils/prepare_transaction_for_signing.cjs +0 -1
  706. package/dist/node_modules/web3-eth/lib/esm/utils/prepare_transaction_for_signing.js +0 -102
  707. package/dist/node_modules/web3-eth/lib/esm/utils/reject_if_block_timeout.cjs +0 -1
  708. package/dist/node_modules/web3-eth/lib/esm/utils/reject_if_block_timeout.js +0 -109
  709. package/dist/node_modules/web3-eth/lib/esm/utils/send_tx_helper.cjs +0 -1
  710. package/dist/node_modules/web3-eth/lib/esm/utils/send_tx_helper.js +0 -145
  711. package/dist/node_modules/web3-eth/lib/esm/utils/transaction_builder.cjs +0 -1
  712. package/dist/node_modules/web3-eth/lib/esm/utils/transaction_builder.js +0 -131
  713. package/dist/node_modules/web3-eth/lib/esm/utils/try_send_transaction.cjs +0 -1
  714. package/dist/node_modules/web3-eth/lib/esm/utils/try_send_transaction.js +0 -52
  715. package/dist/node_modules/web3-eth/lib/esm/utils/wait_for_transaction_receipt.cjs +0 -1
  716. package/dist/node_modules/web3-eth/lib/esm/utils/wait_for_transaction_receipt.js +0 -61
  717. package/dist/node_modules/web3-eth/lib/esm/utils/watch_transaction_by_polling.cjs +0 -1
  718. package/dist/node_modules/web3-eth/lib/esm/utils/watch_transaction_by_polling.js +0 -51
  719. package/dist/node_modules/web3-eth/lib/esm/utils/watch_transaction_by_subscription.cjs +0 -1
  720. package/dist/node_modules/web3-eth/lib/esm/utils/watch_transaction_by_subscription.js +0 -79
  721. package/dist/node_modules/web3-eth/lib/esm/utils/watch_transaction_for_confirmations.cjs +0 -1
  722. package/dist/node_modules/web3-eth/lib/esm/utils/watch_transaction_for_confirmations.js +0 -44
  723. package/dist/node_modules/web3-eth/lib/esm/validation.cjs +0 -1
  724. package/dist/node_modules/web3-eth/lib/esm/validation.js +0 -111
  725. package/dist/node_modules/web3-eth/lib/esm/web3_eth.cjs +0 -1
  726. package/dist/node_modules/web3-eth/lib/esm/web3_eth.js +0 -1661
  727. package/dist/node_modules/web3-eth/lib/esm/web3_subscriptions.cjs +0 -1
  728. package/dist/node_modules/web3-eth/lib/esm/web3_subscriptions.js +0 -65
  729. package/dist/node_modules/web3-eth-abi/lib/esm/api/errors_api.cjs +0 -1
  730. package/dist/node_modules/web3-eth-abi/lib/esm/api/errors_api.js +0 -13
  731. package/dist/node_modules/web3-eth-abi/lib/esm/api/events_api.cjs +0 -1
  732. package/dist/node_modules/web3-eth-abi/lib/esm/api/events_api.js +0 -13
  733. package/dist/node_modules/web3-eth-abi/lib/esm/api/functions_api.cjs +0 -1
  734. package/dist/node_modules/web3-eth-abi/lib/esm/api/functions_api.js +0 -26
  735. package/dist/node_modules/web3-eth-abi/lib/esm/api/logs_api.cjs +0 -1
  736. package/dist/node_modules/web3-eth-abi/lib/esm/api/logs_api.js +0 -14
  737. package/dist/node_modules/web3-eth-abi/lib/esm/api/parameters_api.cjs +0 -1
  738. package/dist/node_modules/web3-eth-abi/lib/esm/api/parameters_api.js +0 -24
  739. package/dist/node_modules/web3-eth-abi/lib/esm/coders/base/address.cjs +0 -1
  740. package/dist/node_modules/web3-eth-abi/lib/esm/coders/base/address.js +0 -47
  741. package/dist/node_modules/web3-eth-abi/lib/esm/coders/base/array.cjs +0 -1
  742. package/dist/node_modules/web3-eth-abi/lib/esm/coders/base/array.js +0 -72
  743. package/dist/node_modules/web3-eth-abi/lib/esm/coders/base/bool.cjs +0 -1
  744. package/dist/node_modules/web3-eth-abi/lib/esm/coders/base/bool.js +0 -37
  745. package/dist/node_modules/web3-eth-abi/lib/esm/coders/base/bytes.cjs +0 -1
  746. package/dist/node_modules/web3-eth-abi/lib/esm/coders/base/bytes.js +0 -66
  747. package/dist/node_modules/web3-eth-abi/lib/esm/coders/base/index.cjs +0 -1
  748. package/dist/node_modules/web3-eth-abi/lib/esm/coders/base/index.js +0 -67
  749. package/dist/node_modules/web3-eth-abi/lib/esm/coders/base/number.cjs +0 -1
  750. package/dist/node_modules/web3-eth-abi/lib/esm/coders/base/number.js +0 -85
  751. package/dist/node_modules/web3-eth-abi/lib/esm/coders/base/numbersLimits.cjs +0 -1
  752. package/dist/node_modules/web3-eth-abi/lib/esm/coders/base/numbersLimits.js +0 -15
  753. package/dist/node_modules/web3-eth-abi/lib/esm/coders/base/string.cjs +0 -1
  754. package/dist/node_modules/web3-eth-abi/lib/esm/coders/base/string.js +0 -22
  755. package/dist/node_modules/web3-eth-abi/lib/esm/coders/base/tuple.cjs +0 -1
  756. package/dist/node_modules/web3-eth-abi/lib/esm/coders/base/tuple.js +0 -77
  757. package/dist/node_modules/web3-eth-abi/lib/esm/coders/base/utils.cjs +0 -1
  758. package/dist/node_modules/web3-eth-abi/lib/esm/coders/base/utils.js +0 -15
  759. package/dist/node_modules/web3-eth-abi/lib/esm/coders/decode.cjs +0 -1
  760. package/dist/node_modules/web3-eth-abi/lib/esm/coders/decode.js +0 -16
  761. package/dist/node_modules/web3-eth-abi/lib/esm/coders/encode.cjs +0 -1
  762. package/dist/node_modules/web3-eth-abi/lib/esm/coders/encode.js +0 -50
  763. package/dist/node_modules/web3-eth-abi/lib/esm/coders/utils.cjs +0 -1
  764. package/dist/node_modules/web3-eth-abi/lib/esm/coders/utils.js +0 -58
  765. package/dist/node_modules/web3-eth-abi/lib/esm/decode_contract_error_data.cjs +0 -1
  766. package/dist/node_modules/web3-eth-abi/lib/esm/decode_contract_error_data.js +0 -18
  767. package/dist/node_modules/web3-eth-abi/lib/esm/utils.cjs +0 -1
  768. package/dist/node_modules/web3-eth-abi/lib/esm/utils.js +0 -39
  769. package/dist/node_modules/web3-eth-accounts/lib/esm/account.cjs +0 -2
  770. package/dist/node_modules/web3-eth-accounts/lib/esm/account.js +0 -223
  771. package/dist/node_modules/web3-eth-accounts/lib/esm/common/chains/goerli.cjs +0 -1
  772. package/dist/node_modules/web3-eth-accounts/lib/esm/common/chains/goerli.js +0 -99
  773. package/dist/node_modules/web3-eth-accounts/lib/esm/common/chains/mainnet.cjs +0 -1
  774. package/dist/node_modules/web3-eth-accounts/lib/esm/common/chains/mainnet.js +0 -115
  775. package/dist/node_modules/web3-eth-accounts/lib/esm/common/chains/sepolia.cjs +0 -1
  776. package/dist/node_modules/web3-eth-accounts/lib/esm/common/chains/sepolia.js +0 -102
  777. package/dist/node_modules/web3-eth-accounts/lib/esm/common/common.cjs +0 -1
  778. package/dist/node_modules/web3-eth-accounts/lib/esm/common/common.js +0 -741
  779. package/dist/node_modules/web3-eth-accounts/lib/esm/common/eips/1153.cjs +0 -1
  780. package/dist/node_modules/web3-eth-accounts/lib/esm/common/eips/1153.js +0 -25
  781. package/dist/node_modules/web3-eth-accounts/lib/esm/common/eips/1559.cjs +0 -1
  782. package/dist/node_modules/web3-eth-accounts/lib/esm/common/eips/1559.js +0 -29
  783. package/dist/node_modules/web3-eth-accounts/lib/esm/common/eips/2315.cjs +0 -1
  784. package/dist/node_modules/web3-eth-accounts/lib/esm/common/eips/2315.js +0 -28
  785. package/dist/node_modules/web3-eth-accounts/lib/esm/common/eips/2537.cjs +0 -1
  786. package/dist/node_modules/web3-eth-accounts/lib/esm/common/eips/2537.js +0 -181
  787. package/dist/node_modules/web3-eth-accounts/lib/esm/common/eips/2565.cjs +0 -1
  788. package/dist/node_modules/web3-eth-accounts/lib/esm/common/eips/2565.js +0 -20
  789. package/dist/node_modules/web3-eth-accounts/lib/esm/common/eips/2718.cjs +0 -1
  790. package/dist/node_modules/web3-eth-accounts/lib/esm/common/eips/2718.js +0 -14
  791. package/dist/node_modules/web3-eth-accounts/lib/esm/common/eips/2929.cjs +0 -1
  792. package/dist/node_modules/web3-eth-accounts/lib/esm/common/eips/2929.js +0 -87
  793. package/dist/node_modules/web3-eth-accounts/lib/esm/common/eips/2930.cjs +0 -1
  794. package/dist/node_modules/web3-eth-accounts/lib/esm/common/eips/2930.js +0 -24
  795. package/dist/node_modules/web3-eth-accounts/lib/esm/common/eips/3198.cjs +0 -1
  796. package/dist/node_modules/web3-eth-accounts/lib/esm/common/eips/3198.js +0 -20
  797. package/dist/node_modules/web3-eth-accounts/lib/esm/common/eips/3529.cjs +0 -1
  798. package/dist/node_modules/web3-eth-accounts/lib/esm/common/eips/3529.js +0 -29
  799. package/dist/node_modules/web3-eth-accounts/lib/esm/common/eips/3540.cjs +0 -1
  800. package/dist/node_modules/web3-eth-accounts/lib/esm/common/eips/3540.js +0 -16
  801. package/dist/node_modules/web3-eth-accounts/lib/esm/common/eips/3541.cjs +0 -1
  802. package/dist/node_modules/web3-eth-accounts/lib/esm/common/eips/3541.js +0 -15
  803. package/dist/node_modules/web3-eth-accounts/lib/esm/common/eips/3554.cjs +0 -1
  804. package/dist/node_modules/web3-eth-accounts/lib/esm/common/eips/3554.js +0 -20
  805. package/dist/node_modules/web3-eth-accounts/lib/esm/common/eips/3607.cjs +0 -1
  806. package/dist/node_modules/web3-eth-accounts/lib/esm/common/eips/3607.js +0 -16
  807. package/dist/node_modules/web3-eth-accounts/lib/esm/common/eips/3651.cjs +0 -1
  808. package/dist/node_modules/web3-eth-accounts/lib/esm/common/eips/3651.js +0 -16
  809. package/dist/node_modules/web3-eth-accounts/lib/esm/common/eips/3670.cjs +0 -1
  810. package/dist/node_modules/web3-eth-accounts/lib/esm/common/eips/3670.js +0 -16
  811. package/dist/node_modules/web3-eth-accounts/lib/esm/common/eips/3675.cjs +0 -1
  812. package/dist/node_modules/web3-eth-accounts/lib/esm/common/eips/3675.js +0 -16
  813. package/dist/node_modules/web3-eth-accounts/lib/esm/common/eips/3855.cjs +0 -1
  814. package/dist/node_modules/web3-eth-accounts/lib/esm/common/eips/3855.js +0 -21
  815. package/dist/node_modules/web3-eth-accounts/lib/esm/common/eips/3860.cjs +0 -1
  816. package/dist/node_modules/web3-eth-accounts/lib/esm/common/eips/3860.js +0 -26
  817. package/dist/node_modules/web3-eth-accounts/lib/esm/common/eips/4345.cjs +0 -1
  818. package/dist/node_modules/web3-eth-accounts/lib/esm/common/eips/4345.js +0 -20
  819. package/dist/node_modules/web3-eth-accounts/lib/esm/common/eips/4399.cjs +0 -1
  820. package/dist/node_modules/web3-eth-accounts/lib/esm/common/eips/4399.js +0 -16
  821. package/dist/node_modules/web3-eth-accounts/lib/esm/common/eips/5133.cjs +0 -1
  822. package/dist/node_modules/web3-eth-accounts/lib/esm/common/eips/5133.js +0 -20
  823. package/dist/node_modules/web3-eth-accounts/lib/esm/common/eips/index.cjs +0 -1
  824. package/dist/node_modules/web3-eth-accounts/lib/esm/common/eips/index.js +0 -49
  825. package/dist/node_modules/web3-eth-accounts/lib/esm/common/enums.cjs +0 -1
  826. package/dist/node_modules/web3-eth-accounts/lib/esm/common/enums.js +0 -27
  827. package/dist/node_modules/web3-eth-accounts/lib/esm/common/hardforks/arrowGlacier.cjs +0 -1
  828. package/dist/node_modules/web3-eth-accounts/lib/esm/common/hardforks/arrowGlacier.js +0 -14
  829. package/dist/node_modules/web3-eth-accounts/lib/esm/common/hardforks/berlin.cjs +0 -1
  830. package/dist/node_modules/web3-eth-accounts/lib/esm/common/hardforks/berlin.js +0 -10
  831. package/dist/node_modules/web3-eth-accounts/lib/esm/common/hardforks/byzantium.cjs +0 -1
  832. package/dist/node_modules/web3-eth-accounts/lib/esm/common/hardforks/byzantium.js +0 -59
  833. package/dist/node_modules/web3-eth-accounts/lib/esm/common/hardforks/chainstart.cjs +0 -1
  834. package/dist/node_modules/web3-eth-accounts/lib/esm/common/hardforks/chainstart.js +0 -441
  835. package/dist/node_modules/web3-eth-accounts/lib/esm/common/hardforks/constantinople.cjs +0 -1
  836. package/dist/node_modules/web3-eth-accounts/lib/esm/common/hardforks/constantinople.js +0 -71
  837. package/dist/node_modules/web3-eth-accounts/lib/esm/common/hardforks/dao.cjs +0 -1
  838. package/dist/node_modules/web3-eth-accounts/lib/esm/common/hardforks/dao.js +0 -13
  839. package/dist/node_modules/web3-eth-accounts/lib/esm/common/hardforks/grayGlacier.cjs +0 -1
  840. package/dist/node_modules/web3-eth-accounts/lib/esm/common/hardforks/grayGlacier.js +0 -14
  841. package/dist/node_modules/web3-eth-accounts/lib/esm/common/hardforks/homestead.cjs +0 -1
  842. package/dist/node_modules/web3-eth-accounts/lib/esm/common/hardforks/homestead.js +0 -18
  843. package/dist/node_modules/web3-eth-accounts/lib/esm/common/hardforks/index.cjs +0 -1
  844. package/dist/node_modules/web3-eth-accounts/lib/esm/common/hardforks/index.js +0 -39
  845. package/dist/node_modules/web3-eth-accounts/lib/esm/common/hardforks/istanbul.cjs +0 -1
  846. package/dist/node_modules/web3-eth-accounts/lib/esm/common/hardforks/istanbul.js +0 -90
  847. package/dist/node_modules/web3-eth-accounts/lib/esm/common/hardforks/london.cjs +0 -1
  848. package/dist/node_modules/web3-eth-accounts/lib/esm/common/hardforks/london.js +0 -10
  849. package/dist/node_modules/web3-eth-accounts/lib/esm/common/hardforks/merge.cjs +0 -1
  850. package/dist/node_modules/web3-eth-accounts/lib/esm/common/hardforks/merge.js +0 -15
  851. package/dist/node_modules/web3-eth-accounts/lib/esm/common/hardforks/mergeForkIdTransition.cjs +0 -1
  852. package/dist/node_modules/web3-eth-accounts/lib/esm/common/hardforks/mergeForkIdTransition.js +0 -10
  853. package/dist/node_modules/web3-eth-accounts/lib/esm/common/hardforks/muirGlacier.cjs +0 -1
  854. package/dist/node_modules/web3-eth-accounts/lib/esm/common/hardforks/muirGlacier.js +0 -18
  855. package/dist/node_modules/web3-eth-accounts/lib/esm/common/hardforks/petersburg.cjs +0 -1
  856. package/dist/node_modules/web3-eth-accounts/lib/esm/common/hardforks/petersburg.js +0 -42
  857. package/dist/node_modules/web3-eth-accounts/lib/esm/common/hardforks/shanghai.cjs +0 -1
  858. package/dist/node_modules/web3-eth-accounts/lib/esm/common/hardforks/shanghai.js +0 -10
  859. package/dist/node_modules/web3-eth-accounts/lib/esm/common/hardforks/spuriousDragon.cjs +0 -1
  860. package/dist/node_modules/web3-eth-accounts/lib/esm/common/hardforks/spuriousDragon.js +0 -23
  861. package/dist/node_modules/web3-eth-accounts/lib/esm/common/hardforks/tangerineWhistle.cjs +0 -1
  862. package/dist/node_modules/web3-eth-accounts/lib/esm/common/hardforks/tangerineWhistle.js +0 -46
  863. package/dist/node_modules/web3-eth-accounts/lib/esm/common/types.cjs +0 -1
  864. package/dist/node_modules/web3-eth-accounts/lib/esm/common/types.js +0 -7
  865. package/dist/node_modules/web3-eth-accounts/lib/esm/common/utils.cjs +0 -1
  866. package/dist/node_modules/web3-eth-accounts/lib/esm/common/utils.js +0 -279
  867. package/dist/node_modules/web3-eth-accounts/lib/esm/schemas.cjs +0 -1
  868. package/dist/node_modules/web3-eth-accounts/lib/esm/schemas.js +0 -25
  869. package/dist/node_modules/web3-eth-accounts/lib/esm/tx/address.cjs +0 -1
  870. package/dist/node_modules/web3-eth-accounts/lib/esm/tx/address.js +0 -57
  871. package/dist/node_modules/web3-eth-accounts/lib/esm/tx/baseTransaction.cjs +0 -1
  872. package/dist/node_modules/web3-eth-accounts/lib/esm/tx/baseTransaction.js +0 -288
  873. package/dist/node_modules/web3-eth-accounts/lib/esm/tx/constants.cjs +0 -1
  874. package/dist/node_modules/web3-eth-accounts/lib/esm/tx/constants.js +0 -11
  875. package/dist/node_modules/web3-eth-accounts/lib/esm/tx/eip1559Transaction.cjs +0 -1
  876. package/dist/node_modules/web3-eth-accounts/lib/esm/tx/eip1559Transaction.js +0 -285
  877. package/dist/node_modules/web3-eth-accounts/lib/esm/tx/eip2930Transaction.cjs +0 -1
  878. package/dist/node_modules/web3-eth-accounts/lib/esm/tx/eip2930Transaction.js +0 -268
  879. package/dist/node_modules/web3-eth-accounts/lib/esm/tx/legacyTransaction.cjs +0 -1
  880. package/dist/node_modules/web3-eth-accounts/lib/esm/tx/legacyTransaction.js +0 -256
  881. package/dist/node_modules/web3-eth-accounts/lib/esm/tx/transactionFactory.cjs +0 -1
  882. package/dist/node_modules/web3-eth-accounts/lib/esm/tx/transactionFactory.js +0 -90
  883. package/dist/node_modules/web3-eth-accounts/lib/esm/tx/types.cjs +0 -1
  884. package/dist/node_modules/web3-eth-accounts/lib/esm/tx/types.js +0 -18
  885. package/dist/node_modules/web3-eth-accounts/lib/esm/tx/utils.cjs +0 -1
  886. package/dist/node_modules/web3-eth-accounts/lib/esm/tx/utils.js +0 -80
  887. package/dist/node_modules/web3-eth-accounts/lib/esm/wallet.cjs +0 -1
  888. package/dist/node_modules/web3-eth-accounts/lib/esm/wallet.js +0 -361
  889. package/dist/node_modules/web3-eth-contract/lib/esm/contract.cjs +0 -3
  890. package/dist/node_modules/web3-eth-contract/lib/esm/contract.js +0 -540
  891. package/dist/node_modules/web3-eth-contract/lib/esm/encoding.cjs +0 -1
  892. package/dist/node_modules/web3-eth-contract/lib/esm/encoding.js +0 -89
  893. package/dist/node_modules/web3-eth-contract/lib/esm/index.cjs +0 -1
  894. package/dist/node_modules/web3-eth-contract/lib/esm/index.js +0 -30
  895. package/dist/node_modules/web3-eth-contract/lib/esm/log_subscription.cjs +0 -1
  896. package/dist/node_modules/web3-eth-contract/lib/esm/log_subscription.js +0 -39
  897. package/dist/node_modules/web3-eth-contract/lib/esm/utils.cjs +0 -1
  898. package/dist/node_modules/web3-eth-contract/lib/esm/utils.js +0 -78
  899. package/dist/node_modules/web3-eth-ens/lib/esm/abi/ens/ENSRegistry.cjs +0 -1
  900. package/dist/node_modules/web3-eth-ens/lib/esm/abi/ens/ENSRegistry.js +0 -168
  901. package/dist/node_modules/web3-eth-ens/lib/esm/abi/ens/PublicResolver.cjs +0 -1
  902. package/dist/node_modules/web3-eth-ens/lib/esm/abi/ens/PublicResolver.js +0 -596
  903. package/dist/node_modules/web3-eth-ens/lib/esm/config.cjs +0 -1
  904. package/dist/node_modules/web3-eth-ens/lib/esm/config.js +0 -29
  905. package/dist/node_modules/web3-eth-ens/lib/esm/ens.cjs +0 -1
  906. package/dist/node_modules/web3-eth-ens/lib/esm/ens.js +0 -280
  907. package/dist/node_modules/web3-eth-ens/lib/esm/registry.cjs +0 -1
  908. package/dist/node_modules/web3-eth-ens/lib/esm/registry.js +0 -108
  909. package/dist/node_modules/web3-eth-ens/lib/esm/resolver.cjs +0 -1
  910. package/dist/node_modules/web3-eth-ens/lib/esm/resolver.js +0 -113
  911. package/dist/node_modules/web3-eth-ens/lib/esm/utils.cjs +0 -1
  912. package/dist/node_modules/web3-eth-ens/lib/esm/utils.js +0 -19
  913. package/dist/node_modules/web3-eth-iban/lib/esm/iban.cjs +0 -1
  914. package/dist/node_modules/web3-eth-iban/lib/esm/iban.js +0 -283
  915. package/dist/node_modules/web3-eth-personal/lib/esm/personal.cjs +0 -1
  916. package/dist/node_modules/web3-eth-personal/lib/esm/personal.js +0 -265
  917. package/dist/node_modules/web3-eth-personal/lib/esm/rpc_method_wrappers.cjs +0 -1
  918. package/dist/node_modules/web3-eth-personal/lib/esm/rpc_method_wrappers.js +0 -96
  919. package/dist/node_modules/web3-net/lib/esm/net.cjs +0 -1
  920. package/dist/node_modules/web3-net/lib/esm/net.js +0 -97
  921. package/dist/node_modules/web3-net/lib/esm/rpc_method_wrappers.cjs +0 -1
  922. package/dist/node_modules/web3-net/lib/esm/rpc_method_wrappers.js +0 -51
  923. package/dist/node_modules/web3-providers-http/lib/esm/index.cjs +0 -1
  924. package/dist/node_modules/web3-providers-http/lib/esm/index.js +0 -98
  925. package/dist/node_modules/web3-providers-ws/lib/esm/index.cjs +0 -1
  926. package/dist/node_modules/web3-providers-ws/lib/esm/index.js +0 -70
  927. package/dist/node_modules/web3-rpc-methods/lib/esm/eth_rpc_methods.cjs +0 -1
  928. package/dist/node_modules/web3-rpc-methods/lib/esm/eth_rpc_methods.js +0 -416
  929. package/dist/node_modules/web3-rpc-methods/lib/esm/net_rpc_methods.cjs +0 -1
  930. package/dist/node_modules/web3-rpc-methods/lib/esm/net_rpc_methods.js +0 -56
  931. package/dist/node_modules/web3-rpc-methods/lib/esm/personal_rpc_methods.cjs +0 -1
  932. package/dist/node_modules/web3-rpc-methods/lib/esm/personal_rpc_methods.js +0 -84
  933. package/dist/node_modules/web3-types/lib/esm/data_format_types.cjs +0 -1
  934. package/dist/node_modules/web3-types/lib/esm/data_format_types.js +0 -15
  935. package/dist/node_modules/web3-types/lib/esm/eth_types.cjs +0 -1
  936. package/dist/node_modules/web3-types/lib/esm/eth_types.js +0 -12
  937. package/dist/node_modules/web3-types/lib/esm/primitives_types.cjs +0 -1
  938. package/dist/node_modules/web3-types/lib/esm/primitives_types.js +0 -4
  939. package/dist/node_modules/web3-types/lib/esm/web3_base_provider.cjs +0 -1
  940. package/dist/node_modules/web3-types/lib/esm/web3_base_provider.js +0 -89
  941. package/dist/node_modules/web3-types/lib/esm/web3_base_wallet.cjs +0 -1
  942. package/dist/node_modules/web3-types/lib/esm/web3_base_wallet.js +0 -8
  943. package/dist/node_modules/web3-utils/lib/esm/chunk_response_parser.cjs +0 -1
  944. package/dist/node_modules/web3-utils/lib/esm/chunk_response_parser.js +0 -37
  945. package/dist/node_modules/web3-utils/lib/esm/converters.cjs +0 -1
  946. package/dist/node_modules/web3-utils/lib/esm/converters.js +0 -199
  947. package/dist/node_modules/web3-utils/lib/esm/event_emitter.cjs +0 -1
  948. package/dist/node_modules/web3-utils/lib/esm/event_emitter.js +0 -15
  949. package/dist/node_modules/web3-utils/lib/esm/formatter.cjs +0 -1
  950. package/dist/node_modules/web3-utils/lib/esm/formatter.js +0 -153
  951. package/dist/node_modules/web3-utils/lib/esm/hash.cjs +0 -1
  952. package/dist/node_modules/web3-utils/lib/esm/hash.js +0 -108
  953. package/dist/node_modules/web3-utils/lib/esm/index.cjs +0 -1
  954. package/dist/node_modules/web3-utils/lib/esm/index.js +0 -109
  955. package/dist/node_modules/web3-utils/lib/esm/json_rpc.cjs +0 -1
  956. package/dist/node_modules/web3-utils/lib/esm/json_rpc.js +0 -41
  957. package/dist/node_modules/web3-utils/lib/esm/objects.cjs +0 -1
  958. package/dist/node_modules/web3-utils/lib/esm/objects.js +0 -20
  959. package/dist/node_modules/web3-utils/lib/esm/promise_helpers.cjs +0 -1
  960. package/dist/node_modules/web3-utils/lib/esm/promise_helpers.js +0 -104
  961. package/dist/node_modules/web3-utils/lib/esm/random.cjs +0 -1
  962. package/dist/node_modules/web3-utils/lib/esm/random.js +0 -7
  963. package/dist/node_modules/web3-utils/lib/esm/socket_provider.cjs +0 -1
  964. package/dist/node_modules/web3-utils/lib/esm/socket_provider.js +0 -233
  965. package/dist/node_modules/web3-utils/lib/esm/string_manipulation.cjs +0 -1
  966. package/dist/node_modules/web3-utils/lib/esm/string_manipulation.js +0 -48
  967. package/dist/node_modules/web3-utils/lib/esm/uint8array.cjs +0 -1
  968. package/dist/node_modules/web3-utils/lib/esm/uint8array.js +0 -26
  969. package/dist/node_modules/web3-utils/lib/esm/uuid.cjs +0 -1
  970. package/dist/node_modules/web3-utils/lib/esm/uuid.js +0 -17
  971. package/dist/node_modules/web3-utils/lib/esm/validation.cjs +0 -1
  972. package/dist/node_modules/web3-utils/lib/esm/validation.js +0 -62
  973. package/dist/node_modules/web3-utils/lib/esm/web3_deferred_promise.cjs +0 -1
  974. package/dist/node_modules/web3-utils/lib/esm/web3_deferred_promise.js +0 -114
  975. package/dist/node_modules/web3-utils/lib/esm/web3_eip1193_provider.cjs +0 -1
  976. package/dist/node_modules/web3-utils/lib/esm/web3_eip1193_provider.js +0 -86
  977. package/dist/node_modules/web3-validator/lib/esm/constants.cjs +0 -1
  978. package/dist/node_modules/web3-validator/lib/esm/constants.js +0 -4
  979. package/dist/node_modules/web3-validator/lib/esm/default_validator.cjs +0 -1
  980. package/dist/node_modules/web3-validator/lib/esm/default_validator.js +0 -5
  981. package/dist/node_modules/web3-validator/lib/esm/errors.cjs +0 -3
  982. package/dist/node_modules/web3-validator/lib/esm/errors.js +0 -17
  983. package/dist/node_modules/web3-validator/lib/esm/formats.cjs +0 -1
  984. package/dist/node_modules/web3-validator/lib/esm/formats.js +0 -31
  985. package/dist/node_modules/web3-validator/lib/esm/utils.cjs +0 -1
  986. package/dist/node_modules/web3-validator/lib/esm/utils.js +0 -190
  987. package/dist/node_modules/web3-validator/lib/esm/validation/abi.cjs +0 -1
  988. package/dist/node_modules/web3-validator/lib/esm/validation/abi.js +0 -4
  989. package/dist/node_modules/web3-validator/lib/esm/validation/address.cjs +0 -1
  990. package/dist/node_modules/web3-validator/lib/esm/validation/address.js +0 -23
  991. package/dist/node_modules/web3-validator/lib/esm/validation/block.cjs +0 -1
  992. package/dist/node_modules/web3-validator/lib/esm/validation/block.js +0 -10
  993. package/dist/node_modules/web3-validator/lib/esm/validation/bloom.cjs +0 -1
  994. package/dist/node_modules/web3-validator/lib/esm/validation/bloom.js +0 -29
  995. package/dist/node_modules/web3-validator/lib/esm/validation/boolean.cjs +0 -1
  996. package/dist/node_modules/web3-validator/lib/esm/validation/boolean.js +0 -5
  997. package/dist/node_modules/web3-validator/lib/esm/validation/bytes.cjs +0 -1
  998. package/dist/node_modules/web3-validator/lib/esm/validation/bytes.js +0 -31
  999. package/dist/node_modules/web3-validator/lib/esm/validation/filter.cjs +0 -1
  1000. package/dist/node_modules/web3-validator/lib/esm/validation/filter.js +0 -26
  1001. package/dist/node_modules/web3-validator/lib/esm/validation/numbers.cjs +0 -1
  1002. package/dist/node_modules/web3-validator/lib/esm/validation/numbers.js +0 -54
  1003. package/dist/node_modules/web3-validator/lib/esm/validation/object.cjs +0 -1
  1004. package/dist/node_modules/web3-validator/lib/esm/validation/object.js +0 -13
  1005. package/dist/node_modules/web3-validator/lib/esm/validation/string.cjs +0 -1
  1006. package/dist/node_modules/web3-validator/lib/esm/validation/string.js +0 -23
  1007. package/dist/node_modules/web3-validator/lib/esm/validation/topic.cjs +0 -1
  1008. package/dist/node_modules/web3-validator/lib/esm/validation/topic.js +0 -6
  1009. package/dist/node_modules/web3-validator/lib/esm/validator.cjs +0 -1
  1010. package/dist/node_modules/web3-validator/lib/esm/validator.js +0 -86
  1011. package/dist/node_modules/web3-validator/lib/esm/web3_validator.cjs +0 -1
  1012. package/dist/node_modules/web3-validator/lib/esm/web3_validator.js +0 -31
  1013. package/dist/node_modules/zod/lib/index.cjs +0 -1
  1014. package/dist/node_modules/zod/lib/index.js +0 -2854
  1015. package/dist/prometheus-framework/node_modules/@vuepic/vue-datepicker/dist/main.css.cjs +0 -1
  1016. package/dist/prometheus-framework/node_modules/@vuepic/vue-datepicker/dist/main.css.js +0 -1
  1017. package/dist/prometheus-framework/node_modules/axios/lib/adapters/adapters.cjs +0 -3
  1018. package/dist/prometheus-framework/node_modules/axios/lib/adapters/adapters.js +0 -51
  1019. package/dist/prometheus-framework/node_modules/axios/lib/adapters/xhr.cjs +0 -1
  1020. package/dist/prometheus-framework/node_modules/axios/lib/adapters/xhr.js +0 -109
  1021. package/dist/prometheus-framework/node_modules/axios/lib/axios.cjs +0 -1
  1022. package/dist/prometheus-framework/node_modules/axios/lib/axios.js +0 -46
  1023. package/dist/prometheus-framework/node_modules/axios/lib/cancel/CancelToken.cjs +0 -1
  1024. package/dist/prometheus-framework/node_modules/axios/lib/cancel/CancelToken.js +0 -72
  1025. package/dist/prometheus-framework/node_modules/axios/lib/cancel/CanceledError.cjs +0 -1
  1026. package/dist/prometheus-framework/node_modules/axios/lib/cancel/CanceledError.js +0 -11
  1027. package/dist/prometheus-framework/node_modules/axios/lib/cancel/isCancel.cjs +0 -1
  1028. package/dist/prometheus-framework/node_modules/axios/lib/cancel/isCancel.js +0 -6
  1029. package/dist/prometheus-framework/node_modules/axios/lib/core/Axios.cjs +0 -2
  1030. package/dist/prometheus-framework/node_modules/axios/lib/core/Axios.js +0 -130
  1031. package/dist/prometheus-framework/node_modules/axios/lib/core/AxiosError.cjs +0 -1
  1032. package/dist/prometheus-framework/node_modules/axios/lib/core/AxiosError.js +0 -54
  1033. package/dist/prometheus-framework/node_modules/axios/lib/core/AxiosHeaders.cjs +0 -2
  1034. package/dist/prometheus-framework/node_modules/axios/lib/core/AxiosHeaders.js +0 -164
  1035. package/dist/prometheus-framework/node_modules/axios/lib/core/InterceptorManager.cjs +0 -1
  1036. package/dist/prometheus-framework/node_modules/axios/lib/core/InterceptorManager.js +0 -58
  1037. package/dist/prometheus-framework/node_modules/axios/lib/core/buildFullPath.cjs +0 -1
  1038. package/dist/prometheus-framework/node_modules/axios/lib/core/buildFullPath.js +0 -8
  1039. package/dist/prometheus-framework/node_modules/axios/lib/core/dispatchRequest.cjs +0 -1
  1040. package/dist/prometheus-framework/node_modules/axios/lib/core/dispatchRequest.js +0 -31
  1041. package/dist/prometheus-framework/node_modules/axios/lib/core/mergeConfig.cjs +0 -1
  1042. package/dist/prometheus-framework/node_modules/axios/lib/core/mergeConfig.js +0 -72
  1043. package/dist/prometheus-framework/node_modules/axios/lib/core/settle.cjs +0 -1
  1044. package/dist/prometheus-framework/node_modules/axios/lib/core/settle.js +0 -14
  1045. package/dist/prometheus-framework/node_modules/axios/lib/core/transformData.cjs +0 -1
  1046. package/dist/prometheus-framework/node_modules/axios/lib/core/transformData.js +0 -13
  1047. package/dist/prometheus-framework/node_modules/axios/lib/defaults/index.cjs +0 -1
  1048. package/dist/prometheus-framework/node_modules/axios/lib/defaults/index.js +0 -87
  1049. package/dist/prometheus-framework/node_modules/axios/lib/defaults/transitional.cjs +0 -1
  1050. package/dist/prometheus-framework/node_modules/axios/lib/defaults/transitional.js +0 -8
  1051. package/dist/prometheus-framework/node_modules/axios/lib/env/data.cjs +0 -1
  1052. package/dist/prometheus-framework/node_modules/axios/lib/env/data.js +0 -4
  1053. package/dist/prometheus-framework/node_modules/axios/lib/helpers/AxiosURLSearchParams.cjs +0 -1
  1054. package/dist/prometheus-framework/node_modules/axios/lib/helpers/AxiosURLSearchParams.js +0 -33
  1055. package/dist/prometheus-framework/node_modules/axios/lib/helpers/HttpStatusCode.cjs +0 -1
  1056. package/dist/prometheus-framework/node_modules/axios/lib/helpers/HttpStatusCode.js +0 -71
  1057. package/dist/prometheus-framework/node_modules/axios/lib/helpers/bind.cjs +0 -1
  1058. package/dist/prometheus-framework/node_modules/axios/lib/helpers/bind.js +0 -8
  1059. package/dist/prometheus-framework/node_modules/axios/lib/helpers/buildURL.cjs +0 -1
  1060. package/dist/prometheus-framework/node_modules/axios/lib/helpers/buildURL.js +0 -19
  1061. package/dist/prometheus-framework/node_modules/axios/lib/helpers/combineURLs.cjs +0 -1
  1062. package/dist/prometheus-framework/node_modules/axios/lib/helpers/combineURLs.js +0 -6
  1063. package/dist/prometheus-framework/node_modules/axios/lib/helpers/cookies.cjs +0 -1
  1064. package/dist/prometheus-framework/node_modules/axios/lib/helpers/cookies.js +0 -32
  1065. package/dist/prometheus-framework/node_modules/axios/lib/helpers/formDataToJSON.cjs +0 -1
  1066. package/dist/prometheus-framework/node_modules/axios/lib/helpers/formDataToJSON.js +0 -32
  1067. package/dist/prometheus-framework/node_modules/axios/lib/helpers/isAbsoluteURL.cjs +0 -1
  1068. package/dist/prometheus-framework/node_modules/axios/lib/helpers/isAbsoluteURL.js +0 -6
  1069. package/dist/prometheus-framework/node_modules/axios/lib/helpers/isAxiosError.cjs +0 -1
  1070. package/dist/prometheus-framework/node_modules/axios/lib/helpers/isAxiosError.js +0 -7
  1071. package/dist/prometheus-framework/node_modules/axios/lib/helpers/isURLSameOrigin.cjs +0 -1
  1072. package/dist/prometheus-framework/node_modules/axios/lib/helpers/isURLSameOrigin.js +0 -37
  1073. package/dist/prometheus-framework/node_modules/axios/lib/helpers/null.cjs +0 -1
  1074. package/dist/prometheus-framework/node_modules/axios/lib/helpers/null.js +0 -4
  1075. package/dist/prometheus-framework/node_modules/axios/lib/helpers/parseHeaders.cjs +0 -2
  1076. package/dist/prometheus-framework/node_modules/axios/lib/helpers/parseHeaders.js +0 -30
  1077. package/dist/prometheus-framework/node_modules/axios/lib/helpers/parseProtocol.cjs +0 -1
  1078. package/dist/prometheus-framework/node_modules/axios/lib/helpers/parseProtocol.js +0 -7
  1079. package/dist/prometheus-framework/node_modules/axios/lib/helpers/speedometer.cjs +0 -1
  1080. package/dist/prometheus-framework/node_modules/axios/lib/helpers/speedometer.js +0 -19
  1081. package/dist/prometheus-framework/node_modules/axios/lib/helpers/spread.cjs +0 -1
  1082. package/dist/prometheus-framework/node_modules/axios/lib/helpers/spread.js +0 -8
  1083. package/dist/prometheus-framework/node_modules/axios/lib/helpers/toFormData.cjs +0 -1
  1084. package/dist/prometheus-framework/node_modules/axios/lib/helpers/toFormData.js +0 -84
  1085. package/dist/prometheus-framework/node_modules/axios/lib/helpers/toURLEncodedForm.cjs +0 -1
  1086. package/dist/prometheus-framework/node_modules/axios/lib/helpers/toURLEncodedForm.js +0 -13
  1087. package/dist/prometheus-framework/node_modules/axios/lib/helpers/validator.cjs +0 -1
  1088. package/dist/prometheus-framework/node_modules/axios/lib/helpers/validator.js +0 -51
  1089. package/dist/prometheus-framework/node_modules/axios/lib/platform/browser/classes/Blob.cjs +0 -1
  1090. package/dist/prometheus-framework/node_modules/axios/lib/platform/browser/classes/Blob.js +0 -4
  1091. package/dist/prometheus-framework/node_modules/axios/lib/platform/browser/classes/FormData.cjs +0 -1
  1092. package/dist/prometheus-framework/node_modules/axios/lib/platform/browser/classes/FormData.js +0 -4
  1093. package/dist/prometheus-framework/node_modules/axios/lib/platform/browser/classes/URLSearchParams.cjs +0 -1
  1094. package/dist/prometheus-framework/node_modules/axios/lib/platform/browser/classes/URLSearchParams.js +0 -5
  1095. package/dist/prometheus-framework/node_modules/axios/lib/platform/browser/index.cjs +0 -1
  1096. package/dist/prometheus-framework/node_modules/axios/lib/platform/browser/index.js +0 -15
  1097. package/dist/prometheus-framework/node_modules/axios/lib/platform/common/utils.cjs +0 -1
  1098. package/dist/prometheus-framework/node_modules/axios/lib/platform/common/utils.js +0 -7
  1099. package/dist/prometheus-framework/node_modules/axios/lib/platform/index.cjs +0 -1
  1100. package/dist/prometheus-framework/node_modules/axios/lib/platform/index.js +0 -9
  1101. package/dist/prometheus-framework/node_modules/axios/lib/utils.cjs +0 -1
  1102. package/dist/prometheus-framework/node_modules/axios/lib/utils.js +0 -224
  1103. package/dist/prometheus-framework/node_modules/libphonenumber-js/es6/helpers/mergeArrays.cjs +0 -2
  1104. package/dist/prometheus-framework/node_modules/libphonenumber-js/es6/helpers/mergeArrays.js +0 -43
  1105. package/dist/prometheus-framework/src/components/Address/Address.vue.cjs +0 -1
  1106. package/dist/prometheus-framework/src/components/Address/Address.vue.js +0 -1
  1107. package/dist/prometheus-framework/src/components/Breadcrumbs/Breadcrumbs.vue.cjs +0 -1
  1108. package/dist/prometheus-framework/src/components/Breadcrumbs/Breadcrumbs.vue.js +0 -1
  1109. package/dist/prometheus-framework/src/components/Button/Button.vue.cjs +0 -1
  1110. package/dist/prometheus-framework/src/components/Button/Button.vue.js +0 -1
  1111. package/dist/prometheus-framework/src/components/Checkbox/Checkbox.vue2.cjs +0 -1
  1112. package/dist/prometheus-framework/src/components/Checkbox/Checkbox.vue2.js +0 -1
  1113. package/dist/prometheus-framework/src/components/Chips/Chips.vue2.cjs +0 -1
  1114. package/dist/prometheus-framework/src/components/Chips/Chips.vue2.js +0 -1
  1115. package/dist/prometheus-framework/src/components/DatePicker/Calendar.vue.cjs +0 -1
  1116. package/dist/prometheus-framework/src/components/DatePicker/Calendar.vue.js +0 -1
  1117. package/dist/prometheus-framework/src/components/Dropdown/Dropdown.vue2.cjs +0 -1
  1118. package/dist/prometheus-framework/src/components/Dropdown/Dropdown.vue2.js +0 -1
  1119. package/dist/prometheus-framework/src/components/Feed/Feed.vue2.cjs +0 -1
  1120. package/dist/prometheus-framework/src/components/Feed/Feed.vue2.js +0 -1
  1121. package/dist/prometheus-framework/src/components/Field/Field.vue.cjs +0 -1
  1122. package/dist/prometheus-framework/src/components/Field/Field.vue.js +0 -1
  1123. package/dist/prometheus-framework/src/components/FieldPhone/FieldPhone.vue2.cjs +0 -1
  1124. package/dist/prometheus-framework/src/components/FieldPhone/FieldPhone.vue2.js +0 -1
  1125. package/dist/prometheus-framework/src/components/FieldPhone/FieldPhone2.vue.cjs +0 -1
  1126. package/dist/prometheus-framework/src/components/FieldPhone/FieldPhone2.vue.js +0 -373
  1127. package/dist/prometheus-framework/src/components/FieldPhone/FieldPhone2.vue2.cjs +0 -1
  1128. package/dist/prometheus-framework/src/components/FieldPhone/FieldPhone2.vue2.js +0 -1
  1129. package/dist/prometheus-framework/src/components/FieldPhone/utils.cjs +0 -1
  1130. package/dist/prometheus-framework/src/components/FieldPhone/utils.js +0 -259
  1131. package/dist/prometheus-framework/src/components/FieldTags/BlockTags.vue2.cjs +0 -1
  1132. package/dist/prometheus-framework/src/components/FieldTags/BlockTags.vue2.js +0 -1
  1133. package/dist/prometheus-framework/src/components/FieldTags/tag-input.vue.cjs +0 -1
  1134. package/dist/prometheus-framework/src/components/FieldTags/tag-input.vue.js +0 -1
  1135. package/dist/prometheus-framework/src/components/FieldTags/vue-tags-input.scss.cjs +0 -1
  1136. package/dist/prometheus-framework/src/components/FieldTags/vue-tags-input.scss.js +0 -1
  1137. package/dist/prometheus-framework/src/components/Loader/Loader.vue.cjs +0 -1
  1138. package/dist/prometheus-framework/src/components/Loader/Loader.vue.js +0 -1
  1139. package/dist/prometheus-framework/src/components/LocationMarker/LocationMarker.vue.cjs +0 -1
  1140. package/dist/prometheus-framework/src/components/LocationMarker/LocationMarker.vue.js +0 -1
  1141. package/dist/prometheus-framework/src/components/Magnifier/Magnifier.vue.cjs +0 -1
  1142. package/dist/prometheus-framework/src/components/Magnifier/Magnifier.vue.js +0 -62
  1143. package/dist/prometheus-framework/src/components/Magnifier/Magnifier.vue2.cjs +0 -1
  1144. package/dist/prometheus-framework/src/components/Magnifier/Magnifier.vue2.js +0 -1
  1145. package/dist/prometheus-framework/src/components/Map/Map.vue2.cjs +0 -1
  1146. package/dist/prometheus-framework/src/components/Map/Map.vue2.js +0 -1
  1147. package/dist/prometheus-framework/src/components/Marquee/Marquee.vue2.cjs +0 -1
  1148. package/dist/prometheus-framework/src/components/Marquee/Marquee.vue2.js +0 -1
  1149. package/dist/prometheus-framework/src/components/Popup/Popup.vue2.cjs +0 -1
  1150. package/dist/prometheus-framework/src/components/Popup/Popup.vue2.js +0 -77
  1151. package/dist/prometheus-framework/src/components/Select/Select.vue.cjs +0 -1
  1152. package/dist/prometheus-framework/src/components/Select/Select.vue.js +0 -1
  1153. package/dist/prometheus-framework/src/components/SelectMulti/SelectMulti.vue2.cjs +0 -1
  1154. package/dist/prometheus-framework/src/components/SelectMulti/SelectMulti.vue2.js +0 -1
  1155. package/dist/prometheus-framework/src/components/Spoiler/Spoiler.vue.cjs +0 -1
  1156. package/dist/prometheus-framework/src/components/Spoiler/Spoiler.vue.js +0 -1
  1157. package/dist/prometheus-framework/src/components/Tab/Tab.vue.cjs +0 -1
  1158. package/dist/prometheus-framework/src/components/Tab/Tab.vue.js +0 -1
  1159. package/dist/prometheus-framework/src/components/Tooltip/Tooltip.vue2.cjs +0 -1
  1160. package/dist/prometheus-framework/src/components/Tooltip/Tooltip.vue2.js +0 -45
  1161. package/dist/prometheus-framework/src/components/Upload/Upload.vue2.cjs +0 -1
  1162. package/dist/prometheus-framework/src/components/Upload/Upload.vue2.js +0 -1
  1163. package/dist/prometheus-framework/src/modules/auth/components/pages/EnterPassword.vue2.cjs +0 -1
  1164. package/dist/prometheus-framework/src/modules/auth/components/pages/EnterPassword.vue2.js +0 -1
  1165. package/dist/prometheus-framework/src/modules/auth/components/pages/Invite.vue2.cjs +0 -1
  1166. package/dist/prometheus-framework/src/modules/auth/components/pages/Invite.vue2.js +0 -1
  1167. package/dist/prometheus-framework/src/modules/auth/components/pages/ResetPassword.vue2.cjs +0 -1
  1168. package/dist/prometheus-framework/src/modules/auth/components/pages/ResetPassword.vue2.js +0 -1
  1169. package/dist/prometheus-framework/src/modules/auth/components/pages/SignIn.vue2.cjs +0 -1
  1170. package/dist/prometheus-framework/src/modules/auth/components/pages/SignIn.vue2.js +0 -1
  1171. package/dist/prometheus-framework/src/modules/auth/components/pages/SignUp.vue2.cjs +0 -1
  1172. package/dist/prometheus-framework/src/modules/auth/components/pages/SignUp.vue2.js +0 -1
  1173. package/dist/prometheus-framework/src/modules/auth/components/sections/SliderFeatures.vue2.cjs +0 -1
  1174. package/dist/prometheus-framework/src/modules/auth/components/sections/SliderFeatures.vue2.js +0 -1
  1175. package/dist/prometheus-framework/src/modules/backoffice/components/layouts/Backoffice.vue.cjs +0 -1
  1176. package/dist/prometheus-framework/src/modules/backoffice/components/layouts/Backoffice.vue.js +0 -1
  1177. package/dist/prometheus-framework/src/modules/chats/components/pages/ChatPage.vue2.cjs +0 -1
  1178. package/dist/prometheus-framework/src/modules/chats/components/pages/ChatPage.vue2.js +0 -1
  1179. package/dist/prometheus-framework/src/modules/chats/components/sections/ChatWindow.vue2.cjs +0 -1
  1180. package/dist/prometheus-framework/src/modules/chats/components/sections/ChatWindow.vue2.js +0 -1
  1181. package/dist/prometheus-framework/src/modules/community/components/pages/Community.vue2.cjs +0 -1
  1182. package/dist/prometheus-framework/src/modules/community/components/pages/Community.vue2.js +0 -1
  1183. package/dist/prometheus-framework/src/modules/community/components/sections/HotPosts.vue2.cjs +0 -1
  1184. package/dist/prometheus-framework/src/modules/community/components/sections/HotPosts.vue2.js +0 -1
  1185. package/dist/prometheus-framework/src/modules/community/components/sections/JoinUs.vue2.cjs +0 -1
  1186. package/dist/prometheus-framework/src/modules/community/components/sections/JoinUs.vue2.js +0 -1
  1187. package/dist/prometheus-framework/src/modules/constructor/components/elements/H2.vue2.cjs +0 -1
  1188. package/dist/prometheus-framework/src/modules/constructor/components/elements/H2.vue2.js +0 -1
  1189. package/dist/prometheus-framework/src/modules/constructor/components/elements/Textarea.vue.cjs +0 -1
  1190. package/dist/prometheus-framework/src/modules/constructor/components/elements/Textarea.vue.js +0 -1
  1191. package/dist/prometheus-framework/src/modules/events/components/elements/ButtonCheck.vue2.cjs +0 -1
  1192. package/dist/prometheus-framework/src/modules/events/components/elements/ButtonCheck.vue2.js +0 -1
  1193. package/dist/prometheus-framework/src/modules/events/components/elements/ButtonJoin.vue2.cjs +0 -1
  1194. package/dist/prometheus-framework/src/modules/events/components/elements/ButtonJoin.vue2.js +0 -1
  1195. package/dist/prometheus-framework/src/modules/events/components/pages/EditEvent.vue2.cjs +0 -1
  1196. package/dist/prometheus-framework/src/modules/events/components/pages/EditEvent.vue2.js +0 -1
  1197. package/dist/prometheus-framework/src/modules/events/components/pages/EditEventTickets.vue2.cjs +0 -1
  1198. package/dist/prometheus-framework/src/modules/events/components/pages/EditEventTickets.vue2.js +0 -1
  1199. package/dist/prometheus-framework/src/modules/events/components/sections/HeroEvent.vue2.cjs +0 -1
  1200. package/dist/prometheus-framework/src/modules/events/components/sections/HeroEvent.vue2.js +0 -1
  1201. package/dist/prometheus-framework/src/modules/events/components/sections/List.vue2.cjs +0 -1
  1202. package/dist/prometheus-framework/src/modules/events/components/sections/List.vue2.js +0 -1
  1203. package/dist/prometheus-framework/src/modules/events/components/sections/SectionMainGuest.vue2.cjs +0 -1
  1204. package/dist/prometheus-framework/src/modules/events/components/sections/SectionMainGuest.vue2.js +0 -1
  1205. package/dist/prometheus-framework/src/modules/gallery/components/blocks/PhotoViewer.vue.cjs +0 -1
  1206. package/dist/prometheus-framework/src/modules/gallery/components/blocks/PhotoViewer.vue2.cjs +0 -1
  1207. package/dist/prometheus-framework/src/modules/gallery/components/blocks/PhotoViewer.vue2.js +0 -1
  1208. package/dist/prometheus-framework/src/modules/gallery/components/sections/BackofficeGallery.vue2.cjs +0 -1
  1209. package/dist/prometheus-framework/src/modules/gallery/components/sections/BackofficeGallery.vue2.js +0 -1
  1210. package/dist/prometheus-framework/src/modules/gallery/components/sections/GalleryWithCategories.vue.cjs +0 -1
  1211. package/dist/prometheus-framework/src/modules/gallery/components/sections/GalleryWithCategories.vue.js +0 -110
  1212. package/dist/prometheus-framework/src/modules/gallery/components/sections/GalleryWithCategories.vue2.cjs +0 -1
  1213. package/dist/prometheus-framework/src/modules/gallery/components/sections/GalleryWithCategories.vue2.js +0 -1
  1214. package/dist/prometheus-framework/src/modules/globals/components/elements/ButtonDate.vue2.cjs +0 -1
  1215. package/dist/prometheus-framework/src/modules/globals/components/elements/ButtonDate.vue2.js +0 -27
  1216. package/dist/prometheus-framework/src/modules/globals/components/sections/Title.vue.cjs +0 -1
  1217. package/dist/prometheus-framework/src/modules/globals/components/sections/Title.vue.js +0 -29
  1218. package/dist/prometheus-framework/src/modules/landing/components/elements/AnimatedGrid.vue2.cjs +0 -1
  1219. package/dist/prometheus-framework/src/modules/landing/components/elements/AnimatedGrid.vue2.js +0 -1
  1220. package/dist/prometheus-framework/src/modules/landing/components/sections/MobileApp.vue2.cjs +0 -1
  1221. package/dist/prometheus-framework/src/modules/landing/components/sections/MobileApp.vue2.js +0 -1
  1222. package/dist/prometheus-framework/src/modules/landing/components/sections/SubscribeNewsletter.vue2.cjs +0 -1
  1223. package/dist/prometheus-framework/src/modules/landing/components/sections/SubscribeNewsletter.vue2.js +0 -1
  1224. package/dist/prometheus-framework/src/modules/mobile/components/Menu/Menu.vue.cjs +0 -1
  1225. package/dist/prometheus-framework/src/modules/mobile/components/Menu/Menu.vue2.cjs +0 -1
  1226. package/dist/prometheus-framework/src/modules/mobile/components/Menu/Menu.vue2.js +0 -1
  1227. package/dist/prometheus-framework/src/modules/mobile/components/Menu/MenuItem.vue.cjs +0 -1
  1228. package/dist/prometheus-framework/src/modules/orders/components/blocks/CardOrder.vue2.cjs +0 -1
  1229. package/dist/prometheus-framework/src/modules/orders/components/blocks/CardOrder.vue2.js +0 -1
  1230. package/dist/prometheus-framework/src/modules/orders/components/pages/Order.vue2.cjs +0 -1
  1231. package/dist/prometheus-framework/src/modules/orders/components/pages/Order.vue2.js +0 -1
  1232. package/dist/prometheus-framework/src/modules/orders/components/pages/OrderBackoffice.vue2.cjs +0 -1
  1233. package/dist/prometheus-framework/src/modules/orders/components/pages/OrderBackoffice.vue2.js +0 -1
  1234. package/dist/prometheus-framework/src/modules/orders/components/pages/OrderCreate.vue2.cjs +0 -1
  1235. package/dist/prometheus-framework/src/modules/orders/components/pages/OrderCreate.vue2.js +0 -1
  1236. package/dist/prometheus-framework/src/modules/orders/components/pages/OrderCreateBackoffice.vue2.cjs +0 -1
  1237. package/dist/prometheus-framework/src/modules/orders/components/pages/OrderCreateBackoffice.vue2.js +0 -1
  1238. package/dist/prometheus-framework/src/modules/orders/components/partials/ShopCart.vue2.cjs +0 -1
  1239. package/dist/prometheus-framework/src/modules/orders/components/partials/ShopCart.vue2.js +0 -1
  1240. package/dist/prometheus-framework/src/modules/orders/components/sections/FormClientDetails.vue.cjs +0 -1
  1241. package/dist/prometheus-framework/src/modules/orders/components/sections/FormClientDetails.vue.js +0 -65
  1242. package/dist/prometheus-framework/src/modules/organizations/components/blocks/CardDepartment.vue2.cjs +0 -1
  1243. package/dist/prometheus-framework/src/modules/organizations/components/blocks/CardDepartment.vue2.js +0 -1
  1244. package/dist/prometheus-framework/src/modules/organizations/components/blocks/DepartmentMemberModify.vue.cjs +0 -1
  1245. package/dist/prometheus-framework/src/modules/organizations/components/blocks/DepartmentMemberModify.vue.js +0 -87
  1246. package/dist/prometheus-framework/src/modules/organizations/components/blocks/DepartmentMemberModify.vue2.cjs +0 -1
  1247. package/dist/prometheus-framework/src/modules/organizations/components/blocks/DepartmentMemberModify.vue2.js +0 -1
  1248. package/dist/prometheus-framework/src/modules/organizations/components/blocks/DepartmentSub.vue2.cjs +0 -1
  1249. package/dist/prometheus-framework/src/modules/organizations/components/blocks/DepartmentSub.vue2.js +0 -1
  1250. package/dist/prometheus-framework/src/modules/organizations/components/blocks/EditArray.vue2.cjs +0 -1
  1251. package/dist/prometheus-framework/src/modules/organizations/components/blocks/EditArray.vue2.js +0 -1
  1252. package/dist/prometheus-framework/src/modules/organizations/components/blocks/User.vue.cjs +0 -1
  1253. package/dist/prometheus-framework/src/modules/organizations/components/blocks/User.vue.js +0 -51
  1254. package/dist/prometheus-framework/src/modules/organizations/components/blocks/User.vue2.cjs +0 -1
  1255. package/dist/prometheus-framework/src/modules/organizations/components/blocks/User.vue2.js +0 -1
  1256. package/dist/prometheus-framework/src/modules/organizations/components/pages/Organization.vue2.cjs +0 -1
  1257. package/dist/prometheus-framework/src/modules/organizations/components/pages/Organization.vue2.js +0 -1
  1258. package/dist/prometheus-framework/src/modules/organizations/components/sections/Documents.vue2.cjs +0 -1
  1259. package/dist/prometheus-framework/src/modules/organizations/components/sections/Documents.vue2.js +0 -1
  1260. package/dist/prometheus-framework/src/modules/organizations/components/sections/Organizations.vue2.cjs +0 -1
  1261. package/dist/prometheus-framework/src/modules/organizations/components/sections/Organizations.vue2.js +0 -1
  1262. package/dist/prometheus-framework/src/modules/organizations/components/sections/Publics.vue2.cjs +0 -1
  1263. package/dist/prometheus-framework/src/modules/organizations/components/sections/Publics.vue2.js +0 -1
  1264. package/dist/prometheus-framework/src/modules/organizations/components/sections/Unit.vue.cjs +0 -1
  1265. package/dist/prometheus-framework/src/modules/organizations/components/sections/Unit.vue.js +0 -1
  1266. package/dist/prometheus-framework/src/modules/products/components/blocks/CardLeftover.vue2.cjs +0 -1
  1267. package/dist/prometheus-framework/src/modules/products/components/blocks/CardLeftover.vue2.js +0 -1
  1268. package/dist/prometheus-framework/src/modules/products/components/blocks/Images360.vue2.cjs +0 -1
  1269. package/dist/prometheus-framework/src/modules/products/components/blocks/Images360.vue2.js +0 -1
  1270. package/dist/prometheus-framework/src/modules/products/components/blocks/ImagesThumbnails.vue2.cjs +0 -1
  1271. package/dist/prometheus-framework/src/modules/products/components/blocks/ImagesThumbnails.vue2.js +0 -1
  1272. package/dist/prometheus-framework/src/modules/products/components/blocks/LeftoverPositions.vue2.cjs +0 -1
  1273. package/dist/prometheus-framework/src/modules/products/components/blocks/LeftoverPositions.vue2.js +0 -1
  1274. package/dist/prometheus-framework/src/modules/products/components/blocks/ListPositions.vue2.cjs +0 -1
  1275. package/dist/prometheus-framework/src/modules/products/components/blocks/ListPositions.vue2.js +0 -1
  1276. package/dist/prometheus-framework/src/modules/products/components/elements/Price.vue2.cjs +0 -1
  1277. package/dist/prometheus-framework/src/modules/products/components/elements/Price.vue2.js +0 -1
  1278. package/dist/prometheus-framework/src/modules/products/components/elements/THC.vue2.cjs +0 -1
  1279. package/dist/prometheus-framework/src/modules/products/components/elements/THC.vue2.js +0 -1
  1280. package/dist/prometheus-framework/src/modules/products/components/pages/CategoryEdit.vue2.cjs +0 -1
  1281. package/dist/prometheus-framework/src/modules/products/components/pages/CategoryEdit.vue2.js +0 -1
  1282. package/dist/prometheus-framework/src/modules/products/components/pages/EditLeftover.vue2.cjs +0 -1
  1283. package/dist/prometheus-framework/src/modules/products/components/pages/EditLeftover.vue2.js +0 -1
  1284. package/dist/prometheus-framework/src/modules/products/components/pages/Leftovers.vue2.cjs +0 -1
  1285. package/dist/prometheus-framework/src/modules/products/components/pages/Leftovers.vue2.js +0 -1
  1286. package/dist/prometheus-framework/src/modules/products/components/pages/Product.vue2.cjs +0 -1
  1287. package/dist/prometheus-framework/src/modules/products/components/pages/Product.vue2.js +0 -1
  1288. package/dist/prometheus-framework/src/modules/products/components/pages/ProductEdit.vue2.cjs +0 -1
  1289. package/dist/prometheus-framework/src/modules/products/components/pages/ProductEdit.vue2.js +0 -1
  1290. package/dist/prometheus-framework/src/modules/products/components/pages/ProductRecommmendation.vue2.cjs +0 -1
  1291. package/dist/prometheus-framework/src/modules/products/components/pages/ProductRecommmendation.vue2.js +0 -1
  1292. package/dist/prometheus-framework/src/modules/products/components/sections/FilterProducts.vue2.cjs +0 -1
  1293. package/dist/prometheus-framework/src/modules/products/components/sections/FilterProducts.vue2.js +0 -1
  1294. package/dist/prometheus-framework/src/modules/products/components/sections/HeroRecommendation.vue2.cjs +0 -1
  1295. package/dist/prometheus-framework/src/modules/products/components/sections/HeroRecommendation.vue2.js +0 -1
  1296. package/dist/prometheus-framework/src/modules/products/components/sections/PopularProducts.vue2.cjs +0 -1
  1297. package/dist/prometheus-framework/src/modules/products/components/sections/PopularProducts.vue2.js +0 -1
  1298. package/dist/prometheus-framework/src/modules/products/components/sections/SortProducts.vue.cjs +0 -1
  1299. package/dist/prometheus-framework/src/modules/products/components/sections/SortProducts.vue.js +0 -53
  1300. package/dist/prometheus-framework/src/modules/spots/components/blocks/CardSpot.vue2.cjs +0 -1
  1301. package/dist/prometheus-framework/src/modules/spots/components/blocks/CardSpot.vue2.js +0 -1
  1302. package/dist/prometheus-framework/src/modules/users/components/sections/FeaturedUsers.vue2.cjs +0 -1
  1303. package/dist/prometheus-framework/src/modules/users/components/sections/FeaturedUsers.vue2.js +0 -1
  1304. package/dist/prometheus-framework/src/modules/wallet/views/components/pages/Payments.vue2.cjs +0 -1
  1305. package/dist/prometheus-framework/src/modules/wallet/views/components/pages/Payments.vue2.js +0 -1
  1306. package/dist/queryProcessor-BJdKh0Ow.mjs +0 -162
  1307. package/dist/queryProcessor-BJoJAetd.mjs +0 -162
  1308. package/dist/queryProcessor-BUDoM96e.js +0 -148
  1309. package/dist/queryProcessor-Cl6sU582.mjs +0 -149
  1310. package/dist/queryProcessor-DRMo_GWK.js +0 -161
  1311. package/dist/queryProcessor-DWf9tsis.js +0 -161
  1312. package/dist/web-B2xhKZNK.js +0 -1
  1313. package/dist/web-B8tq3Fda.mjs +0 -54
  1314. package/dist/web-BDaOF322.js +0 -1
  1315. package/dist/web-BEJCRWop.mjs +0 -54
  1316. package/dist/web-BHzpMOmk.mjs +0 -54
  1317. package/dist/web-BX5um81l.js +0 -1
  1318. package/dist/web-ByJkgGrt.js +0 -1
  1319. package/dist/web-C0sFgeYh.mjs +0 -54
  1320. package/dist/web-CQQEUA9l.js +0 -1
  1321. package/dist/web-CQiHBOEN.mjs +0 -54
  1322. package/dist/web-CXzcKdk4.mjs +0 -54
  1323. package/dist/web-CciQvENI.js +0 -1
  1324. package/dist/web-CkrMHYIU.js +0 -1
  1325. package/dist/web-CtVocufd.js +0 -1
  1326. package/dist/web-CvRd3N_J.mjs +0 -54
  1327. package/dist/web-D0ugI6ra.js +0 -1
  1328. package/dist/web-D2Em-p-C.mjs +0 -54
  1329. package/dist/web-D9Cfcy5k.js +0 -1
  1330. package/dist/web-DEysqj0n.js +0 -1
  1331. package/dist/web-DNq1tHCE.mjs +0 -54
  1332. package/dist/web-DTzbVshr.mjs +0 -54
  1333. package/dist/web-Douq6xn6.js +0 -1
  1334. package/dist/web-DtWmpLE-.mjs +0 -54
  1335. package/dist/web-TGdVOTnw.js +0 -1
  1336. package/dist/web-VFuzUsNl.mjs +0 -54
  1337. package/dist/web-_W9a_nWD.mjs +0 -54
  1338. package/dist/web-kg3KgbAF.js +0 -1
  1339. package/dist/web-nVxTNRH4.mjs +0 -54
  1340. package/src/components/Magnifier/Magnifier.vue +0 -89
  1341. /package/src/{modules/mobile/components → components}/Menu/Menu.vue +0 -0
  1342. /package/src/{modules/mobile/components → components}/Menu/MenuItem.vue +0 -0
  1343. /package/src/{modules/gallery/components/blocks → components/PhotoViewer}/PhotoViewer.vue +0 -0
  1344. /package/src/modules/{mobile/components/BottomNavigation → globals/components/partials}/BottomNavigation.vue +0 -0
  1345. /package/src/modules/{mobile/components/NavigationBar → globals/components/partials}/NavigationBar.vue +0 -0
  1346. /package/src/modules/{mobile/components/Walkthrough → globals/components/sections}/Walkthrough.vue +0 -0
  1347. /package/src/modules/{landing → pages}/components/pages/Page.vue +0 -0
  1348. /package/src/modules/{backoffice/components/admin → pages/components/pages}/PageEdit.vue +0 -0
  1349. /package/src/modules/{backoffice/components/admin → pages/components/pages}/Pages.vue +0 -0
@@ -1,2854 +0,0 @@
1
- var g;
2
- (function(s) {
3
- s.assertEqual = (n) => n;
4
- function e(n) {
5
- }
6
- s.assertIs = e;
7
- function t(n) {
8
- throw new Error();
9
- }
10
- s.assertNever = t, s.arrayToEnum = (n) => {
11
- const a = {};
12
- for (const i of n)
13
- a[i] = i;
14
- return a;
15
- }, s.getValidEnumValues = (n) => {
16
- const a = s.objectKeys(n).filter((o) => typeof n[n[o]] != "number"), i = {};
17
- for (const o of a)
18
- i[o] = n[o];
19
- return s.objectValues(i);
20
- }, s.objectValues = (n) => s.objectKeys(n).map(function(a) {
21
- return n[a];
22
- }), s.objectKeys = typeof Object.keys == "function" ? (n) => Object.keys(n) : (n) => {
23
- const a = [];
24
- for (const i in n)
25
- Object.prototype.hasOwnProperty.call(n, i) && a.push(i);
26
- return a;
27
- }, s.find = (n, a) => {
28
- for (const i of n)
29
- if (a(i))
30
- return i;
31
- }, s.isInteger = typeof Number.isInteger == "function" ? (n) => Number.isInteger(n) : (n) => typeof n == "number" && isFinite(n) && Math.floor(n) === n;
32
- function r(n, a = " | ") {
33
- return n.map((i) => typeof i == "string" ? `'${i}'` : i).join(a);
34
- }
35
- s.joinValues = r, s.jsonStringifyReplacer = (n, a) => typeof a == "bigint" ? a.toString() : a;
36
- })(g || (g = {}));
37
- var ye;
38
- (function(s) {
39
- s.mergeShapes = (e, t) => ({
40
- ...e,
41
- ...t
42
- // second overwrites first
43
- });
44
- })(ye || (ye = {}));
45
- const u = g.arrayToEnum([
46
- "string",
47
- "nan",
48
- "number",
49
- "integer",
50
- "float",
51
- "boolean",
52
- "date",
53
- "bigint",
54
- "symbol",
55
- "function",
56
- "undefined",
57
- "null",
58
- "array",
59
- "object",
60
- "unknown",
61
- "promise",
62
- "void",
63
- "never",
64
- "map",
65
- "set"
66
- ]), R = (s) => {
67
- switch (typeof s) {
68
- case "undefined":
69
- return u.undefined;
70
- case "string":
71
- return u.string;
72
- case "number":
73
- return isNaN(s) ? u.nan : u.number;
74
- case "boolean":
75
- return u.boolean;
76
- case "function":
77
- return u.function;
78
- case "bigint":
79
- return u.bigint;
80
- case "symbol":
81
- return u.symbol;
82
- case "object":
83
- return Array.isArray(s) ? u.array : s === null ? u.null : s.then && typeof s.then == "function" && s.catch && typeof s.catch == "function" ? u.promise : typeof Map < "u" && s instanceof Map ? u.map : typeof Set < "u" && s instanceof Set ? u.set : typeof Date < "u" && s instanceof Date ? u.date : u.object;
84
- default:
85
- return u.unknown;
86
- }
87
- }, c = g.arrayToEnum([
88
- "invalid_type",
89
- "invalid_literal",
90
- "custom",
91
- "invalid_union",
92
- "invalid_union_discriminator",
93
- "invalid_enum_value",
94
- "unrecognized_keys",
95
- "invalid_arguments",
96
- "invalid_return_type",
97
- "invalid_date",
98
- "invalid_string",
99
- "too_small",
100
- "too_big",
101
- "invalid_intersection_types",
102
- "not_multiple_of",
103
- "not_finite"
104
- ]), Ee = (s) => JSON.stringify(s, null, 2).replace(/"([^"]+)":/g, "$1:");
105
- class Z extends Error {
106
- constructor(e) {
107
- super(), this.issues = [], this.addIssue = (r) => {
108
- this.issues = [...this.issues, r];
109
- }, this.addIssues = (r = []) => {
110
- this.issues = [...this.issues, ...r];
111
- };
112
- const t = new.target.prototype;
113
- Object.setPrototypeOf ? Object.setPrototypeOf(this, t) : this.__proto__ = t, this.name = "ZodError", this.issues = e;
114
- }
115
- get errors() {
116
- return this.issues;
117
- }
118
- format(e) {
119
- const t = e || function(a) {
120
- return a.message;
121
- }, r = { _errors: [] }, n = (a) => {
122
- for (const i of a.issues)
123
- if (i.code === "invalid_union")
124
- i.unionErrors.map(n);
125
- else if (i.code === "invalid_return_type")
126
- n(i.returnTypeError);
127
- else if (i.code === "invalid_arguments")
128
- n(i.argumentsError);
129
- else if (i.path.length === 0)
130
- r._errors.push(t(i));
131
- else {
132
- let o = r, f = 0;
133
- for (; f < i.path.length; ) {
134
- const d = i.path[f];
135
- f === i.path.length - 1 ? (o[d] = o[d] || { _errors: [] }, o[d]._errors.push(t(i))) : o[d] = o[d] || { _errors: [] }, o = o[d], f++;
136
- }
137
- }
138
- };
139
- return n(this), r;
140
- }
141
- toString() {
142
- return this.message;
143
- }
144
- get message() {
145
- return JSON.stringify(this.issues, g.jsonStringifyReplacer, 2);
146
- }
147
- get isEmpty() {
148
- return this.issues.length === 0;
149
- }
150
- flatten(e = (t) => t.message) {
151
- const t = {}, r = [];
152
- for (const n of this.issues)
153
- n.path.length > 0 ? (t[n.path[0]] = t[n.path[0]] || [], t[n.path[0]].push(e(n))) : r.push(e(n));
154
- return { formErrors: r, fieldErrors: t };
155
- }
156
- get formErrors() {
157
- return this.flatten();
158
- }
159
- }
160
- Z.create = (s) => new Z(s);
161
- const W = (s, e) => {
162
- let t;
163
- switch (s.code) {
164
- case c.invalid_type:
165
- s.received === u.undefined ? t = "Required" : t = `Expected ${s.expected}, received ${s.received}`;
166
- break;
167
- case c.invalid_literal:
168
- t = `Invalid literal value, expected ${JSON.stringify(s.expected, g.jsonStringifyReplacer)}`;
169
- break;
170
- case c.unrecognized_keys:
171
- t = `Unrecognized key(s) in object: ${g.joinValues(s.keys, ", ")}`;
172
- break;
173
- case c.invalid_union:
174
- t = "Invalid input";
175
- break;
176
- case c.invalid_union_discriminator:
177
- t = `Invalid discriminator value. Expected ${g.joinValues(s.options)}`;
178
- break;
179
- case c.invalid_enum_value:
180
- t = `Invalid enum value. Expected ${g.joinValues(s.options)}, received '${s.received}'`;
181
- break;
182
- case c.invalid_arguments:
183
- t = "Invalid function arguments";
184
- break;
185
- case c.invalid_return_type:
186
- t = "Invalid function return type";
187
- break;
188
- case c.invalid_date:
189
- t = "Invalid date";
190
- break;
191
- case c.invalid_string:
192
- typeof s.validation == "object" ? "includes" in s.validation ? (t = `Invalid input: must include "${s.validation.includes}"`, typeof s.validation.position == "number" && (t = `${t} at one or more positions greater than or equal to ${s.validation.position}`)) : "startsWith" in s.validation ? t = `Invalid input: must start with "${s.validation.startsWith}"` : "endsWith" in s.validation ? t = `Invalid input: must end with "${s.validation.endsWith}"` : g.assertNever(s.validation) : s.validation !== "regex" ? t = `Invalid ${s.validation}` : t = "Invalid";
193
- break;
194
- case c.too_small:
195
- s.type === "array" ? t = `Array must contain ${s.exact ? "exactly" : s.inclusive ? "at least" : "more than"} ${s.minimum} element(s)` : s.type === "string" ? t = `String must contain ${s.exact ? "exactly" : s.inclusive ? "at least" : "over"} ${s.minimum} character(s)` : s.type === "number" ? t = `Number must be ${s.exact ? "exactly equal to " : s.inclusive ? "greater than or equal to " : "greater than "}${s.minimum}` : s.type === "date" ? t = `Date must be ${s.exact ? "exactly equal to " : s.inclusive ? "greater than or equal to " : "greater than "}${new Date(Number(s.minimum))}` : t = "Invalid input";
196
- break;
197
- case c.too_big:
198
- s.type === "array" ? t = `Array must contain ${s.exact ? "exactly" : s.inclusive ? "at most" : "less than"} ${s.maximum} element(s)` : s.type === "string" ? t = `String must contain ${s.exact ? "exactly" : s.inclusive ? "at most" : "under"} ${s.maximum} character(s)` : s.type === "number" ? t = `Number must be ${s.exact ? "exactly" : s.inclusive ? "less than or equal to" : "less than"} ${s.maximum}` : s.type === "bigint" ? t = `BigInt must be ${s.exact ? "exactly" : s.inclusive ? "less than or equal to" : "less than"} ${s.maximum}` : s.type === "date" ? t = `Date must be ${s.exact ? "exactly" : s.inclusive ? "smaller than or equal to" : "smaller than"} ${new Date(Number(s.maximum))}` : t = "Invalid input";
199
- break;
200
- case c.custom:
201
- t = "Invalid input";
202
- break;
203
- case c.invalid_intersection_types:
204
- t = "Intersection results could not be merged";
205
- break;
206
- case c.not_multiple_of:
207
- t = `Number must be a multiple of ${s.multipleOf}`;
208
- break;
209
- case c.not_finite:
210
- t = "Number must be finite";
211
- break;
212
- default:
213
- t = e.defaultError, g.assertNever(s);
214
- }
215
- return { message: t };
216
- };
217
- let be = W;
218
- function Ie(s) {
219
- be = s;
220
- }
221
- function ne() {
222
- return be;
223
- }
224
- const ae = (s) => {
225
- const { data: e, path: t, errorMaps: r, issueData: n } = s, a = [...t, ...n.path || []], i = {
226
- ...n,
227
- path: a
228
- };
229
- let o = "";
230
- const f = r.filter((d) => !!d).slice().reverse();
231
- for (const d of f)
232
- o = d(i, { data: e, defaultError: o }).message;
233
- return {
234
- ...n,
235
- path: a,
236
- message: n.message || o
237
- };
238
- }, Re = [];
239
- function l(s, e) {
240
- const t = ae({
241
- issueData: e,
242
- data: s.data,
243
- path: s.path,
244
- errorMaps: [
245
- s.common.contextualErrorMap,
246
- s.schemaErrorMap,
247
- ne(),
248
- W
249
- // then global default map
250
- ].filter((r) => !!r)
251
- });
252
- s.common.issues.push(t);
253
- }
254
- class k {
255
- constructor() {
256
- this.value = "valid";
257
- }
258
- dirty() {
259
- this.value === "valid" && (this.value = "dirty");
260
- }
261
- abort() {
262
- this.value !== "aborted" && (this.value = "aborted");
263
- }
264
- static mergeArray(e, t) {
265
- const r = [];
266
- for (const n of t) {
267
- if (n.status === "aborted")
268
- return m;
269
- n.status === "dirty" && e.dirty(), r.push(n.value);
270
- }
271
- return { status: e.value, value: r };
272
- }
273
- static async mergeObjectAsync(e, t) {
274
- const r = [];
275
- for (const n of t)
276
- r.push({
277
- key: await n.key,
278
- value: await n.value
279
- });
280
- return k.mergeObjectSync(e, r);
281
- }
282
- static mergeObjectSync(e, t) {
283
- const r = {};
284
- for (const n of t) {
285
- const { key: a, value: i } = n;
286
- if (a.status === "aborted" || i.status === "aborted")
287
- return m;
288
- a.status === "dirty" && e.dirty(), i.status === "dirty" && e.dirty(), a.value !== "__proto__" && (typeof i.value < "u" || n.alwaysSet) && (r[a.value] = i.value);
289
- }
290
- return { status: e.value, value: r };
291
- }
292
- }
293
- const m = Object.freeze({
294
- status: "aborted"
295
- }), we = (s) => ({ status: "dirty", value: s }), b = (s) => ({ status: "valid", value: s }), ve = (s) => s.status === "aborted", _e = (s) => s.status === "dirty", q = (s) => s.status === "valid", ie = (s) => typeof Promise < "u" && s instanceof Promise;
296
- var h;
297
- (function(s) {
298
- s.errToObj = (e) => typeof e == "string" ? { message: e } : e || {}, s.toString = (e) => typeof e == "string" ? e : e == null ? void 0 : e.message;
299
- })(h || (h = {}));
300
- class O {
301
- constructor(e, t, r, n) {
302
- this._cachedPath = [], this.parent = e, this.data = t, this._path = r, this._key = n;
303
- }
304
- get path() {
305
- return this._cachedPath.length || (this._key instanceof Array ? this._cachedPath.push(...this._path, ...this._key) : this._cachedPath.push(...this._path, this._key)), this._cachedPath;
306
- }
307
- }
308
- const xe = (s, e) => {
309
- if (q(e))
310
- return { success: !0, data: e.value };
311
- if (!s.common.issues.length)
312
- throw new Error("Validation failed but no issues detected.");
313
- return {
314
- success: !1,
315
- get error() {
316
- if (this._error)
317
- return this._error;
318
- const t = new Z(s.common.issues);
319
- return this._error = t, this._error;
320
- }
321
- };
322
- };
323
- function y(s) {
324
- if (!s)
325
- return {};
326
- const { errorMap: e, invalid_type_error: t, required_error: r, description: n } = s;
327
- if (e && (t || r))
328
- throw new Error(`Can't use "invalid_type_error" or "required_error" in conjunction with custom error map.`);
329
- return e ? { errorMap: e, description: n } : { errorMap: (i, o) => i.code !== "invalid_type" ? { message: o.defaultError } : typeof o.data > "u" ? { message: r ?? o.defaultError } : { message: t ?? o.defaultError }, description: n };
330
- }
331
- class v {
332
- constructor(e) {
333
- this.spa = this.safeParseAsync, this._def = e, this.parse = this.parse.bind(this), this.safeParse = this.safeParse.bind(this), this.parseAsync = this.parseAsync.bind(this), this.safeParseAsync = this.safeParseAsync.bind(this), this.spa = this.spa.bind(this), this.refine = this.refine.bind(this), this.refinement = this.refinement.bind(this), this.superRefine = this.superRefine.bind(this), this.optional = this.optional.bind(this), this.nullable = this.nullable.bind(this), this.nullish = this.nullish.bind(this), this.array = this.array.bind(this), this.promise = this.promise.bind(this), this.or = this.or.bind(this), this.and = this.and.bind(this), this.transform = this.transform.bind(this), this.brand = this.brand.bind(this), this.default = this.default.bind(this), this.catch = this.catch.bind(this), this.describe = this.describe.bind(this), this.pipe = this.pipe.bind(this), this.readonly = this.readonly.bind(this), this.isNullable = this.isNullable.bind(this), this.isOptional = this.isOptional.bind(this);
334
- }
335
- get description() {
336
- return this._def.description;
337
- }
338
- _getType(e) {
339
- return R(e.data);
340
- }
341
- _getOrReturnCtx(e, t) {
342
- return t || {
343
- common: e.parent.common,
344
- data: e.data,
345
- parsedType: R(e.data),
346
- schemaErrorMap: this._def.errorMap,
347
- path: e.path,
348
- parent: e.parent
349
- };
350
- }
351
- _processInputParams(e) {
352
- return {
353
- status: new k(),
354
- ctx: {
355
- common: e.parent.common,
356
- data: e.data,
357
- parsedType: R(e.data),
358
- schemaErrorMap: this._def.errorMap,
359
- path: e.path,
360
- parent: e.parent
361
- }
362
- };
363
- }
364
- _parseSync(e) {
365
- const t = this._parse(e);
366
- if (ie(t))
367
- throw new Error("Synchronous parse encountered promise.");
368
- return t;
369
- }
370
- _parseAsync(e) {
371
- const t = this._parse(e);
372
- return Promise.resolve(t);
373
- }
374
- parse(e, t) {
375
- const r = this.safeParse(e, t);
376
- if (r.success)
377
- return r.data;
378
- throw r.error;
379
- }
380
- safeParse(e, t) {
381
- var r;
382
- const n = {
383
- common: {
384
- issues: [],
385
- async: (r = t == null ? void 0 : t.async) !== null && r !== void 0 ? r : !1,
386
- contextualErrorMap: t == null ? void 0 : t.errorMap
387
- },
388
- path: (t == null ? void 0 : t.path) || [],
389
- schemaErrorMap: this._def.errorMap,
390
- parent: null,
391
- data: e,
392
- parsedType: R(e)
393
- }, a = this._parseSync({ data: e, path: n.path, parent: n });
394
- return xe(n, a);
395
- }
396
- async parseAsync(e, t) {
397
- const r = await this.safeParseAsync(e, t);
398
- if (r.success)
399
- return r.data;
400
- throw r.error;
401
- }
402
- async safeParseAsync(e, t) {
403
- const r = {
404
- common: {
405
- issues: [],
406
- contextualErrorMap: t == null ? void 0 : t.errorMap,
407
- async: !0
408
- },
409
- path: (t == null ? void 0 : t.path) || [],
410
- schemaErrorMap: this._def.errorMap,
411
- parent: null,
412
- data: e,
413
- parsedType: R(e)
414
- }, n = this._parse({ data: e, path: r.path, parent: r }), a = await (ie(n) ? n : Promise.resolve(n));
415
- return xe(r, a);
416
- }
417
- refine(e, t) {
418
- const r = (n) => typeof t == "string" || typeof t > "u" ? { message: t } : typeof t == "function" ? t(n) : t;
419
- return this._refinement((n, a) => {
420
- const i = e(n), o = () => a.addIssue({
421
- code: c.custom,
422
- ...r(n)
423
- });
424
- return typeof Promise < "u" && i instanceof Promise ? i.then((f) => f ? !0 : (o(), !1)) : i ? !0 : (o(), !1);
425
- });
426
- }
427
- refinement(e, t) {
428
- return this._refinement((r, n) => e(r) ? !0 : (n.addIssue(typeof t == "function" ? t(r, n) : t), !1));
429
- }
430
- _refinement(e) {
431
- return new N({
432
- schema: this,
433
- typeName: p.ZodEffects,
434
- effect: { type: "refinement", refinement: e }
435
- });
436
- }
437
- superRefine(e) {
438
- return this._refinement(e);
439
- }
440
- optional() {
441
- return E.create(this, this._def);
442
- }
443
- nullable() {
444
- return L.create(this, this._def);
445
- }
446
- nullish() {
447
- return this.nullable().optional();
448
- }
449
- array() {
450
- return S.create(this, this._def);
451
- }
452
- promise() {
453
- return B.create(this, this._def);
454
- }
455
- or(e) {
456
- return G.create([this, e], this._def);
457
- }
458
- and(e) {
459
- return X.create(this, e, this._def);
460
- }
461
- transform(e) {
462
- return new N({
463
- ...y(this._def),
464
- schema: this,
465
- typeName: p.ZodEffects,
466
- effect: { type: "transform", transform: e }
467
- });
468
- }
469
- default(e) {
470
- const t = typeof e == "function" ? e : () => e;
471
- return new te({
472
- ...y(this._def),
473
- innerType: this,
474
- defaultValue: t,
475
- typeName: p.ZodDefault
476
- });
477
- }
478
- brand() {
479
- return new Ze({
480
- typeName: p.ZodBranded,
481
- type: this,
482
- ...y(this._def)
483
- });
484
- }
485
- catch(e) {
486
- const t = typeof e == "function" ? e : () => e;
487
- return new ue({
488
- ...y(this._def),
489
- innerType: this,
490
- catchValue: t,
491
- typeName: p.ZodCatch
492
- });
493
- }
494
- describe(e) {
495
- const t = this.constructor;
496
- return new t({
497
- ...this._def,
498
- description: e
499
- });
500
- }
501
- pipe(e) {
502
- return se.create(this, e);
503
- }
504
- readonly() {
505
- return fe.create(this);
506
- }
507
- isOptional() {
508
- return this.safeParse(void 0).success;
509
- }
510
- isNullable() {
511
- return this.safeParse(null).success;
512
- }
513
- }
514
- const je = /^c[^\s-]{8,}$/i, Ae = /^[a-z][a-z0-9]*$/, Me = /^[0-9A-HJKMNP-TV-Z]{26}$/, Pe = /^[0-9a-fA-F]{8}\b-[0-9a-fA-F]{4}\b-[0-9a-fA-F]{4}\b-[0-9a-fA-F]{4}\b-[0-9a-fA-F]{12}$/i, Ve = /^(?!\.)(?!.*\.\.)([A-Z0-9_+-\.]*)[A-Z0-9_+-]@([A-Z0-9][A-Z0-9\-]*\.)+[A-Z]{2,}$/i, $e = "^(\\p{Extended_Pictographic}|\\p{Emoji_Component})+$";
515
- let me;
516
- const Le = /^(((25[0-5])|(2[0-4][0-9])|(1[0-9]{2})|([0-9]{1,2}))\.){3}((25[0-5])|(2[0-4][0-9])|(1[0-9]{2})|([0-9]{1,2}))$/, De = /^(([a-f0-9]{1,4}:){7}|::([a-f0-9]{1,4}:){0,6}|([a-f0-9]{1,4}:){1}:([a-f0-9]{1,4}:){0,5}|([a-f0-9]{1,4}:){2}:([a-f0-9]{1,4}:){0,4}|([a-f0-9]{1,4}:){3}:([a-f0-9]{1,4}:){0,3}|([a-f0-9]{1,4}:){4}:([a-f0-9]{1,4}:){0,2}|([a-f0-9]{1,4}:){5}:([a-f0-9]{1,4}:){0,1})([a-f0-9]{1,4}|(((25[0-5])|(2[0-4][0-9])|(1[0-9]{2})|([0-9]{1,2}))\.){3}((25[0-5])|(2[0-4][0-9])|(1[0-9]{2})|([0-9]{1,2})))$/, ze = (s) => s.precision ? s.offset ? new RegExp(`^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}\\.\\d{${s.precision}}(([+-]\\d{2}(:?\\d{2})?)|Z)$`) : new RegExp(`^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}\\.\\d{${s.precision}}Z$`) : s.precision === 0 ? s.offset ? new RegExp("^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(([+-]\\d{2}(:?\\d{2})?)|Z)$") : new RegExp("^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}Z$") : s.offset ? new RegExp("^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(\\.\\d+)?(([+-]\\d{2}(:?\\d{2})?)|Z)$") : new RegExp("^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(\\.\\d+)?Z$");
517
- function Ue(s, e) {
518
- return !!((e === "v4" || !e) && Le.test(s) || (e === "v6" || !e) && De.test(s));
519
- }
520
- class T extends v {
521
- _parse(e) {
522
- if (this._def.coerce && (e.data = String(e.data)), this._getType(e) !== u.string) {
523
- const a = this._getOrReturnCtx(e);
524
- return l(
525
- a,
526
- {
527
- code: c.invalid_type,
528
- expected: u.string,
529
- received: a.parsedType
530
- }
531
- //
532
- ), m;
533
- }
534
- const r = new k();
535
- let n;
536
- for (const a of this._def.checks)
537
- if (a.kind === "min")
538
- e.data.length < a.value && (n = this._getOrReturnCtx(e, n), l(n, {
539
- code: c.too_small,
540
- minimum: a.value,
541
- type: "string",
542
- inclusive: !0,
543
- exact: !1,
544
- message: a.message
545
- }), r.dirty());
546
- else if (a.kind === "max")
547
- e.data.length > a.value && (n = this._getOrReturnCtx(e, n), l(n, {
548
- code: c.too_big,
549
- maximum: a.value,
550
- type: "string",
551
- inclusive: !0,
552
- exact: !1,
553
- message: a.message
554
- }), r.dirty());
555
- else if (a.kind === "length") {
556
- const i = e.data.length > a.value, o = e.data.length < a.value;
557
- (i || o) && (n = this._getOrReturnCtx(e, n), i ? l(n, {
558
- code: c.too_big,
559
- maximum: a.value,
560
- type: "string",
561
- inclusive: !0,
562
- exact: !0,
563
- message: a.message
564
- }) : o && l(n, {
565
- code: c.too_small,
566
- minimum: a.value,
567
- type: "string",
568
- inclusive: !0,
569
- exact: !0,
570
- message: a.message
571
- }), r.dirty());
572
- } else if (a.kind === "email")
573
- Ve.test(e.data) || (n = this._getOrReturnCtx(e, n), l(n, {
574
- validation: "email",
575
- code: c.invalid_string,
576
- message: a.message
577
- }), r.dirty());
578
- else if (a.kind === "emoji")
579
- me || (me = new RegExp($e, "u")), me.test(e.data) || (n = this._getOrReturnCtx(e, n), l(n, {
580
- validation: "emoji",
581
- code: c.invalid_string,
582
- message: a.message
583
- }), r.dirty());
584
- else if (a.kind === "uuid")
585
- Pe.test(e.data) || (n = this._getOrReturnCtx(e, n), l(n, {
586
- validation: "uuid",
587
- code: c.invalid_string,
588
- message: a.message
589
- }), r.dirty());
590
- else if (a.kind === "cuid")
591
- je.test(e.data) || (n = this._getOrReturnCtx(e, n), l(n, {
592
- validation: "cuid",
593
- code: c.invalid_string,
594
- message: a.message
595
- }), r.dirty());
596
- else if (a.kind === "cuid2")
597
- Ae.test(e.data) || (n = this._getOrReturnCtx(e, n), l(n, {
598
- validation: "cuid2",
599
- code: c.invalid_string,
600
- message: a.message
601
- }), r.dirty());
602
- else if (a.kind === "ulid")
603
- Me.test(e.data) || (n = this._getOrReturnCtx(e, n), l(n, {
604
- validation: "ulid",
605
- code: c.invalid_string,
606
- message: a.message
607
- }), r.dirty());
608
- else if (a.kind === "url")
609
- try {
610
- new URL(e.data);
611
- } catch {
612
- n = this._getOrReturnCtx(e, n), l(n, {
613
- validation: "url",
614
- code: c.invalid_string,
615
- message: a.message
616
- }), r.dirty();
617
- }
618
- else
619
- a.kind === "regex" ? (a.regex.lastIndex = 0, a.regex.test(e.data) || (n = this._getOrReturnCtx(e, n), l(n, {
620
- validation: "regex",
621
- code: c.invalid_string,
622
- message: a.message
623
- }), r.dirty())) : a.kind === "trim" ? e.data = e.data.trim() : a.kind === "includes" ? e.data.includes(a.value, a.position) || (n = this._getOrReturnCtx(e, n), l(n, {
624
- code: c.invalid_string,
625
- validation: { includes: a.value, position: a.position },
626
- message: a.message
627
- }), r.dirty()) : a.kind === "toLowerCase" ? e.data = e.data.toLowerCase() : a.kind === "toUpperCase" ? e.data = e.data.toUpperCase() : a.kind === "startsWith" ? e.data.startsWith(a.value) || (n = this._getOrReturnCtx(e, n), l(n, {
628
- code: c.invalid_string,
629
- validation: { startsWith: a.value },
630
- message: a.message
631
- }), r.dirty()) : a.kind === "endsWith" ? e.data.endsWith(a.value) || (n = this._getOrReturnCtx(e, n), l(n, {
632
- code: c.invalid_string,
633
- validation: { endsWith: a.value },
634
- message: a.message
635
- }), r.dirty()) : a.kind === "datetime" ? ze(a).test(e.data) || (n = this._getOrReturnCtx(e, n), l(n, {
636
- code: c.invalid_string,
637
- validation: "datetime",
638
- message: a.message
639
- }), r.dirty()) : a.kind === "ip" ? Ue(e.data, a.version) || (n = this._getOrReturnCtx(e, n), l(n, {
640
- validation: "ip",
641
- code: c.invalid_string,
642
- message: a.message
643
- }), r.dirty()) : g.assertNever(a);
644
- return { status: r.value, value: e.data };
645
- }
646
- _regex(e, t, r) {
647
- return this.refinement((n) => e.test(n), {
648
- validation: t,
649
- code: c.invalid_string,
650
- ...h.errToObj(r)
651
- });
652
- }
653
- _addCheck(e) {
654
- return new T({
655
- ...this._def,
656
- checks: [...this._def.checks, e]
657
- });
658
- }
659
- email(e) {
660
- return this._addCheck({ kind: "email", ...h.errToObj(e) });
661
- }
662
- url(e) {
663
- return this._addCheck({ kind: "url", ...h.errToObj(e) });
664
- }
665
- emoji(e) {
666
- return this._addCheck({ kind: "emoji", ...h.errToObj(e) });
667
- }
668
- uuid(e) {
669
- return this._addCheck({ kind: "uuid", ...h.errToObj(e) });
670
- }
671
- cuid(e) {
672
- return this._addCheck({ kind: "cuid", ...h.errToObj(e) });
673
- }
674
- cuid2(e) {
675
- return this._addCheck({ kind: "cuid2", ...h.errToObj(e) });
676
- }
677
- ulid(e) {
678
- return this._addCheck({ kind: "ulid", ...h.errToObj(e) });
679
- }
680
- ip(e) {
681
- return this._addCheck({ kind: "ip", ...h.errToObj(e) });
682
- }
683
- datetime(e) {
684
- var t;
685
- return typeof e == "string" ? this._addCheck({
686
- kind: "datetime",
687
- precision: null,
688
- offset: !1,
689
- message: e
690
- }) : this._addCheck({
691
- kind: "datetime",
692
- precision: typeof (e == null ? void 0 : e.precision) > "u" ? null : e == null ? void 0 : e.precision,
693
- offset: (t = e == null ? void 0 : e.offset) !== null && t !== void 0 ? t : !1,
694
- ...h.errToObj(e == null ? void 0 : e.message)
695
- });
696
- }
697
- regex(e, t) {
698
- return this._addCheck({
699
- kind: "regex",
700
- regex: e,
701
- ...h.errToObj(t)
702
- });
703
- }
704
- includes(e, t) {
705
- return this._addCheck({
706
- kind: "includes",
707
- value: e,
708
- position: t == null ? void 0 : t.position,
709
- ...h.errToObj(t == null ? void 0 : t.message)
710
- });
711
- }
712
- startsWith(e, t) {
713
- return this._addCheck({
714
- kind: "startsWith",
715
- value: e,
716
- ...h.errToObj(t)
717
- });
718
- }
719
- endsWith(e, t) {
720
- return this._addCheck({
721
- kind: "endsWith",
722
- value: e,
723
- ...h.errToObj(t)
724
- });
725
- }
726
- min(e, t) {
727
- return this._addCheck({
728
- kind: "min",
729
- value: e,
730
- ...h.errToObj(t)
731
- });
732
- }
733
- max(e, t) {
734
- return this._addCheck({
735
- kind: "max",
736
- value: e,
737
- ...h.errToObj(t)
738
- });
739
- }
740
- length(e, t) {
741
- return this._addCheck({
742
- kind: "length",
743
- value: e,
744
- ...h.errToObj(t)
745
- });
746
- }
747
- /**
748
- * @deprecated Use z.string().min(1) instead.
749
- * @see {@link ZodString.min}
750
- */
751
- nonempty(e) {
752
- return this.min(1, h.errToObj(e));
753
- }
754
- trim() {
755
- return new T({
756
- ...this._def,
757
- checks: [...this._def.checks, { kind: "trim" }]
758
- });
759
- }
760
- toLowerCase() {
761
- return new T({
762
- ...this._def,
763
- checks: [...this._def.checks, { kind: "toLowerCase" }]
764
- });
765
- }
766
- toUpperCase() {
767
- return new T({
768
- ...this._def,
769
- checks: [...this._def.checks, { kind: "toUpperCase" }]
770
- });
771
- }
772
- get isDatetime() {
773
- return !!this._def.checks.find((e) => e.kind === "datetime");
774
- }
775
- get isEmail() {
776
- return !!this._def.checks.find((e) => e.kind === "email");
777
- }
778
- get isURL() {
779
- return !!this._def.checks.find((e) => e.kind === "url");
780
- }
781
- get isEmoji() {
782
- return !!this._def.checks.find((e) => e.kind === "emoji");
783
- }
784
- get isUUID() {
785
- return !!this._def.checks.find((e) => e.kind === "uuid");
786
- }
787
- get isCUID() {
788
- return !!this._def.checks.find((e) => e.kind === "cuid");
789
- }
790
- get isCUID2() {
791
- return !!this._def.checks.find((e) => e.kind === "cuid2");
792
- }
793
- get isULID() {
794
- return !!this._def.checks.find((e) => e.kind === "ulid");
795
- }
796
- get isIP() {
797
- return !!this._def.checks.find((e) => e.kind === "ip");
798
- }
799
- get minLength() {
800
- let e = null;
801
- for (const t of this._def.checks)
802
- t.kind === "min" && (e === null || t.value > e) && (e = t.value);
803
- return e;
804
- }
805
- get maxLength() {
806
- let e = null;
807
- for (const t of this._def.checks)
808
- t.kind === "max" && (e === null || t.value < e) && (e = t.value);
809
- return e;
810
- }
811
- }
812
- T.create = (s) => {
813
- var e;
814
- return new T({
815
- checks: [],
816
- typeName: p.ZodString,
817
- coerce: (e = s == null ? void 0 : s.coerce) !== null && e !== void 0 ? e : !1,
818
- ...y(s)
819
- });
820
- };
821
- function Be(s, e) {
822
- const t = (s.toString().split(".")[1] || "").length, r = (e.toString().split(".")[1] || "").length, n = t > r ? t : r, a = parseInt(s.toFixed(n).replace(".", "")), i = parseInt(e.toFixed(n).replace(".", ""));
823
- return a % i / Math.pow(10, n);
824
- }
825
- class j extends v {
826
- constructor() {
827
- super(...arguments), this.min = this.gte, this.max = this.lte, this.step = this.multipleOf;
828
- }
829
- _parse(e) {
830
- if (this._def.coerce && (e.data = Number(e.data)), this._getType(e) !== u.number) {
831
- const a = this._getOrReturnCtx(e);
832
- return l(a, {
833
- code: c.invalid_type,
834
- expected: u.number,
835
- received: a.parsedType
836
- }), m;
837
- }
838
- let r;
839
- const n = new k();
840
- for (const a of this._def.checks)
841
- a.kind === "int" ? g.isInteger(e.data) || (r = this._getOrReturnCtx(e, r), l(r, {
842
- code: c.invalid_type,
843
- expected: "integer",
844
- received: "float",
845
- message: a.message
846
- }), n.dirty()) : a.kind === "min" ? (a.inclusive ? e.data < a.value : e.data <= a.value) && (r = this._getOrReturnCtx(e, r), l(r, {
847
- code: c.too_small,
848
- minimum: a.value,
849
- type: "number",
850
- inclusive: a.inclusive,
851
- exact: !1,
852
- message: a.message
853
- }), n.dirty()) : a.kind === "max" ? (a.inclusive ? e.data > a.value : e.data >= a.value) && (r = this._getOrReturnCtx(e, r), l(r, {
854
- code: c.too_big,
855
- maximum: a.value,
856
- type: "number",
857
- inclusive: a.inclusive,
858
- exact: !1,
859
- message: a.message
860
- }), n.dirty()) : a.kind === "multipleOf" ? Be(e.data, a.value) !== 0 && (r = this._getOrReturnCtx(e, r), l(r, {
861
- code: c.not_multiple_of,
862
- multipleOf: a.value,
863
- message: a.message
864
- }), n.dirty()) : a.kind === "finite" ? Number.isFinite(e.data) || (r = this._getOrReturnCtx(e, r), l(r, {
865
- code: c.not_finite,
866
- message: a.message
867
- }), n.dirty()) : g.assertNever(a);
868
- return { status: n.value, value: e.data };
869
- }
870
- gte(e, t) {
871
- return this.setLimit("min", e, !0, h.toString(t));
872
- }
873
- gt(e, t) {
874
- return this.setLimit("min", e, !1, h.toString(t));
875
- }
876
- lte(e, t) {
877
- return this.setLimit("max", e, !0, h.toString(t));
878
- }
879
- lt(e, t) {
880
- return this.setLimit("max", e, !1, h.toString(t));
881
- }
882
- setLimit(e, t, r, n) {
883
- return new j({
884
- ...this._def,
885
- checks: [
886
- ...this._def.checks,
887
- {
888
- kind: e,
889
- value: t,
890
- inclusive: r,
891
- message: h.toString(n)
892
- }
893
- ]
894
- });
895
- }
896
- _addCheck(e) {
897
- return new j({
898
- ...this._def,
899
- checks: [...this._def.checks, e]
900
- });
901
- }
902
- int(e) {
903
- return this._addCheck({
904
- kind: "int",
905
- message: h.toString(e)
906
- });
907
- }
908
- positive(e) {
909
- return this._addCheck({
910
- kind: "min",
911
- value: 0,
912
- inclusive: !1,
913
- message: h.toString(e)
914
- });
915
- }
916
- negative(e) {
917
- return this._addCheck({
918
- kind: "max",
919
- value: 0,
920
- inclusive: !1,
921
- message: h.toString(e)
922
- });
923
- }
924
- nonpositive(e) {
925
- return this._addCheck({
926
- kind: "max",
927
- value: 0,
928
- inclusive: !0,
929
- message: h.toString(e)
930
- });
931
- }
932
- nonnegative(e) {
933
- return this._addCheck({
934
- kind: "min",
935
- value: 0,
936
- inclusive: !0,
937
- message: h.toString(e)
938
- });
939
- }
940
- multipleOf(e, t) {
941
- return this._addCheck({
942
- kind: "multipleOf",
943
- value: e,
944
- message: h.toString(t)
945
- });
946
- }
947
- finite(e) {
948
- return this._addCheck({
949
- kind: "finite",
950
- message: h.toString(e)
951
- });
952
- }
953
- safe(e) {
954
- return this._addCheck({
955
- kind: "min",
956
- inclusive: !0,
957
- value: Number.MIN_SAFE_INTEGER,
958
- message: h.toString(e)
959
- })._addCheck({
960
- kind: "max",
961
- inclusive: !0,
962
- value: Number.MAX_SAFE_INTEGER,
963
- message: h.toString(e)
964
- });
965
- }
966
- get minValue() {
967
- let e = null;
968
- for (const t of this._def.checks)
969
- t.kind === "min" && (e === null || t.value > e) && (e = t.value);
970
- return e;
971
- }
972
- get maxValue() {
973
- let e = null;
974
- for (const t of this._def.checks)
975
- t.kind === "max" && (e === null || t.value < e) && (e = t.value);
976
- return e;
977
- }
978
- get isInt() {
979
- return !!this._def.checks.find((e) => e.kind === "int" || e.kind === "multipleOf" && g.isInteger(e.value));
980
- }
981
- get isFinite() {
982
- let e = null, t = null;
983
- for (const r of this._def.checks) {
984
- if (r.kind === "finite" || r.kind === "int" || r.kind === "multipleOf")
985
- return !0;
986
- r.kind === "min" ? (t === null || r.value > t) && (t = r.value) : r.kind === "max" && (e === null || r.value < e) && (e = r.value);
987
- }
988
- return Number.isFinite(t) && Number.isFinite(e);
989
- }
990
- }
991
- j.create = (s) => new j({
992
- checks: [],
993
- typeName: p.ZodNumber,
994
- coerce: (s == null ? void 0 : s.coerce) || !1,
995
- ...y(s)
996
- });
997
- class A extends v {
998
- constructor() {
999
- super(...arguments), this.min = this.gte, this.max = this.lte;
1000
- }
1001
- _parse(e) {
1002
- if (this._def.coerce && (e.data = BigInt(e.data)), this._getType(e) !== u.bigint) {
1003
- const a = this._getOrReturnCtx(e);
1004
- return l(a, {
1005
- code: c.invalid_type,
1006
- expected: u.bigint,
1007
- received: a.parsedType
1008
- }), m;
1009
- }
1010
- let r;
1011
- const n = new k();
1012
- for (const a of this._def.checks)
1013
- a.kind === "min" ? (a.inclusive ? e.data < a.value : e.data <= a.value) && (r = this._getOrReturnCtx(e, r), l(r, {
1014
- code: c.too_small,
1015
- type: "bigint",
1016
- minimum: a.value,
1017
- inclusive: a.inclusive,
1018
- message: a.message
1019
- }), n.dirty()) : a.kind === "max" ? (a.inclusive ? e.data > a.value : e.data >= a.value) && (r = this._getOrReturnCtx(e, r), l(r, {
1020
- code: c.too_big,
1021
- type: "bigint",
1022
- maximum: a.value,
1023
- inclusive: a.inclusive,
1024
- message: a.message
1025
- }), n.dirty()) : a.kind === "multipleOf" ? e.data % a.value !== BigInt(0) && (r = this._getOrReturnCtx(e, r), l(r, {
1026
- code: c.not_multiple_of,
1027
- multipleOf: a.value,
1028
- message: a.message
1029
- }), n.dirty()) : g.assertNever(a);
1030
- return { status: n.value, value: e.data };
1031
- }
1032
- gte(e, t) {
1033
- return this.setLimit("min", e, !0, h.toString(t));
1034
- }
1035
- gt(e, t) {
1036
- return this.setLimit("min", e, !1, h.toString(t));
1037
- }
1038
- lte(e, t) {
1039
- return this.setLimit("max", e, !0, h.toString(t));
1040
- }
1041
- lt(e, t) {
1042
- return this.setLimit("max", e, !1, h.toString(t));
1043
- }
1044
- setLimit(e, t, r, n) {
1045
- return new A({
1046
- ...this._def,
1047
- checks: [
1048
- ...this._def.checks,
1049
- {
1050
- kind: e,
1051
- value: t,
1052
- inclusive: r,
1053
- message: h.toString(n)
1054
- }
1055
- ]
1056
- });
1057
- }
1058
- _addCheck(e) {
1059
- return new A({
1060
- ...this._def,
1061
- checks: [...this._def.checks, e]
1062
- });
1063
- }
1064
- positive(e) {
1065
- return this._addCheck({
1066
- kind: "min",
1067
- value: BigInt(0),
1068
- inclusive: !1,
1069
- message: h.toString(e)
1070
- });
1071
- }
1072
- negative(e) {
1073
- return this._addCheck({
1074
- kind: "max",
1075
- value: BigInt(0),
1076
- inclusive: !1,
1077
- message: h.toString(e)
1078
- });
1079
- }
1080
- nonpositive(e) {
1081
- return this._addCheck({
1082
- kind: "max",
1083
- value: BigInt(0),
1084
- inclusive: !0,
1085
- message: h.toString(e)
1086
- });
1087
- }
1088
- nonnegative(e) {
1089
- return this._addCheck({
1090
- kind: "min",
1091
- value: BigInt(0),
1092
- inclusive: !0,
1093
- message: h.toString(e)
1094
- });
1095
- }
1096
- multipleOf(e, t) {
1097
- return this._addCheck({
1098
- kind: "multipleOf",
1099
- value: e,
1100
- message: h.toString(t)
1101
- });
1102
- }
1103
- get minValue() {
1104
- let e = null;
1105
- for (const t of this._def.checks)
1106
- t.kind === "min" && (e === null || t.value > e) && (e = t.value);
1107
- return e;
1108
- }
1109
- get maxValue() {
1110
- let e = null;
1111
- for (const t of this._def.checks)
1112
- t.kind === "max" && (e === null || t.value < e) && (e = t.value);
1113
- return e;
1114
- }
1115
- }
1116
- A.create = (s) => {
1117
- var e;
1118
- return new A({
1119
- checks: [],
1120
- typeName: p.ZodBigInt,
1121
- coerce: (e = s == null ? void 0 : s.coerce) !== null && e !== void 0 ? e : !1,
1122
- ...y(s)
1123
- });
1124
- };
1125
- class J extends v {
1126
- _parse(e) {
1127
- if (this._def.coerce && (e.data = !!e.data), this._getType(e) !== u.boolean) {
1128
- const r = this._getOrReturnCtx(e);
1129
- return l(r, {
1130
- code: c.invalid_type,
1131
- expected: u.boolean,
1132
- received: r.parsedType
1133
- }), m;
1134
- }
1135
- return b(e.data);
1136
- }
1137
- }
1138
- J.create = (s) => new J({
1139
- typeName: p.ZodBoolean,
1140
- coerce: (s == null ? void 0 : s.coerce) || !1,
1141
- ...y(s)
1142
- });
1143
- class V extends v {
1144
- _parse(e) {
1145
- if (this._def.coerce && (e.data = new Date(e.data)), this._getType(e) !== u.date) {
1146
- const a = this._getOrReturnCtx(e);
1147
- return l(a, {
1148
- code: c.invalid_type,
1149
- expected: u.date,
1150
- received: a.parsedType
1151
- }), m;
1152
- }
1153
- if (isNaN(e.data.getTime())) {
1154
- const a = this._getOrReturnCtx(e);
1155
- return l(a, {
1156
- code: c.invalid_date
1157
- }), m;
1158
- }
1159
- const r = new k();
1160
- let n;
1161
- for (const a of this._def.checks)
1162
- a.kind === "min" ? e.data.getTime() < a.value && (n = this._getOrReturnCtx(e, n), l(n, {
1163
- code: c.too_small,
1164
- message: a.message,
1165
- inclusive: !0,
1166
- exact: !1,
1167
- minimum: a.value,
1168
- type: "date"
1169
- }), r.dirty()) : a.kind === "max" ? e.data.getTime() > a.value && (n = this._getOrReturnCtx(e, n), l(n, {
1170
- code: c.too_big,
1171
- message: a.message,
1172
- inclusive: !0,
1173
- exact: !1,
1174
- maximum: a.value,
1175
- type: "date"
1176
- }), r.dirty()) : g.assertNever(a);
1177
- return {
1178
- status: r.value,
1179
- value: new Date(e.data.getTime())
1180
- };
1181
- }
1182
- _addCheck(e) {
1183
- return new V({
1184
- ...this._def,
1185
- checks: [...this._def.checks, e]
1186
- });
1187
- }
1188
- min(e, t) {
1189
- return this._addCheck({
1190
- kind: "min",
1191
- value: e.getTime(),
1192
- message: h.toString(t)
1193
- });
1194
- }
1195
- max(e, t) {
1196
- return this._addCheck({
1197
- kind: "max",
1198
- value: e.getTime(),
1199
- message: h.toString(t)
1200
- });
1201
- }
1202
- get minDate() {
1203
- let e = null;
1204
- for (const t of this._def.checks)
1205
- t.kind === "min" && (e === null || t.value > e) && (e = t.value);
1206
- return e != null ? new Date(e) : null;
1207
- }
1208
- get maxDate() {
1209
- let e = null;
1210
- for (const t of this._def.checks)
1211
- t.kind === "max" && (e === null || t.value < e) && (e = t.value);
1212
- return e != null ? new Date(e) : null;
1213
- }
1214
- }
1215
- V.create = (s) => new V({
1216
- checks: [],
1217
- coerce: (s == null ? void 0 : s.coerce) || !1,
1218
- typeName: p.ZodDate,
1219
- ...y(s)
1220
- });
1221
- class oe extends v {
1222
- _parse(e) {
1223
- if (this._getType(e) !== u.symbol) {
1224
- const r = this._getOrReturnCtx(e);
1225
- return l(r, {
1226
- code: c.invalid_type,
1227
- expected: u.symbol,
1228
- received: r.parsedType
1229
- }), m;
1230
- }
1231
- return b(e.data);
1232
- }
1233
- }
1234
- oe.create = (s) => new oe({
1235
- typeName: p.ZodSymbol,
1236
- ...y(s)
1237
- });
1238
- class Y extends v {
1239
- _parse(e) {
1240
- if (this._getType(e) !== u.undefined) {
1241
- const r = this._getOrReturnCtx(e);
1242
- return l(r, {
1243
- code: c.invalid_type,
1244
- expected: u.undefined,
1245
- received: r.parsedType
1246
- }), m;
1247
- }
1248
- return b(e.data);
1249
- }
1250
- }
1251
- Y.create = (s) => new Y({
1252
- typeName: p.ZodUndefined,
1253
- ...y(s)
1254
- });
1255
- class H extends v {
1256
- _parse(e) {
1257
- if (this._getType(e) !== u.null) {
1258
- const r = this._getOrReturnCtx(e);
1259
- return l(r, {
1260
- code: c.invalid_type,
1261
- expected: u.null,
1262
- received: r.parsedType
1263
- }), m;
1264
- }
1265
- return b(e.data);
1266
- }
1267
- }
1268
- H.create = (s) => new H({
1269
- typeName: p.ZodNull,
1270
- ...y(s)
1271
- });
1272
- class U extends v {
1273
- constructor() {
1274
- super(...arguments), this._any = !0;
1275
- }
1276
- _parse(e) {
1277
- return b(e.data);
1278
- }
1279
- }
1280
- U.create = (s) => new U({
1281
- typeName: p.ZodAny,
1282
- ...y(s)
1283
- });
1284
- class P extends v {
1285
- constructor() {
1286
- super(...arguments), this._unknown = !0;
1287
- }
1288
- _parse(e) {
1289
- return b(e.data);
1290
- }
1291
- }
1292
- P.create = (s) => new P({
1293
- typeName: p.ZodUnknown,
1294
- ...y(s)
1295
- });
1296
- class I extends v {
1297
- _parse(e) {
1298
- const t = this._getOrReturnCtx(e);
1299
- return l(t, {
1300
- code: c.invalid_type,
1301
- expected: u.never,
1302
- received: t.parsedType
1303
- }), m;
1304
- }
1305
- }
1306
- I.create = (s) => new I({
1307
- typeName: p.ZodNever,
1308
- ...y(s)
1309
- });
1310
- class ce extends v {
1311
- _parse(e) {
1312
- if (this._getType(e) !== u.undefined) {
1313
- const r = this._getOrReturnCtx(e);
1314
- return l(r, {
1315
- code: c.invalid_type,
1316
- expected: u.void,
1317
- received: r.parsedType
1318
- }), m;
1319
- }
1320
- return b(e.data);
1321
- }
1322
- }
1323
- ce.create = (s) => new ce({
1324
- typeName: p.ZodVoid,
1325
- ...y(s)
1326
- });
1327
- class S extends v {
1328
- _parse(e) {
1329
- const { ctx: t, status: r } = this._processInputParams(e), n = this._def;
1330
- if (t.parsedType !== u.array)
1331
- return l(t, {
1332
- code: c.invalid_type,
1333
- expected: u.array,
1334
- received: t.parsedType
1335
- }), m;
1336
- if (n.exactLength !== null) {
1337
- const i = t.data.length > n.exactLength.value, o = t.data.length < n.exactLength.value;
1338
- (i || o) && (l(t, {
1339
- code: i ? c.too_big : c.too_small,
1340
- minimum: o ? n.exactLength.value : void 0,
1341
- maximum: i ? n.exactLength.value : void 0,
1342
- type: "array",
1343
- inclusive: !0,
1344
- exact: !0,
1345
- message: n.exactLength.message
1346
- }), r.dirty());
1347
- }
1348
- if (n.minLength !== null && t.data.length < n.minLength.value && (l(t, {
1349
- code: c.too_small,
1350
- minimum: n.minLength.value,
1351
- type: "array",
1352
- inclusive: !0,
1353
- exact: !1,
1354
- message: n.minLength.message
1355
- }), r.dirty()), n.maxLength !== null && t.data.length > n.maxLength.value && (l(t, {
1356
- code: c.too_big,
1357
- maximum: n.maxLength.value,
1358
- type: "array",
1359
- inclusive: !0,
1360
- exact: !1,
1361
- message: n.maxLength.message
1362
- }), r.dirty()), t.common.async)
1363
- return Promise.all([...t.data].map((i, o) => n.type._parseAsync(new O(t, i, t.path, o)))).then((i) => k.mergeArray(r, i));
1364
- const a = [...t.data].map((i, o) => n.type._parseSync(new O(t, i, t.path, o)));
1365
- return k.mergeArray(r, a);
1366
- }
1367
- get element() {
1368
- return this._def.type;
1369
- }
1370
- min(e, t) {
1371
- return new S({
1372
- ...this._def,
1373
- minLength: { value: e, message: h.toString(t) }
1374
- });
1375
- }
1376
- max(e, t) {
1377
- return new S({
1378
- ...this._def,
1379
- maxLength: { value: e, message: h.toString(t) }
1380
- });
1381
- }
1382
- length(e, t) {
1383
- return new S({
1384
- ...this._def,
1385
- exactLength: { value: e, message: h.toString(t) }
1386
- });
1387
- }
1388
- nonempty(e) {
1389
- return this.min(1, e);
1390
- }
1391
- }
1392
- S.create = (s, e) => new S({
1393
- type: s,
1394
- minLength: null,
1395
- maxLength: null,
1396
- exactLength: null,
1397
- typeName: p.ZodArray,
1398
- ...y(e)
1399
- });
1400
- function D(s) {
1401
- if (s instanceof x) {
1402
- const e = {};
1403
- for (const t in s.shape) {
1404
- const r = s.shape[t];
1405
- e[t] = E.create(D(r));
1406
- }
1407
- return new x({
1408
- ...s._def,
1409
- shape: () => e
1410
- });
1411
- } else
1412
- return s instanceof S ? new S({
1413
- ...s._def,
1414
- type: D(s.element)
1415
- }) : s instanceof E ? E.create(D(s.unwrap())) : s instanceof L ? L.create(D(s.unwrap())) : s instanceof C ? C.create(s.items.map((e) => D(e))) : s;
1416
- }
1417
- class x extends v {
1418
- constructor() {
1419
- super(...arguments), this._cached = null, this.nonstrict = this.passthrough, this.augment = this.extend;
1420
- }
1421
- _getCached() {
1422
- if (this._cached !== null)
1423
- return this._cached;
1424
- const e = this._def.shape(), t = g.objectKeys(e);
1425
- return this._cached = { shape: e, keys: t };
1426
- }
1427
- _parse(e) {
1428
- if (this._getType(e) !== u.object) {
1429
- const d = this._getOrReturnCtx(e);
1430
- return l(d, {
1431
- code: c.invalid_type,
1432
- expected: u.object,
1433
- received: d.parsedType
1434
- }), m;
1435
- }
1436
- const { status: r, ctx: n } = this._processInputParams(e), { shape: a, keys: i } = this._getCached(), o = [];
1437
- if (!(this._def.catchall instanceof I && this._def.unknownKeys === "strip"))
1438
- for (const d in n.data)
1439
- i.includes(d) || o.push(d);
1440
- const f = [];
1441
- for (const d of i) {
1442
- const _ = a[d], w = n.data[d];
1443
- f.push({
1444
- key: { status: "valid", value: d },
1445
- value: _._parse(new O(n, w, n.path, d)),
1446
- alwaysSet: d in n.data
1447
- });
1448
- }
1449
- if (this._def.catchall instanceof I) {
1450
- const d = this._def.unknownKeys;
1451
- if (d === "passthrough")
1452
- for (const _ of o)
1453
- f.push({
1454
- key: { status: "valid", value: _ },
1455
- value: { status: "valid", value: n.data[_] }
1456
- });
1457
- else if (d === "strict")
1458
- o.length > 0 && (l(n, {
1459
- code: c.unrecognized_keys,
1460
- keys: o
1461
- }), r.dirty());
1462
- else if (d !== "strip")
1463
- throw new Error("Internal ZodObject error: invalid unknownKeys value.");
1464
- } else {
1465
- const d = this._def.catchall;
1466
- for (const _ of o) {
1467
- const w = n.data[_];
1468
- f.push({
1469
- key: { status: "valid", value: _ },
1470
- value: d._parse(
1471
- new O(n, w, n.path, _)
1472
- //, ctx.child(key), value, getParsedType(value)
1473
- ),
1474
- alwaysSet: _ in n.data
1475
- });
1476
- }
1477
- }
1478
- return n.common.async ? Promise.resolve().then(async () => {
1479
- const d = [];
1480
- for (const _ of f) {
1481
- const w = await _.key;
1482
- d.push({
1483
- key: w,
1484
- value: await _.value,
1485
- alwaysSet: _.alwaysSet
1486
- });
1487
- }
1488
- return d;
1489
- }).then((d) => k.mergeObjectSync(r, d)) : k.mergeObjectSync(r, f);
1490
- }
1491
- get shape() {
1492
- return this._def.shape();
1493
- }
1494
- strict(e) {
1495
- return h.errToObj, new x({
1496
- ...this._def,
1497
- unknownKeys: "strict",
1498
- ...e !== void 0 ? {
1499
- errorMap: (t, r) => {
1500
- var n, a, i, o;
1501
- const f = (i = (a = (n = this._def).errorMap) === null || a === void 0 ? void 0 : a.call(n, t, r).message) !== null && i !== void 0 ? i : r.defaultError;
1502
- return t.code === "unrecognized_keys" ? {
1503
- message: (o = h.errToObj(e).message) !== null && o !== void 0 ? o : f
1504
- } : {
1505
- message: f
1506
- };
1507
- }
1508
- } : {}
1509
- });
1510
- }
1511
- strip() {
1512
- return new x({
1513
- ...this._def,
1514
- unknownKeys: "strip"
1515
- });
1516
- }
1517
- passthrough() {
1518
- return new x({
1519
- ...this._def,
1520
- unknownKeys: "passthrough"
1521
- });
1522
- }
1523
- // const AugmentFactory =
1524
- // <Def extends ZodObjectDef>(def: Def) =>
1525
- // <Augmentation extends ZodRawShape>(
1526
- // augmentation: Augmentation
1527
- // ): ZodObject<
1528
- // extendShape<ReturnType<Def["shape"]>, Augmentation>,
1529
- // Def["unknownKeys"],
1530
- // Def["catchall"]
1531
- // > => {
1532
- // return new ZodObject({
1533
- // ...def,
1534
- // shape: () => ({
1535
- // ...def.shape(),
1536
- // ...augmentation,
1537
- // }),
1538
- // }) as any;
1539
- // };
1540
- extend(e) {
1541
- return new x({
1542
- ...this._def,
1543
- shape: () => ({
1544
- ...this._def.shape(),
1545
- ...e
1546
- })
1547
- });
1548
- }
1549
- /**
1550
- * Prior to zod@1.0.12 there was a bug in the
1551
- * inferred type of merged objects. Please
1552
- * upgrade if you are experiencing issues.
1553
- */
1554
- merge(e) {
1555
- return new x({
1556
- unknownKeys: e._def.unknownKeys,
1557
- catchall: e._def.catchall,
1558
- shape: () => ({
1559
- ...this._def.shape(),
1560
- ...e._def.shape()
1561
- }),
1562
- typeName: p.ZodObject
1563
- });
1564
- }
1565
- // merge<
1566
- // Incoming extends AnyZodObject,
1567
- // Augmentation extends Incoming["shape"],
1568
- // NewOutput extends {
1569
- // [k in keyof Augmentation | keyof Output]: k extends keyof Augmentation
1570
- // ? Augmentation[k]["_output"]
1571
- // : k extends keyof Output
1572
- // ? Output[k]
1573
- // : never;
1574
- // },
1575
- // NewInput extends {
1576
- // [k in keyof Augmentation | keyof Input]: k extends keyof Augmentation
1577
- // ? Augmentation[k]["_input"]
1578
- // : k extends keyof Input
1579
- // ? Input[k]
1580
- // : never;
1581
- // }
1582
- // >(
1583
- // merging: Incoming
1584
- // ): ZodObject<
1585
- // extendShape<T, ReturnType<Incoming["_def"]["shape"]>>,
1586
- // Incoming["_def"]["unknownKeys"],
1587
- // Incoming["_def"]["catchall"],
1588
- // NewOutput,
1589
- // NewInput
1590
- // > {
1591
- // const merged: any = new ZodObject({
1592
- // unknownKeys: merging._def.unknownKeys,
1593
- // catchall: merging._def.catchall,
1594
- // shape: () =>
1595
- // objectUtil.mergeShapes(this._def.shape(), merging._def.shape()),
1596
- // typeName: ZodFirstPartyTypeKind.ZodObject,
1597
- // }) as any;
1598
- // return merged;
1599
- // }
1600
- setKey(e, t) {
1601
- return this.augment({ [e]: t });
1602
- }
1603
- // merge<Incoming extends AnyZodObject>(
1604
- // merging: Incoming
1605
- // ): //ZodObject<T & Incoming["_shape"], UnknownKeys, Catchall> = (merging) => {
1606
- // ZodObject<
1607
- // extendShape<T, ReturnType<Incoming["_def"]["shape"]>>,
1608
- // Incoming["_def"]["unknownKeys"],
1609
- // Incoming["_def"]["catchall"]
1610
- // > {
1611
- // // const mergedShape = objectUtil.mergeShapes(
1612
- // // this._def.shape(),
1613
- // // merging._def.shape()
1614
- // // );
1615
- // const merged: any = new ZodObject({
1616
- // unknownKeys: merging._def.unknownKeys,
1617
- // catchall: merging._def.catchall,
1618
- // shape: () =>
1619
- // objectUtil.mergeShapes(this._def.shape(), merging._def.shape()),
1620
- // typeName: ZodFirstPartyTypeKind.ZodObject,
1621
- // }) as any;
1622
- // return merged;
1623
- // }
1624
- catchall(e) {
1625
- return new x({
1626
- ...this._def,
1627
- catchall: e
1628
- });
1629
- }
1630
- pick(e) {
1631
- const t = {};
1632
- return g.objectKeys(e).forEach((r) => {
1633
- e[r] && this.shape[r] && (t[r] = this.shape[r]);
1634
- }), new x({
1635
- ...this._def,
1636
- shape: () => t
1637
- });
1638
- }
1639
- omit(e) {
1640
- const t = {};
1641
- return g.objectKeys(this.shape).forEach((r) => {
1642
- e[r] || (t[r] = this.shape[r]);
1643
- }), new x({
1644
- ...this._def,
1645
- shape: () => t
1646
- });
1647
- }
1648
- /**
1649
- * @deprecated
1650
- */
1651
- deepPartial() {
1652
- return D(this);
1653
- }
1654
- partial(e) {
1655
- const t = {};
1656
- return g.objectKeys(this.shape).forEach((r) => {
1657
- const n = this.shape[r];
1658
- e && !e[r] ? t[r] = n : t[r] = n.optional();
1659
- }), new x({
1660
- ...this._def,
1661
- shape: () => t
1662
- });
1663
- }
1664
- required(e) {
1665
- const t = {};
1666
- return g.objectKeys(this.shape).forEach((r) => {
1667
- if (e && !e[r])
1668
- t[r] = this.shape[r];
1669
- else {
1670
- let a = this.shape[r];
1671
- for (; a instanceof E; )
1672
- a = a._def.innerType;
1673
- t[r] = a;
1674
- }
1675
- }), new x({
1676
- ...this._def,
1677
- shape: () => t
1678
- });
1679
- }
1680
- keyof() {
1681
- return Te(g.objectKeys(this.shape));
1682
- }
1683
- }
1684
- x.create = (s, e) => new x({
1685
- shape: () => s,
1686
- unknownKeys: "strip",
1687
- catchall: I.create(),
1688
- typeName: p.ZodObject,
1689
- ...y(e)
1690
- });
1691
- x.strictCreate = (s, e) => new x({
1692
- shape: () => s,
1693
- unknownKeys: "strict",
1694
- catchall: I.create(),
1695
- typeName: p.ZodObject,
1696
- ...y(e)
1697
- });
1698
- x.lazycreate = (s, e) => new x({
1699
- shape: s,
1700
- unknownKeys: "strip",
1701
- catchall: I.create(),
1702
- typeName: p.ZodObject,
1703
- ...y(e)
1704
- });
1705
- class G extends v {
1706
- _parse(e) {
1707
- const { ctx: t } = this._processInputParams(e), r = this._def.options;
1708
- function n(a) {
1709
- for (const o of a)
1710
- if (o.result.status === "valid")
1711
- return o.result;
1712
- for (const o of a)
1713
- if (o.result.status === "dirty")
1714
- return t.common.issues.push(...o.ctx.common.issues), o.result;
1715
- const i = a.map((o) => new Z(o.ctx.common.issues));
1716
- return l(t, {
1717
- code: c.invalid_union,
1718
- unionErrors: i
1719
- }), m;
1720
- }
1721
- if (t.common.async)
1722
- return Promise.all(r.map(async (a) => {
1723
- const i = {
1724
- ...t,
1725
- common: {
1726
- ...t.common,
1727
- issues: []
1728
- },
1729
- parent: null
1730
- };
1731
- return {
1732
- result: await a._parseAsync({
1733
- data: t.data,
1734
- path: t.path,
1735
- parent: i
1736
- }),
1737
- ctx: i
1738
- };
1739
- })).then(n);
1740
- {
1741
- let a;
1742
- const i = [];
1743
- for (const f of r) {
1744
- const d = {
1745
- ...t,
1746
- common: {
1747
- ...t.common,
1748
- issues: []
1749
- },
1750
- parent: null
1751
- }, _ = f._parseSync({
1752
- data: t.data,
1753
- path: t.path,
1754
- parent: d
1755
- });
1756
- if (_.status === "valid")
1757
- return _;
1758
- _.status === "dirty" && !a && (a = { result: _, ctx: d }), d.common.issues.length && i.push(d.common.issues);
1759
- }
1760
- if (a)
1761
- return t.common.issues.push(...a.ctx.common.issues), a.result;
1762
- const o = i.map((f) => new Z(f));
1763
- return l(t, {
1764
- code: c.invalid_union,
1765
- unionErrors: o
1766
- }), m;
1767
- }
1768
- }
1769
- get options() {
1770
- return this._def.options;
1771
- }
1772
- }
1773
- G.create = (s, e) => new G({
1774
- options: s,
1775
- typeName: p.ZodUnion,
1776
- ...y(e)
1777
- });
1778
- const re = (s) => s instanceof K ? re(s.schema) : s instanceof N ? re(s.innerType()) : s instanceof F ? [s.value] : s instanceof M ? s.options : s instanceof ee ? Object.keys(s.enum) : s instanceof te ? re(s._def.innerType) : s instanceof Y ? [void 0] : s instanceof H ? [null] : null;
1779
- class he extends v {
1780
- _parse(e) {
1781
- const { ctx: t } = this._processInputParams(e);
1782
- if (t.parsedType !== u.object)
1783
- return l(t, {
1784
- code: c.invalid_type,
1785
- expected: u.object,
1786
- received: t.parsedType
1787
- }), m;
1788
- const r = this.discriminator, n = t.data[r], a = this.optionsMap.get(n);
1789
- return a ? t.common.async ? a._parseAsync({
1790
- data: t.data,
1791
- path: t.path,
1792
- parent: t
1793
- }) : a._parseSync({
1794
- data: t.data,
1795
- path: t.path,
1796
- parent: t
1797
- }) : (l(t, {
1798
- code: c.invalid_union_discriminator,
1799
- options: Array.from(this.optionsMap.keys()),
1800
- path: [r]
1801
- }), m);
1802
- }
1803
- get discriminator() {
1804
- return this._def.discriminator;
1805
- }
1806
- get options() {
1807
- return this._def.options;
1808
- }
1809
- get optionsMap() {
1810
- return this._def.optionsMap;
1811
- }
1812
- /**
1813
- * The constructor of the discriminated union schema. Its behaviour is very similar to that of the normal z.union() constructor.
1814
- * However, it only allows a union of objects, all of which need to share a discriminator property. This property must
1815
- * have a different value for each object in the union.
1816
- * @param discriminator the name of the discriminator property
1817
- * @param types an array of object schemas
1818
- * @param params
1819
- */
1820
- static create(e, t, r) {
1821
- const n = /* @__PURE__ */ new Map();
1822
- for (const a of t) {
1823
- const i = re(a.shape[e]);
1824
- if (!i)
1825
- throw new Error(`A discriminator value for key \`${e}\` could not be extracted from all schema options`);
1826
- for (const o of i) {
1827
- if (n.has(o))
1828
- throw new Error(`Discriminator property ${String(e)} has duplicate value ${String(o)}`);
1829
- n.set(o, a);
1830
- }
1831
- }
1832
- return new he({
1833
- typeName: p.ZodDiscriminatedUnion,
1834
- discriminator: e,
1835
- options: t,
1836
- optionsMap: n,
1837
- ...y(r)
1838
- });
1839
- }
1840
- }
1841
- function ge(s, e) {
1842
- const t = R(s), r = R(e);
1843
- if (s === e)
1844
- return { valid: !0, data: s };
1845
- if (t === u.object && r === u.object) {
1846
- const n = g.objectKeys(e), a = g.objectKeys(s).filter((o) => n.indexOf(o) !== -1), i = { ...s, ...e };
1847
- for (const o of a) {
1848
- const f = ge(s[o], e[o]);
1849
- if (!f.valid)
1850
- return { valid: !1 };
1851
- i[o] = f.data;
1852
- }
1853
- return { valid: !0, data: i };
1854
- } else if (t === u.array && r === u.array) {
1855
- if (s.length !== e.length)
1856
- return { valid: !1 };
1857
- const n = [];
1858
- for (let a = 0; a < s.length; a++) {
1859
- const i = s[a], o = e[a], f = ge(i, o);
1860
- if (!f.valid)
1861
- return { valid: !1 };
1862
- n.push(f.data);
1863
- }
1864
- return { valid: !0, data: n };
1865
- } else
1866
- return t === u.date && r === u.date && +s == +e ? { valid: !0, data: s } : { valid: !1 };
1867
- }
1868
- class X extends v {
1869
- _parse(e) {
1870
- const { status: t, ctx: r } = this._processInputParams(e), n = (a, i) => {
1871
- if (ve(a) || ve(i))
1872
- return m;
1873
- const o = ge(a.value, i.value);
1874
- return o.valid ? ((_e(a) || _e(i)) && t.dirty(), { status: t.value, value: o.data }) : (l(r, {
1875
- code: c.invalid_intersection_types
1876
- }), m);
1877
- };
1878
- return r.common.async ? Promise.all([
1879
- this._def.left._parseAsync({
1880
- data: r.data,
1881
- path: r.path,
1882
- parent: r
1883
- }),
1884
- this._def.right._parseAsync({
1885
- data: r.data,
1886
- path: r.path,
1887
- parent: r
1888
- })
1889
- ]).then(([a, i]) => n(a, i)) : n(this._def.left._parseSync({
1890
- data: r.data,
1891
- path: r.path,
1892
- parent: r
1893
- }), this._def.right._parseSync({
1894
- data: r.data,
1895
- path: r.path,
1896
- parent: r
1897
- }));
1898
- }
1899
- }
1900
- X.create = (s, e, t) => new X({
1901
- left: s,
1902
- right: e,
1903
- typeName: p.ZodIntersection,
1904
- ...y(t)
1905
- });
1906
- class C extends v {
1907
- _parse(e) {
1908
- const { status: t, ctx: r } = this._processInputParams(e);
1909
- if (r.parsedType !== u.array)
1910
- return l(r, {
1911
- code: c.invalid_type,
1912
- expected: u.array,
1913
- received: r.parsedType
1914
- }), m;
1915
- if (r.data.length < this._def.items.length)
1916
- return l(r, {
1917
- code: c.too_small,
1918
- minimum: this._def.items.length,
1919
- inclusive: !0,
1920
- exact: !1,
1921
- type: "array"
1922
- }), m;
1923
- !this._def.rest && r.data.length > this._def.items.length && (l(r, {
1924
- code: c.too_big,
1925
- maximum: this._def.items.length,
1926
- inclusive: !0,
1927
- exact: !1,
1928
- type: "array"
1929
- }), t.dirty());
1930
- const a = [...r.data].map((i, o) => {
1931
- const f = this._def.items[o] || this._def.rest;
1932
- return f ? f._parse(new O(r, i, r.path, o)) : null;
1933
- }).filter((i) => !!i);
1934
- return r.common.async ? Promise.all(a).then((i) => k.mergeArray(t, i)) : k.mergeArray(t, a);
1935
- }
1936
- get items() {
1937
- return this._def.items;
1938
- }
1939
- rest(e) {
1940
- return new C({
1941
- ...this._def,
1942
- rest: e
1943
- });
1944
- }
1945
- }
1946
- C.create = (s, e) => {
1947
- if (!Array.isArray(s))
1948
- throw new Error("You must pass an array of schemas to z.tuple([ ... ])");
1949
- return new C({
1950
- items: s,
1951
- typeName: p.ZodTuple,
1952
- rest: null,
1953
- ...y(e)
1954
- });
1955
- };
1956
- class Q extends v {
1957
- get keySchema() {
1958
- return this._def.keyType;
1959
- }
1960
- get valueSchema() {
1961
- return this._def.valueType;
1962
- }
1963
- _parse(e) {
1964
- const { status: t, ctx: r } = this._processInputParams(e);
1965
- if (r.parsedType !== u.object)
1966
- return l(r, {
1967
- code: c.invalid_type,
1968
- expected: u.object,
1969
- received: r.parsedType
1970
- }), m;
1971
- const n = [], a = this._def.keyType, i = this._def.valueType;
1972
- for (const o in r.data)
1973
- n.push({
1974
- key: a._parse(new O(r, o, r.path, o)),
1975
- value: i._parse(new O(r, r.data[o], r.path, o))
1976
- });
1977
- return r.common.async ? k.mergeObjectAsync(t, n) : k.mergeObjectSync(t, n);
1978
- }
1979
- get element() {
1980
- return this._def.valueType;
1981
- }
1982
- static create(e, t, r) {
1983
- return t instanceof v ? new Q({
1984
- keyType: e,
1985
- valueType: t,
1986
- typeName: p.ZodRecord,
1987
- ...y(r)
1988
- }) : new Q({
1989
- keyType: T.create(),
1990
- valueType: e,
1991
- typeName: p.ZodRecord,
1992
- ...y(t)
1993
- });
1994
- }
1995
- }
1996
- class de extends v {
1997
- get keySchema() {
1998
- return this._def.keyType;
1999
- }
2000
- get valueSchema() {
2001
- return this._def.valueType;
2002
- }
2003
- _parse(e) {
2004
- const { status: t, ctx: r } = this._processInputParams(e);
2005
- if (r.parsedType !== u.map)
2006
- return l(r, {
2007
- code: c.invalid_type,
2008
- expected: u.map,
2009
- received: r.parsedType
2010
- }), m;
2011
- const n = this._def.keyType, a = this._def.valueType, i = [...r.data.entries()].map(([o, f], d) => ({
2012
- key: n._parse(new O(r, o, r.path, [d, "key"])),
2013
- value: a._parse(new O(r, f, r.path, [d, "value"]))
2014
- }));
2015
- if (r.common.async) {
2016
- const o = /* @__PURE__ */ new Map();
2017
- return Promise.resolve().then(async () => {
2018
- for (const f of i) {
2019
- const d = await f.key, _ = await f.value;
2020
- if (d.status === "aborted" || _.status === "aborted")
2021
- return m;
2022
- (d.status === "dirty" || _.status === "dirty") && t.dirty(), o.set(d.value, _.value);
2023
- }
2024
- return { status: t.value, value: o };
2025
- });
2026
- } else {
2027
- const o = /* @__PURE__ */ new Map();
2028
- for (const f of i) {
2029
- const d = f.key, _ = f.value;
2030
- if (d.status === "aborted" || _.status === "aborted")
2031
- return m;
2032
- (d.status === "dirty" || _.status === "dirty") && t.dirty(), o.set(d.value, _.value);
2033
- }
2034
- return { status: t.value, value: o };
2035
- }
2036
- }
2037
- }
2038
- de.create = (s, e, t) => new de({
2039
- valueType: e,
2040
- keyType: s,
2041
- typeName: p.ZodMap,
2042
- ...y(t)
2043
- });
2044
- class $ extends v {
2045
- _parse(e) {
2046
- const { status: t, ctx: r } = this._processInputParams(e);
2047
- if (r.parsedType !== u.set)
2048
- return l(r, {
2049
- code: c.invalid_type,
2050
- expected: u.set,
2051
- received: r.parsedType
2052
- }), m;
2053
- const n = this._def;
2054
- n.minSize !== null && r.data.size < n.minSize.value && (l(r, {
2055
- code: c.too_small,
2056
- minimum: n.minSize.value,
2057
- type: "set",
2058
- inclusive: !0,
2059
- exact: !1,
2060
- message: n.minSize.message
2061
- }), t.dirty()), n.maxSize !== null && r.data.size > n.maxSize.value && (l(r, {
2062
- code: c.too_big,
2063
- maximum: n.maxSize.value,
2064
- type: "set",
2065
- inclusive: !0,
2066
- exact: !1,
2067
- message: n.maxSize.message
2068
- }), t.dirty());
2069
- const a = this._def.valueType;
2070
- function i(f) {
2071
- const d = /* @__PURE__ */ new Set();
2072
- for (const _ of f) {
2073
- if (_.status === "aborted")
2074
- return m;
2075
- _.status === "dirty" && t.dirty(), d.add(_.value);
2076
- }
2077
- return { status: t.value, value: d };
2078
- }
2079
- const o = [...r.data.values()].map((f, d) => a._parse(new O(r, f, r.path, d)));
2080
- return r.common.async ? Promise.all(o).then((f) => i(f)) : i(o);
2081
- }
2082
- min(e, t) {
2083
- return new $({
2084
- ...this._def,
2085
- minSize: { value: e, message: h.toString(t) }
2086
- });
2087
- }
2088
- max(e, t) {
2089
- return new $({
2090
- ...this._def,
2091
- maxSize: { value: e, message: h.toString(t) }
2092
- });
2093
- }
2094
- size(e, t) {
2095
- return this.min(e, t).max(e, t);
2096
- }
2097
- nonempty(e) {
2098
- return this.min(1, e);
2099
- }
2100
- }
2101
- $.create = (s, e) => new $({
2102
- valueType: s,
2103
- minSize: null,
2104
- maxSize: null,
2105
- typeName: p.ZodSet,
2106
- ...y(e)
2107
- });
2108
- class z extends v {
2109
- constructor() {
2110
- super(...arguments), this.validate = this.implement;
2111
- }
2112
- _parse(e) {
2113
- const { ctx: t } = this._processInputParams(e);
2114
- if (t.parsedType !== u.function)
2115
- return l(t, {
2116
- code: c.invalid_type,
2117
- expected: u.function,
2118
- received: t.parsedType
2119
- }), m;
2120
- function r(o, f) {
2121
- return ae({
2122
- data: o,
2123
- path: t.path,
2124
- errorMaps: [
2125
- t.common.contextualErrorMap,
2126
- t.schemaErrorMap,
2127
- ne(),
2128
- W
2129
- ].filter((d) => !!d),
2130
- issueData: {
2131
- code: c.invalid_arguments,
2132
- argumentsError: f
2133
- }
2134
- });
2135
- }
2136
- function n(o, f) {
2137
- return ae({
2138
- data: o,
2139
- path: t.path,
2140
- errorMaps: [
2141
- t.common.contextualErrorMap,
2142
- t.schemaErrorMap,
2143
- ne(),
2144
- W
2145
- ].filter((d) => !!d),
2146
- issueData: {
2147
- code: c.invalid_return_type,
2148
- returnTypeError: f
2149
- }
2150
- });
2151
- }
2152
- const a = { errorMap: t.common.contextualErrorMap }, i = t.data;
2153
- if (this._def.returns instanceof B) {
2154
- const o = this;
2155
- return b(async function(...f) {
2156
- const d = new Z([]), _ = await o._def.args.parseAsync(f, a).catch((pe) => {
2157
- throw d.addIssue(r(f, pe)), d;
2158
- }), w = await Reflect.apply(i, this, _);
2159
- return await o._def.returns._def.type.parseAsync(w, a).catch((pe) => {
2160
- throw d.addIssue(n(w, pe)), d;
2161
- });
2162
- });
2163
- } else {
2164
- const o = this;
2165
- return b(function(...f) {
2166
- const d = o._def.args.safeParse(f, a);
2167
- if (!d.success)
2168
- throw new Z([r(f, d.error)]);
2169
- const _ = Reflect.apply(i, this, d.data), w = o._def.returns.safeParse(_, a);
2170
- if (!w.success)
2171
- throw new Z([n(_, w.error)]);
2172
- return w.data;
2173
- });
2174
- }
2175
- }
2176
- parameters() {
2177
- return this._def.args;
2178
- }
2179
- returnType() {
2180
- return this._def.returns;
2181
- }
2182
- args(...e) {
2183
- return new z({
2184
- ...this._def,
2185
- args: C.create(e).rest(P.create())
2186
- });
2187
- }
2188
- returns(e) {
2189
- return new z({
2190
- ...this._def,
2191
- returns: e
2192
- });
2193
- }
2194
- implement(e) {
2195
- return this.parse(e);
2196
- }
2197
- strictImplement(e) {
2198
- return this.parse(e);
2199
- }
2200
- static create(e, t, r) {
2201
- return new z({
2202
- args: e || C.create([]).rest(P.create()),
2203
- returns: t || P.create(),
2204
- typeName: p.ZodFunction,
2205
- ...y(r)
2206
- });
2207
- }
2208
- }
2209
- class K extends v {
2210
- get schema() {
2211
- return this._def.getter();
2212
- }
2213
- _parse(e) {
2214
- const { ctx: t } = this._processInputParams(e);
2215
- return this._def.getter()._parse({ data: t.data, path: t.path, parent: t });
2216
- }
2217
- }
2218
- K.create = (s, e) => new K({
2219
- getter: s,
2220
- typeName: p.ZodLazy,
2221
- ...y(e)
2222
- });
2223
- class F extends v {
2224
- _parse(e) {
2225
- if (e.data !== this._def.value) {
2226
- const t = this._getOrReturnCtx(e);
2227
- return l(t, {
2228
- received: t.data,
2229
- code: c.invalid_literal,
2230
- expected: this._def.value
2231
- }), m;
2232
- }
2233
- return { status: "valid", value: e.data };
2234
- }
2235
- get value() {
2236
- return this._def.value;
2237
- }
2238
- }
2239
- F.create = (s, e) => new F({
2240
- value: s,
2241
- typeName: p.ZodLiteral,
2242
- ...y(e)
2243
- });
2244
- function Te(s, e) {
2245
- return new M({
2246
- values: s,
2247
- typeName: p.ZodEnum,
2248
- ...y(e)
2249
- });
2250
- }
2251
- class M extends v {
2252
- _parse(e) {
2253
- if (typeof e.data != "string") {
2254
- const t = this._getOrReturnCtx(e), r = this._def.values;
2255
- return l(t, {
2256
- expected: g.joinValues(r),
2257
- received: t.parsedType,
2258
- code: c.invalid_type
2259
- }), m;
2260
- }
2261
- if (this._def.values.indexOf(e.data) === -1) {
2262
- const t = this._getOrReturnCtx(e), r = this._def.values;
2263
- return l(t, {
2264
- received: t.data,
2265
- code: c.invalid_enum_value,
2266
- options: r
2267
- }), m;
2268
- }
2269
- return b(e.data);
2270
- }
2271
- get options() {
2272
- return this._def.values;
2273
- }
2274
- get enum() {
2275
- const e = {};
2276
- for (const t of this._def.values)
2277
- e[t] = t;
2278
- return e;
2279
- }
2280
- get Values() {
2281
- const e = {};
2282
- for (const t of this._def.values)
2283
- e[t] = t;
2284
- return e;
2285
- }
2286
- get Enum() {
2287
- const e = {};
2288
- for (const t of this._def.values)
2289
- e[t] = t;
2290
- return e;
2291
- }
2292
- extract(e) {
2293
- return M.create(e);
2294
- }
2295
- exclude(e) {
2296
- return M.create(this.options.filter((t) => !e.includes(t)));
2297
- }
2298
- }
2299
- M.create = Te;
2300
- class ee extends v {
2301
- _parse(e) {
2302
- const t = g.getValidEnumValues(this._def.values), r = this._getOrReturnCtx(e);
2303
- if (r.parsedType !== u.string && r.parsedType !== u.number) {
2304
- const n = g.objectValues(t);
2305
- return l(r, {
2306
- expected: g.joinValues(n),
2307
- received: r.parsedType,
2308
- code: c.invalid_type
2309
- }), m;
2310
- }
2311
- if (t.indexOf(e.data) === -1) {
2312
- const n = g.objectValues(t);
2313
- return l(r, {
2314
- received: r.data,
2315
- code: c.invalid_enum_value,
2316
- options: n
2317
- }), m;
2318
- }
2319
- return b(e.data);
2320
- }
2321
- get enum() {
2322
- return this._def.values;
2323
- }
2324
- }
2325
- ee.create = (s, e) => new ee({
2326
- values: s,
2327
- typeName: p.ZodNativeEnum,
2328
- ...y(e)
2329
- });
2330
- class B extends v {
2331
- unwrap() {
2332
- return this._def.type;
2333
- }
2334
- _parse(e) {
2335
- const { ctx: t } = this._processInputParams(e);
2336
- if (t.parsedType !== u.promise && t.common.async === !1)
2337
- return l(t, {
2338
- code: c.invalid_type,
2339
- expected: u.promise,
2340
- received: t.parsedType
2341
- }), m;
2342
- const r = t.parsedType === u.promise ? t.data : Promise.resolve(t.data);
2343
- return b(r.then((n) => this._def.type.parseAsync(n, {
2344
- path: t.path,
2345
- errorMap: t.common.contextualErrorMap
2346
- })));
2347
- }
2348
- }
2349
- B.create = (s, e) => new B({
2350
- type: s,
2351
- typeName: p.ZodPromise,
2352
- ...y(e)
2353
- });
2354
- class N extends v {
2355
- innerType() {
2356
- return this._def.schema;
2357
- }
2358
- sourceType() {
2359
- return this._def.schema._def.typeName === p.ZodEffects ? this._def.schema.sourceType() : this._def.schema;
2360
- }
2361
- _parse(e) {
2362
- const { status: t, ctx: r } = this._processInputParams(e), n = this._def.effect || null, a = {
2363
- addIssue: (i) => {
2364
- l(r, i), i.fatal ? t.abort() : t.dirty();
2365
- },
2366
- get path() {
2367
- return r.path;
2368
- }
2369
- };
2370
- if (a.addIssue = a.addIssue.bind(a), n.type === "preprocess") {
2371
- const i = n.transform(r.data, a);
2372
- return r.common.issues.length ? {
2373
- status: "dirty",
2374
- value: r.data
2375
- } : r.common.async ? Promise.resolve(i).then((o) => this._def.schema._parseAsync({
2376
- data: o,
2377
- path: r.path,
2378
- parent: r
2379
- })) : this._def.schema._parseSync({
2380
- data: i,
2381
- path: r.path,
2382
- parent: r
2383
- });
2384
- }
2385
- if (n.type === "refinement") {
2386
- const i = (o) => {
2387
- const f = n.refinement(o, a);
2388
- if (r.common.async)
2389
- return Promise.resolve(f);
2390
- if (f instanceof Promise)
2391
- throw new Error("Async refinement encountered during synchronous parse operation. Use .parseAsync instead.");
2392
- return o;
2393
- };
2394
- if (r.common.async === !1) {
2395
- const o = this._def.schema._parseSync({
2396
- data: r.data,
2397
- path: r.path,
2398
- parent: r
2399
- });
2400
- return o.status === "aborted" ? m : (o.status === "dirty" && t.dirty(), i(o.value), { status: t.value, value: o.value });
2401
- } else
2402
- return this._def.schema._parseAsync({ data: r.data, path: r.path, parent: r }).then((o) => o.status === "aborted" ? m : (o.status === "dirty" && t.dirty(), i(o.value).then(() => ({ status: t.value, value: o.value }))));
2403
- }
2404
- if (n.type === "transform")
2405
- if (r.common.async === !1) {
2406
- const i = this._def.schema._parseSync({
2407
- data: r.data,
2408
- path: r.path,
2409
- parent: r
2410
- });
2411
- if (!q(i))
2412
- return i;
2413
- const o = n.transform(i.value, a);
2414
- if (o instanceof Promise)
2415
- throw new Error("Asynchronous transform encountered during synchronous parse operation. Use .parseAsync instead.");
2416
- return { status: t.value, value: o };
2417
- } else
2418
- return this._def.schema._parseAsync({ data: r.data, path: r.path, parent: r }).then((i) => q(i) ? Promise.resolve(n.transform(i.value, a)).then((o) => ({ status: t.value, value: o })) : i);
2419
- g.assertNever(n);
2420
- }
2421
- }
2422
- N.create = (s, e, t) => new N({
2423
- schema: s,
2424
- typeName: p.ZodEffects,
2425
- effect: e,
2426
- ...y(t)
2427
- });
2428
- N.createWithPreprocess = (s, e, t) => new N({
2429
- schema: e,
2430
- effect: { type: "preprocess", transform: s },
2431
- typeName: p.ZodEffects,
2432
- ...y(t)
2433
- });
2434
- class E extends v {
2435
- _parse(e) {
2436
- return this._getType(e) === u.undefined ? b(void 0) : this._def.innerType._parse(e);
2437
- }
2438
- unwrap() {
2439
- return this._def.innerType;
2440
- }
2441
- }
2442
- E.create = (s, e) => new E({
2443
- innerType: s,
2444
- typeName: p.ZodOptional,
2445
- ...y(e)
2446
- });
2447
- class L extends v {
2448
- _parse(e) {
2449
- return this._getType(e) === u.null ? b(null) : this._def.innerType._parse(e);
2450
- }
2451
- unwrap() {
2452
- return this._def.innerType;
2453
- }
2454
- }
2455
- L.create = (s, e) => new L({
2456
- innerType: s,
2457
- typeName: p.ZodNullable,
2458
- ...y(e)
2459
- });
2460
- class te extends v {
2461
- _parse(e) {
2462
- const { ctx: t } = this._processInputParams(e);
2463
- let r = t.data;
2464
- return t.parsedType === u.undefined && (r = this._def.defaultValue()), this._def.innerType._parse({
2465
- data: r,
2466
- path: t.path,
2467
- parent: t
2468
- });
2469
- }
2470
- removeDefault() {
2471
- return this._def.innerType;
2472
- }
2473
- }
2474
- te.create = (s, e) => new te({
2475
- innerType: s,
2476
- typeName: p.ZodDefault,
2477
- defaultValue: typeof e.default == "function" ? e.default : () => e.default,
2478
- ...y(e)
2479
- });
2480
- class ue extends v {
2481
- _parse(e) {
2482
- const { ctx: t } = this._processInputParams(e), r = {
2483
- ...t,
2484
- common: {
2485
- ...t.common,
2486
- issues: []
2487
- }
2488
- }, n = this._def.innerType._parse({
2489
- data: r.data,
2490
- path: r.path,
2491
- parent: {
2492
- ...r
2493
- }
2494
- });
2495
- return ie(n) ? n.then((a) => ({
2496
- status: "valid",
2497
- value: a.status === "valid" ? a.value : this._def.catchValue({
2498
- get error() {
2499
- return new Z(r.common.issues);
2500
- },
2501
- input: r.data
2502
- })
2503
- })) : {
2504
- status: "valid",
2505
- value: n.status === "valid" ? n.value : this._def.catchValue({
2506
- get error() {
2507
- return new Z(r.common.issues);
2508
- },
2509
- input: r.data
2510
- })
2511
- };
2512
- }
2513
- removeCatch() {
2514
- return this._def.innerType;
2515
- }
2516
- }
2517
- ue.create = (s, e) => new ue({
2518
- innerType: s,
2519
- typeName: p.ZodCatch,
2520
- catchValue: typeof e.catch == "function" ? e.catch : () => e.catch,
2521
- ...y(e)
2522
- });
2523
- class le extends v {
2524
- _parse(e) {
2525
- if (this._getType(e) !== u.nan) {
2526
- const r = this._getOrReturnCtx(e);
2527
- return l(r, {
2528
- code: c.invalid_type,
2529
- expected: u.nan,
2530
- received: r.parsedType
2531
- }), m;
2532
- }
2533
- return { status: "valid", value: e.data };
2534
- }
2535
- }
2536
- le.create = (s) => new le({
2537
- typeName: p.ZodNaN,
2538
- ...y(s)
2539
- });
2540
- const We = Symbol("zod_brand");
2541
- class Ze extends v {
2542
- _parse(e) {
2543
- const { ctx: t } = this._processInputParams(e), r = t.data;
2544
- return this._def.type._parse({
2545
- data: r,
2546
- path: t.path,
2547
- parent: t
2548
- });
2549
- }
2550
- unwrap() {
2551
- return this._def.type;
2552
- }
2553
- }
2554
- class se extends v {
2555
- _parse(e) {
2556
- const { status: t, ctx: r } = this._processInputParams(e);
2557
- if (r.common.async)
2558
- return (async () => {
2559
- const a = await this._def.in._parseAsync({
2560
- data: r.data,
2561
- path: r.path,
2562
- parent: r
2563
- });
2564
- return a.status === "aborted" ? m : a.status === "dirty" ? (t.dirty(), we(a.value)) : this._def.out._parseAsync({
2565
- data: a.value,
2566
- path: r.path,
2567
- parent: r
2568
- });
2569
- })();
2570
- {
2571
- const n = this._def.in._parseSync({
2572
- data: r.data,
2573
- path: r.path,
2574
- parent: r
2575
- });
2576
- return n.status === "aborted" ? m : n.status === "dirty" ? (t.dirty(), {
2577
- status: "dirty",
2578
- value: n.value
2579
- }) : this._def.out._parseSync({
2580
- data: n.value,
2581
- path: r.path,
2582
- parent: r
2583
- });
2584
- }
2585
- }
2586
- static create(e, t) {
2587
- return new se({
2588
- in: e,
2589
- out: t,
2590
- typeName: p.ZodPipeline
2591
- });
2592
- }
2593
- }
2594
- class fe extends v {
2595
- _parse(e) {
2596
- const t = this._def.innerType._parse(e);
2597
- return q(t) && (t.value = Object.freeze(t.value)), t;
2598
- }
2599
- }
2600
- fe.create = (s, e) => new fe({
2601
- innerType: s,
2602
- typeName: p.ZodReadonly,
2603
- ...y(e)
2604
- });
2605
- const Se = (s, e = {}, t) => s ? U.create().superRefine((r, n) => {
2606
- var a, i;
2607
- if (!s(r)) {
2608
- const o = typeof e == "function" ? e(r) : typeof e == "string" ? { message: e } : e, f = (i = (a = o.fatal) !== null && a !== void 0 ? a : t) !== null && i !== void 0 ? i : !0, d = typeof o == "string" ? { message: o } : o;
2609
- n.addIssue({ code: "custom", ...d, fatal: f });
2610
- }
2611
- }) : U.create(), qe = {
2612
- object: x.lazycreate
2613
- };
2614
- var p;
2615
- (function(s) {
2616
- s.ZodString = "ZodString", s.ZodNumber = "ZodNumber", s.ZodNaN = "ZodNaN", s.ZodBigInt = "ZodBigInt", s.ZodBoolean = "ZodBoolean", s.ZodDate = "ZodDate", s.ZodSymbol = "ZodSymbol", s.ZodUndefined = "ZodUndefined", s.ZodNull = "ZodNull", s.ZodAny = "ZodAny", s.ZodUnknown = "ZodUnknown", s.ZodNever = "ZodNever", s.ZodVoid = "ZodVoid", s.ZodArray = "ZodArray", s.ZodObject = "ZodObject", s.ZodUnion = "ZodUnion", s.ZodDiscriminatedUnion = "ZodDiscriminatedUnion", s.ZodIntersection = "ZodIntersection", s.ZodTuple = "ZodTuple", s.ZodRecord = "ZodRecord", s.ZodMap = "ZodMap", s.ZodSet = "ZodSet", s.ZodFunction = "ZodFunction", s.ZodLazy = "ZodLazy", s.ZodLiteral = "ZodLiteral", s.ZodEnum = "ZodEnum", s.ZodEffects = "ZodEffects", s.ZodNativeEnum = "ZodNativeEnum", s.ZodOptional = "ZodOptional", s.ZodNullable = "ZodNullable", s.ZodDefault = "ZodDefault", s.ZodCatch = "ZodCatch", s.ZodPromise = "ZodPromise", s.ZodBranded = "ZodBranded", s.ZodPipeline = "ZodPipeline", s.ZodReadonly = "ZodReadonly";
2617
- })(p || (p = {}));
2618
- const Je = (s, e = {
2619
- message: `Input not instance of ${s.name}`
2620
- }) => Se((t) => t instanceof s, e), Ne = T.create, Oe = j.create, Ye = le.create, He = A.create, Ce = J.create, Ge = V.create, Xe = oe.create, Qe = Y.create, Ke = H.create, Fe = U.create, et = P.create, tt = I.create, st = ce.create, rt = S.create, nt = x.create, at = x.strictCreate, it = G.create, ot = he.create, ct = X.create, dt = C.create, ut = Q.create, lt = de.create, ft = $.create, ht = z.create, pt = K.create, mt = F.create, yt = M.create, vt = ee.create, _t = B.create, ke = N.create, gt = E.create, xt = L.create, kt = N.createWithPreprocess, bt = se.create, wt = () => Ne().optional(), Tt = () => Oe().optional(), Zt = () => Ce().optional(), St = {
2621
- string: (s) => T.create({ ...s, coerce: !0 }),
2622
- number: (s) => j.create({ ...s, coerce: !0 }),
2623
- boolean: (s) => J.create({
2624
- ...s,
2625
- coerce: !0
2626
- }),
2627
- bigint: (s) => A.create({ ...s, coerce: !0 }),
2628
- date: (s) => V.create({ ...s, coerce: !0 })
2629
- }, Nt = m;
2630
- var Ct = /* @__PURE__ */ Object.freeze({
2631
- __proto__: null,
2632
- defaultErrorMap: W,
2633
- setErrorMap: Ie,
2634
- getErrorMap: ne,
2635
- makeIssue: ae,
2636
- EMPTY_PATH: Re,
2637
- addIssueToContext: l,
2638
- ParseStatus: k,
2639
- INVALID: m,
2640
- DIRTY: we,
2641
- OK: b,
2642
- isAborted: ve,
2643
- isDirty: _e,
2644
- isValid: q,
2645
- isAsync: ie,
2646
- get util() {
2647
- return g;
2648
- },
2649
- get objectUtil() {
2650
- return ye;
2651
- },
2652
- ZodParsedType: u,
2653
- getParsedType: R,
2654
- ZodType: v,
2655
- ZodString: T,
2656
- ZodNumber: j,
2657
- ZodBigInt: A,
2658
- ZodBoolean: J,
2659
- ZodDate: V,
2660
- ZodSymbol: oe,
2661
- ZodUndefined: Y,
2662
- ZodNull: H,
2663
- ZodAny: U,
2664
- ZodUnknown: P,
2665
- ZodNever: I,
2666
- ZodVoid: ce,
2667
- ZodArray: S,
2668
- ZodObject: x,
2669
- ZodUnion: G,
2670
- ZodDiscriminatedUnion: he,
2671
- ZodIntersection: X,
2672
- ZodTuple: C,
2673
- ZodRecord: Q,
2674
- ZodMap: de,
2675
- ZodSet: $,
2676
- ZodFunction: z,
2677
- ZodLazy: K,
2678
- ZodLiteral: F,
2679
- ZodEnum: M,
2680
- ZodNativeEnum: ee,
2681
- ZodPromise: B,
2682
- ZodEffects: N,
2683
- ZodTransformer: N,
2684
- ZodOptional: E,
2685
- ZodNullable: L,
2686
- ZodDefault: te,
2687
- ZodCatch: ue,
2688
- ZodNaN: le,
2689
- BRAND: We,
2690
- ZodBranded: Ze,
2691
- ZodPipeline: se,
2692
- ZodReadonly: fe,
2693
- custom: Se,
2694
- Schema: v,
2695
- ZodSchema: v,
2696
- late: qe,
2697
- get ZodFirstPartyTypeKind() {
2698
- return p;
2699
- },
2700
- coerce: St,
2701
- any: Fe,
2702
- array: rt,
2703
- bigint: He,
2704
- boolean: Ce,
2705
- date: Ge,
2706
- discriminatedUnion: ot,
2707
- effect: ke,
2708
- enum: yt,
2709
- function: ht,
2710
- instanceof: Je,
2711
- intersection: ct,
2712
- lazy: pt,
2713
- literal: mt,
2714
- map: lt,
2715
- nan: Ye,
2716
- nativeEnum: vt,
2717
- never: tt,
2718
- null: Ke,
2719
- nullable: xt,
2720
- number: Oe,
2721
- object: nt,
2722
- oboolean: Zt,
2723
- onumber: Tt,
2724
- optional: gt,
2725
- ostring: wt,
2726
- pipeline: bt,
2727
- preprocess: kt,
2728
- promise: _t,
2729
- record: ut,
2730
- set: ft,
2731
- strictObject: at,
2732
- string: Ne,
2733
- symbol: Xe,
2734
- transformer: ke,
2735
- tuple: dt,
2736
- undefined: Qe,
2737
- union: it,
2738
- unknown: et,
2739
- void: st,
2740
- NEVER: Nt,
2741
- ZodIssueCode: c,
2742
- quotelessJson: Ee,
2743
- ZodError: Z
2744
- });
2745
- export {
2746
- We as BRAND,
2747
- we as DIRTY,
2748
- Re as EMPTY_PATH,
2749
- m as INVALID,
2750
- Nt as NEVER,
2751
- b as OK,
2752
- k as ParseStatus,
2753
- v as Schema,
2754
- U as ZodAny,
2755
- S as ZodArray,
2756
- A as ZodBigInt,
2757
- J as ZodBoolean,
2758
- Ze as ZodBranded,
2759
- ue as ZodCatch,
2760
- V as ZodDate,
2761
- te as ZodDefault,
2762
- he as ZodDiscriminatedUnion,
2763
- N as ZodEffects,
2764
- M as ZodEnum,
2765
- Z as ZodError,
2766
- p as ZodFirstPartyTypeKind,
2767
- z as ZodFunction,
2768
- X as ZodIntersection,
2769
- c as ZodIssueCode,
2770
- K as ZodLazy,
2771
- F as ZodLiteral,
2772
- de as ZodMap,
2773
- le as ZodNaN,
2774
- ee as ZodNativeEnum,
2775
- I as ZodNever,
2776
- H as ZodNull,
2777
- L as ZodNullable,
2778
- j as ZodNumber,
2779
- x as ZodObject,
2780
- E as ZodOptional,
2781
- u as ZodParsedType,
2782
- se as ZodPipeline,
2783
- B as ZodPromise,
2784
- fe as ZodReadonly,
2785
- Q as ZodRecord,
2786
- v as ZodSchema,
2787
- $ as ZodSet,
2788
- T as ZodString,
2789
- oe as ZodSymbol,
2790
- N as ZodTransformer,
2791
- C as ZodTuple,
2792
- v as ZodType,
2793
- Y as ZodUndefined,
2794
- G as ZodUnion,
2795
- P as ZodUnknown,
2796
- ce as ZodVoid,
2797
- l as addIssueToContext,
2798
- Fe as any,
2799
- rt as array,
2800
- He as bigint,
2801
- Ce as boolean,
2802
- St as coerce,
2803
- Se as custom,
2804
- Ge as date,
2805
- Ct as default,
2806
- W as defaultErrorMap,
2807
- ot as discriminatedUnion,
2808
- ke as effect,
2809
- yt as enum,
2810
- ht as function,
2811
- ne as getErrorMap,
2812
- R as getParsedType,
2813
- Je as instanceof,
2814
- ct as intersection,
2815
- ve as isAborted,
2816
- ie as isAsync,
2817
- _e as isDirty,
2818
- q as isValid,
2819
- qe as late,
2820
- pt as lazy,
2821
- mt as literal,
2822
- ae as makeIssue,
2823
- lt as map,
2824
- Ye as nan,
2825
- vt as nativeEnum,
2826
- tt as never,
2827
- Ke as null,
2828
- xt as nullable,
2829
- Oe as number,
2830
- nt as object,
2831
- ye as objectUtil,
2832
- Zt as oboolean,
2833
- Tt as onumber,
2834
- gt as optional,
2835
- wt as ostring,
2836
- bt as pipeline,
2837
- kt as preprocess,
2838
- _t as promise,
2839
- Ee as quotelessJson,
2840
- ut as record,
2841
- ft as set,
2842
- Ie as setErrorMap,
2843
- at as strictObject,
2844
- Ne as string,
2845
- Xe as symbol,
2846
- ke as transformer,
2847
- dt as tuple,
2848
- Qe as undefined,
2849
- it as union,
2850
- et as unknown,
2851
- g as util,
2852
- st as void,
2853
- Ct as z
2854
- };