@ozdao/prometheus-framework 0.2.57 → 0.2.59

Sign up to get free protection for your applications and to get access to all the features.
Files changed (754) hide show
  1. package/dist/_commonjsHelpers-CUmg6egw.mjs +6 -0
  2. package/dist/_commonjsHelpers-DHfMLFPC.js +5 -0
  3. package/dist/_virtual/index.cjs +1 -1
  4. package/dist/_virtual/index.js +2 -2
  5. package/dist/_virtual/index2.cjs +1 -0
  6. package/dist/_virtual/index2.js +4 -0
  7. package/dist/addMembersQuantity-B8UgqlUM.js +97 -0
  8. package/dist/addMembersQuantity-BXp_LeQd.mjs +98 -0
  9. package/dist/auth.server.js +5 -9
  10. package/dist/auth.server.mjs +5 -9
  11. package/dist/community.server.js +3 -5
  12. package/dist/community.server.mjs +3 -5
  13. package/dist/events.server.js +3 -5
  14. package/dist/events.server.mjs +3 -5
  15. package/dist/files.server.js +2 -4
  16. package/dist/files.server.mjs +2 -4
  17. package/dist/gallery.server.js +2 -4
  18. package/dist/gallery.server.mjs +2 -4
  19. package/dist/globals.server.js +2 -5
  20. package/dist/globals.server.mjs +2 -5
  21. package/dist/index-CGIn4v5E.mjs +217 -0
  22. package/dist/index-CL9l0HRS.js +216 -0
  23. package/dist/mailing-CxEcQ8NY.js +77 -0
  24. package/dist/mailing-DT2ZSkCD.mjs +78 -0
  25. package/dist/main-nO9P-mgH.js +91 -0
  26. package/dist/main-yJ9uXsVC.mjs +13748 -0
  27. package/dist/main.css +1 -1
  28. package/dist/metadata.schema-C_AgyVgg.mjs +210 -0
  29. package/dist/metadata.schema-IGS4BjqG.js +209 -0
  30. package/dist/middlewares.server.js +2 -4
  31. package/dist/middlewares.server.mjs +2 -4
  32. package/dist/node_modules/@ethereumjs/rlp/dist/index.cjs +1 -1
  33. package/dist/node_modules/@ethereumjs/rlp/dist/index.js +1 -1
  34. package/dist/node_modules/@noble/hashes/esm/_assert.cjs +1 -1
  35. package/dist/node_modules/@noble/hashes/esm/_assert.js +6 -6
  36. package/dist/node_modules/@noble/hashes/esm/_u64.cjs +1 -1
  37. package/dist/node_modules/@noble/hashes/esm/_u64.js +8 -8
  38. package/dist/node_modules/@noble/hashes/esm/sha512.cjs +1 -1
  39. package/dist/node_modules/@noble/hashes/esm/sha512.js +2 -2
  40. package/dist/node_modules/embla-carousel/esm/embla-carousel.esm.cjs +1 -1
  41. package/dist/node_modules/embla-carousel/esm/embla-carousel.esm.js +334 -332
  42. package/dist/node_modules/embla-carousel-autoplay/esm/embla-carousel-autoplay.esm.cjs +1 -1
  43. package/dist/node_modules/embla-carousel-autoplay/esm/embla-carousel-autoplay.esm.js +1 -1
  44. package/dist/node_modules/ethereum-cryptography/esm/utils.cjs +1 -1
  45. package/dist/node_modules/ethereum-cryptography/esm/utils.js +3 -4
  46. package/dist/node_modules/eventemitter3/index.cjs +1 -0
  47. package/dist/node_modules/eventemitter3/index.js +117 -0
  48. package/dist/node_modules/eventemitter3/index2.cjs +1 -0
  49. package/dist/node_modules/eventemitter3/index2.js +5 -0
  50. package/dist/node_modules/web3/lib/esm/accounts.cjs +1 -1
  51. package/dist/node_modules/web3/lib/esm/accounts.js +36 -36
  52. package/dist/node_modules/web3/lib/esm/index.cjs +1 -1
  53. package/dist/node_modules/web3/lib/esm/index.js +41 -40
  54. package/dist/node_modules/web3/lib/esm/version.cjs +1 -1
  55. package/dist/node_modules/web3/lib/esm/version.js +1 -1
  56. package/dist/node_modules/web3/lib/esm/web3.cjs +1 -1
  57. package/dist/node_modules/web3/lib/esm/web3.js +50 -47
  58. package/dist/node_modules/web3/lib/esm/web3_eip6963.cjs +1 -0
  59. package/dist/node_modules/web3/lib/esm/web3_eip6963.js +50 -0
  60. package/dist/node_modules/web3-core/lib/esm/web3_batch_request.cjs +1 -1
  61. package/dist/node_modules/web3-core/lib/esm/web3_batch_request.js +27 -27
  62. package/dist/node_modules/web3-core/lib/esm/web3_context.cjs +1 -1
  63. package/dist/node_modules/web3-core/lib/esm/web3_context.js +24 -24
  64. package/dist/node_modules/web3-core/lib/esm/web3_promi_event.cjs +1 -1
  65. package/dist/node_modules/web3-core/lib/esm/web3_promi_event.js +33 -33
  66. package/dist/node_modules/web3-core/lib/esm/web3_request_manager.cjs +1 -1
  67. package/dist/node_modules/web3-core/lib/esm/web3_request_manager.js +10 -10
  68. package/dist/node_modules/web3-core/lib/esm/web3_subscription_manager.cjs +1 -1
  69. package/dist/node_modules/web3-core/lib/esm/web3_subscription_manager.js +1 -1
  70. package/dist/node_modules/web3-core/lib/esm/web3_subscriptions.cjs +1 -1
  71. package/dist/node_modules/web3-core/lib/esm/web3_subscriptions.js +13 -13
  72. package/dist/node_modules/web3-eth/lib/esm/rpc_method_wrappers.cjs +1 -1
  73. package/dist/node_modules/web3-eth/lib/esm/rpc_method_wrappers.js +171 -164
  74. package/dist/node_modules/web3-eth/lib/esm/utils/get_revert_reason.cjs +1 -1
  75. package/dist/node_modules/web3-eth/lib/esm/utils/get_revert_reason.js +26 -26
  76. package/dist/node_modules/web3-eth/lib/esm/utils/get_transaction_error.cjs +1 -1
  77. package/dist/node_modules/web3-eth/lib/esm/utils/get_transaction_error.js +14 -14
  78. package/dist/node_modules/web3-eth/lib/esm/utils/get_transaction_gas_pricing.cjs +1 -1
  79. package/dist/node_modules/web3-eth/lib/esm/utils/get_transaction_gas_pricing.js +36 -36
  80. package/dist/node_modules/web3-eth/lib/esm/utils/prepare_transaction_for_signing.cjs +1 -1
  81. package/dist/node_modules/web3-eth/lib/esm/utils/prepare_transaction_for_signing.js +20 -20
  82. package/dist/node_modules/web3-eth/lib/esm/utils/reject_if_block_timeout.cjs +1 -1
  83. package/dist/node_modules/web3-eth/lib/esm/utils/reject_if_block_timeout.js +23 -23
  84. package/dist/node_modules/web3-eth/lib/esm/utils/send_tx_helper.cjs +1 -1
  85. package/dist/node_modules/web3-eth/lib/esm/utils/send_tx_helper.js +17 -17
  86. package/dist/node_modules/web3-eth/lib/esm/utils/transaction_builder.cjs +1 -1
  87. package/dist/node_modules/web3-eth/lib/esm/utils/transaction_builder.js +11 -11
  88. package/dist/node_modules/web3-eth/lib/esm/utils/try_send_transaction.cjs +1 -1
  89. package/dist/node_modules/web3-eth/lib/esm/utils/try_send_transaction.js +24 -24
  90. package/dist/node_modules/web3-eth/lib/esm/utils/wait_for_transaction_receipt.cjs +1 -1
  91. package/dist/node_modules/web3-eth/lib/esm/utils/wait_for_transaction_receipt.js +25 -25
  92. package/dist/node_modules/web3-eth/lib/esm/utils/watch_transaction_by_polling.cjs +1 -1
  93. package/dist/node_modules/web3-eth/lib/esm/utils/watch_transaction_by_polling.js +19 -19
  94. package/dist/node_modules/web3-eth/lib/esm/utils/watch_transaction_by_subscription.cjs +1 -1
  95. package/dist/node_modules/web3-eth/lib/esm/utils/watch_transaction_by_subscription.js +39 -39
  96. package/dist/node_modules/web3-eth/lib/esm/web3_eth.cjs +1 -1
  97. package/dist/node_modules/web3-eth/lib/esm/web3_eth.js +327 -265
  98. package/dist/node_modules/web3-eth-accounts/lib/esm/account.cjs +2 -2
  99. package/dist/node_modules/web3-eth-accounts/lib/esm/account.js +28 -28
  100. package/dist/node_modules/web3-eth-accounts/lib/esm/wallet.cjs +1 -1
  101. package/dist/node_modules/web3-eth-accounts/lib/esm/wallet.js +3 -3
  102. package/dist/node_modules/web3-eth-contract/lib/esm/contract.cjs +1 -1
  103. package/dist/node_modules/web3-eth-contract/lib/esm/contract.js +8 -8
  104. package/dist/node_modules/web3-eth-ens/lib/esm/abi/ens/PublicResolver.cjs +1 -1
  105. package/dist/node_modules/web3-eth-ens/lib/esm/abi/ens/PublicResolver.js +18 -0
  106. package/dist/node_modules/web3-eth-ens/lib/esm/ens.cjs +1 -1
  107. package/dist/node_modules/web3-eth-ens/lib/esm/ens.js +35 -20
  108. package/dist/node_modules/web3-eth-ens/lib/esm/registry.cjs +1 -1
  109. package/dist/node_modules/web3-eth-ens/lib/esm/registry.js +16 -16
  110. package/dist/node_modules/web3-eth-ens/lib/esm/resolver.cjs +1 -1
  111. package/dist/node_modules/web3-eth-ens/lib/esm/resolver.js +53 -47
  112. package/dist/node_modules/web3-eth-iban/lib/esm/iban.cjs +1 -1
  113. package/dist/node_modules/web3-eth-iban/lib/esm/iban.js +2 -2
  114. package/dist/node_modules/web3-eth-personal/lib/esm/personal.cjs +1 -1
  115. package/dist/node_modules/web3-eth-personal/lib/esm/personal.js +19 -19
  116. package/dist/node_modules/web3-eth-personal/lib/esm/rpc_method_wrappers.cjs +1 -1
  117. package/dist/node_modules/web3-eth-personal/lib/esm/rpc_method_wrappers.js +35 -35
  118. package/dist/node_modules/web3-net/lib/esm/net.cjs +1 -1
  119. package/dist/node_modules/web3-net/lib/esm/net.js +25 -25
  120. package/dist/node_modules/web3-net/lib/esm/rpc_method_wrappers.cjs +1 -1
  121. package/dist/node_modules/web3-net/lib/esm/rpc_method_wrappers.js +25 -25
  122. package/dist/node_modules/web3-providers-http/lib/esm/index.cjs +1 -1
  123. package/dist/node_modules/web3-providers-http/lib/esm/index.js +33 -33
  124. package/dist/node_modules/web3-rpc-methods/lib/esm/eth_rpc_methods.cjs +1 -1
  125. package/dist/node_modules/web3-rpc-methods/lib/esm/eth_rpc_methods.js +69 -60
  126. package/dist/node_modules/web3-rpc-methods/lib/esm/net_rpc_methods.cjs +1 -1
  127. package/dist/node_modules/web3-rpc-methods/lib/esm/net_rpc_methods.js +19 -19
  128. package/dist/node_modules/web3-rpc-methods/lib/esm/personal_rpc_methods.cjs +1 -1
  129. package/dist/node_modules/web3-rpc-methods/lib/esm/personal_rpc_methods.js +27 -27
  130. package/dist/node_modules/web3-types/lib/esm/web3_base_provider.cjs +1 -1
  131. package/dist/node_modules/web3-types/lib/esm/web3_base_provider.js +25 -25
  132. package/dist/node_modules/web3-utils/lib/esm/event_emitter.cjs +1 -1
  133. package/dist/node_modules/web3-utils/lib/esm/event_emitter.js +6 -82
  134. package/dist/node_modules/web3-utils/lib/esm/objects.cjs +1 -1
  135. package/dist/node_modules/web3-utils/lib/esm/objects.js +9 -9
  136. package/dist/node_modules/web3-utils/lib/esm/promise_helpers.cjs +1 -1
  137. package/dist/node_modules/web3-utils/lib/esm/promise_helpers.js +19 -19
  138. package/dist/node_modules/web3-utils/lib/esm/socket_provider.cjs +1 -1
  139. package/dist/node_modules/web3-utils/lib/esm/socket_provider.js +17 -17
  140. package/dist/node_modules/web3-utils/lib/esm/web3_deferred_promise.cjs +1 -1
  141. package/dist/node_modules/web3-utils/lib/esm/web3_deferred_promise.js +5 -5
  142. package/dist/node_modules/web3-utils/lib/esm/web3_eip1193_provider.cjs +1 -1
  143. package/dist/node_modules/web3-utils/lib/esm/web3_eip1193_provider.js +20 -20
  144. package/dist/organizations.server.js +2 -2
  145. package/dist/organizations.server.mjs +2 -2
  146. package/dist/products.server.js +2 -4
  147. package/dist/products.server.mjs +2 -4
  148. package/dist/prometheus-framework/node_modules/@vuepic/vue-datepicker/dist/main.css.cjs +1 -1
  149. package/dist/prometheus-framework/node_modules/@vuepic/vue-datepicker/dist/main.css.js +1 -4
  150. package/dist/prometheus-framework/node_modules/@vuepic/vue-datepicker/dist/vue-datepicker.cjs +1 -1
  151. package/dist/prometheus-framework/node_modules/@vuepic/vue-datepicker/dist/vue-datepicker.js +3113 -3253
  152. package/dist/prometheus-framework/node_modules/axios/lib/core/InterceptorManager.cjs +1 -1
  153. package/dist/prometheus-framework/node_modules/axios/lib/core/InterceptorManager.js +11 -12
  154. package/dist/prometheus-framework/node_modules/axios/lib/core/mergeConfig.cjs +1 -1
  155. package/dist/prometheus-framework/node_modules/axios/lib/core/mergeConfig.js +14 -14
  156. package/dist/prometheus-framework/node_modules/axios/lib/env/data.cjs +1 -1
  157. package/dist/prometheus-framework/node_modules/axios/lib/env/data.js +1 -1
  158. package/dist/prometheus-framework/node_modules/axios/lib/helpers/isURLSameOrigin.js +1 -1
  159. package/dist/prometheus-framework/node_modules/axios/lib/platform/common/utils.cjs +1 -1
  160. package/dist/prometheus-framework/node_modules/axios/lib/platform/common/utils.js +2 -2
  161. package/dist/prometheus-framework/node_modules/axios/lib/utils.cjs +1 -1
  162. package/dist/prometheus-framework/node_modules/axios/lib/utils.js +3 -3
  163. package/dist/prometheus-framework/node_modules/bignumber.js/bignumber.js +3 -3
  164. package/dist/prometheus-framework/node_modules/date-fns/_lib/addLeadingZeros.cjs +1 -0
  165. package/dist/prometheus-framework/node_modules/date-fns/_lib/addLeadingZeros.js +7 -0
  166. package/dist/prometheus-framework/node_modules/date-fns/_lib/defaultOptions.cjs +1 -0
  167. package/dist/prometheus-framework/node_modules/date-fns/_lib/defaultOptions.js +7 -0
  168. package/dist/prometheus-framework/node_modules/date-fns/_lib/format/formatters.cjs +1 -0
  169. package/dist/prometheus-framework/node_modules/date-fns/_lib/format/formatters.js +518 -0
  170. package/dist/prometheus-framework/node_modules/date-fns/_lib/format/lightFormatters.cjs +1 -0
  171. package/dist/prometheus-framework/node_modules/date-fns/_lib/format/lightFormatters.js +59 -0
  172. package/dist/prometheus-framework/node_modules/date-fns/_lib/format/longFormatters.cjs +1 -0
  173. package/dist/prometheus-framework/node_modules/date-fns/_lib/format/longFormatters.js +52 -0
  174. package/dist/prometheus-framework/node_modules/date-fns/_lib/getTimezoneOffsetInMilliseconds.cjs +1 -0
  175. package/dist/prometheus-framework/node_modules/date-fns/_lib/getTimezoneOffsetInMilliseconds.js +18 -0
  176. package/dist/prometheus-framework/node_modules/date-fns/_lib/protectedTokens.cjs +1 -0
  177. package/dist/prometheus-framework/node_modules/date-fns/_lib/protectedTokens.js +21 -0
  178. package/dist/prometheus-framework/node_modules/date-fns/add.cjs +1 -0
  179. package/dist/prometheus-framework/node_modules/date-fns/add.js +20 -0
  180. package/dist/prometheus-framework/node_modules/date-fns/addDays.cjs +1 -0
  181. package/dist/prometheus-framework/node_modules/date-fns/addDays.js +10 -0
  182. package/dist/prometheus-framework/node_modules/date-fns/addHours.cjs +1 -0
  183. package/dist/prometheus-framework/node_modules/date-fns/addHours.js +9 -0
  184. package/dist/prometheus-framework/node_modules/date-fns/addMilliseconds.cjs +1 -0
  185. package/dist/prometheus-framework/node_modules/date-fns/addMilliseconds.js +10 -0
  186. package/dist/prometheus-framework/node_modules/date-fns/addMonths.cjs +1 -0
  187. package/dist/prometheus-framework/node_modules/date-fns/addMonths.js +21 -0
  188. package/dist/prometheus-framework/node_modules/date-fns/addQuarters.cjs +1 -0
  189. package/dist/prometheus-framework/node_modules/date-fns/addQuarters.js +9 -0
  190. package/dist/prometheus-framework/node_modules/date-fns/addYears.cjs +1 -0
  191. package/dist/prometheus-framework/node_modules/date-fns/addYears.js +8 -0
  192. package/dist/prometheus-framework/node_modules/date-fns/constants.cjs +1 -0
  193. package/dist/prometheus-framework/node_modules/date-fns/constants.js +8 -0
  194. package/dist/prometheus-framework/node_modules/date-fns/constructFrom.cjs +1 -0
  195. package/dist/prometheus-framework/node_modules/date-fns/constructFrom.js +7 -0
  196. package/dist/prometheus-framework/node_modules/date-fns/differenceInCalendarDays.cjs +1 -0
  197. package/dist/prometheus-framework/node_modules/date-fns/differenceInCalendarDays.js +11 -0
  198. package/dist/prometheus-framework/node_modules/date-fns/eachDayOfInterval.cjs +1 -0
  199. package/dist/prometheus-framework/node_modules/date-fns/eachDayOfInterval.js +19 -0
  200. package/dist/prometheus-framework/node_modules/date-fns/eachQuarterOfInterval.cjs +1 -0
  201. package/dist/prometheus-framework/node_modules/date-fns/eachQuarterOfInterval.js +20 -0
  202. package/dist/prometheus-framework/node_modules/date-fns/endOfQuarter.cjs +1 -0
  203. package/dist/prometheus-framework/node_modules/date-fns/endOfQuarter.js +9 -0
  204. package/dist/prometheus-framework/node_modules/date-fns/endOfWeek.cjs +1 -0
  205. package/dist/prometheus-framework/node_modules/date-fns/endOfWeek.js +11 -0
  206. package/dist/prometheus-framework/node_modules/date-fns/endOfYear.cjs +1 -0
  207. package/dist/prometheus-framework/node_modules/date-fns/endOfYear.js +9 -0
  208. package/dist/prometheus-framework/node_modules/date-fns/format.cjs +1 -0
  209. package/dist/prometheus-framework/node_modules/date-fns/format.js +60 -0
  210. package/dist/prometheus-framework/node_modules/date-fns/getDay.cjs +1 -0
  211. package/dist/prometheus-framework/node_modules/date-fns/getDay.js +8 -0
  212. package/dist/prometheus-framework/node_modules/date-fns/getDayOfYear.cjs +1 -0
  213. package/dist/prometheus-framework/node_modules/date-fns/getDayOfYear.js +11 -0
  214. package/dist/prometheus-framework/node_modules/date-fns/getDaysInMonth.cjs +1 -0
  215. package/dist/prometheus-framework/node_modules/date-fns/getDaysInMonth.js +10 -0
  216. package/dist/prometheus-framework/node_modules/date-fns/getDefaultOptions.cjs +1 -0
  217. package/dist/prometheus-framework/node_modules/date-fns/getDefaultOptions.js +8 -0
  218. package/dist/prometheus-framework/node_modules/date-fns/getHours.cjs +1 -0
  219. package/dist/prometheus-framework/node_modules/date-fns/getHours.js +8 -0
  220. package/dist/prometheus-framework/node_modules/date-fns/getISODay.cjs +1 -0
  221. package/dist/prometheus-framework/node_modules/date-fns/getISODay.js +9 -0
  222. package/dist/prometheus-framework/node_modules/date-fns/getISOWeek.cjs +1 -0
  223. package/dist/prometheus-framework/node_modules/date-fns/getISOWeek.js +12 -0
  224. package/dist/prometheus-framework/node_modules/date-fns/getISOWeekYear.cjs +1 -0
  225. package/dist/prometheus-framework/node_modules/date-fns/getISOWeekYear.js +15 -0
  226. package/dist/prometheus-framework/node_modules/date-fns/getMinutes.cjs +1 -0
  227. package/dist/prometheus-framework/node_modules/date-fns/getMinutes.js +8 -0
  228. package/dist/prometheus-framework/node_modules/date-fns/getMonth.cjs +1 -0
  229. package/dist/prometheus-framework/node_modules/date-fns/getMonth.js +8 -0
  230. package/dist/prometheus-framework/node_modules/date-fns/getQuarter.cjs +1 -0
  231. package/dist/prometheus-framework/node_modules/date-fns/getQuarter.js +9 -0
  232. package/dist/prometheus-framework/node_modules/date-fns/getSeconds.cjs +1 -0
  233. package/dist/prometheus-framework/node_modules/date-fns/getSeconds.js +8 -0
  234. package/dist/prometheus-framework/node_modules/date-fns/getWeek.cjs +1 -0
  235. package/dist/prometheus-framework/node_modules/date-fns/getWeek.js +12 -0
  236. package/dist/prometheus-framework/node_modules/date-fns/getWeekYear.cjs +1 -0
  237. package/dist/prometheus-framework/node_modules/date-fns/getWeekYear.js +17 -0
  238. package/dist/prometheus-framework/node_modules/date-fns/getYear.cjs +1 -0
  239. package/dist/prometheus-framework/node_modules/date-fns/getYear.js +8 -0
  240. package/dist/prometheus-framework/node_modules/date-fns/isAfter.cjs +1 -0
  241. package/dist/prometheus-framework/node_modules/date-fns/isAfter.js +9 -0
  242. package/dist/prometheus-framework/node_modules/date-fns/isBefore.cjs +1 -0
  243. package/dist/prometheus-framework/node_modules/date-fns/isBefore.js +9 -0
  244. package/dist/prometheus-framework/node_modules/date-fns/isDate.cjs +1 -0
  245. package/dist/prometheus-framework/node_modules/date-fns/isDate.js +7 -0
  246. package/dist/prometheus-framework/node_modules/date-fns/isEqual.cjs +1 -0
  247. package/dist/prometheus-framework/node_modules/date-fns/isEqual.js +9 -0
  248. package/dist/prometheus-framework/node_modules/date-fns/isSameQuarter.cjs +1 -0
  249. package/dist/prometheus-framework/node_modules/date-fns/isSameQuarter.js +9 -0
  250. package/dist/prometheus-framework/node_modules/date-fns/isValid.cjs +1 -0
  251. package/dist/prometheus-framework/node_modules/date-fns/isValid.js +12 -0
  252. package/dist/prometheus-framework/node_modules/date-fns/locale/_lib/buildFormatLongFn.cjs +1 -0
  253. package/dist/prometheus-framework/node_modules/date-fns/locale/_lib/buildFormatLongFn.js +9 -0
  254. package/dist/prometheus-framework/node_modules/date-fns/locale/_lib/buildLocalizeFn.cjs +1 -0
  255. package/dist/prometheus-framework/node_modules/date-fns/locale/_lib/buildLocalizeFn.js +18 -0
  256. package/dist/prometheus-framework/node_modules/date-fns/locale/_lib/buildMatchFn.cjs +1 -0
  257. package/dist/prometheus-framework/node_modules/date-fns/locale/_lib/buildMatchFn.js +31 -0
  258. package/dist/prometheus-framework/node_modules/date-fns/locale/_lib/buildMatchPatternFn.cjs +1 -0
  259. package/dist/prometheus-framework/node_modules/date-fns/locale/_lib/buildMatchPatternFn.js +17 -0
  260. package/dist/prometheus-framework/node_modules/date-fns/locale/en-US/_lib/formatDistance.cjs +1 -0
  261. package/dist/prometheus-framework/node_modules/date-fns/locale/en-US/_lib/formatDistance.js +70 -0
  262. package/dist/prometheus-framework/node_modules/date-fns/locale/en-US/_lib/formatLong.cjs +1 -0
  263. package/dist/prometheus-framework/node_modules/date-fns/locale/en-US/_lib/formatLong.js +33 -0
  264. package/dist/prometheus-framework/node_modules/date-fns/locale/en-US/_lib/formatRelative.cjs +1 -0
  265. package/dist/prometheus-framework/node_modules/date-fns/locale/en-US/_lib/formatRelative.js +11 -0
  266. package/dist/prometheus-framework/node_modules/date-fns/locale/en-US/_lib/localize.cjs +1 -0
  267. package/dist/prometheus-framework/node_modules/date-fns/locale/en-US/_lib/localize.js +155 -0
  268. package/dist/prometheus-framework/node_modules/date-fns/locale/en-US/_lib/match.cjs +1 -0
  269. package/dist/prometheus-framework/node_modules/date-fns/locale/en-US/_lib/match.js +110 -0
  270. package/dist/prometheus-framework/node_modules/date-fns/locale/en-US.cjs +1 -0
  271. package/dist/prometheus-framework/node_modules/date-fns/locale/en-US.js +21 -0
  272. package/dist/prometheus-framework/node_modules/date-fns/parse/_lib/Parser.cjs +1 -0
  273. package/dist/prometheus-framework/node_modules/date-fns/parse/_lib/Parser.js +22 -0
  274. package/dist/prometheus-framework/node_modules/date-fns/parse/_lib/Setter.cjs +1 -0
  275. package/dist/prometheus-framework/node_modules/date-fns/parse/_lib/Setter.js +40 -0
  276. package/dist/prometheus-framework/node_modules/date-fns/parse/_lib/constants.cjs +1 -0
  277. package/dist/prometheus-framework/node_modules/date-fns/parse/_lib/constants.js +49 -0
  278. package/dist/prometheus-framework/node_modules/date-fns/parse/_lib/parsers/AMPMMidnightParser.cjs +1 -0
  279. package/dist/prometheus-framework/node_modules/date-fns/parse/_lib/parsers/AMPMMidnightParser.js +49 -0
  280. package/dist/prometheus-framework/node_modules/date-fns/parse/_lib/parsers/AMPMParser.cjs +1 -0
  281. package/dist/prometheus-framework/node_modules/date-fns/parse/_lib/parsers/AMPMParser.js +49 -0
  282. package/dist/prometheus-framework/node_modules/date-fns/parse/_lib/parsers/DateParser.cjs +1 -0
  283. package/dist/prometheus-framework/node_modules/date-fns/parse/_lib/parsers/DateParser.js +61 -0
  284. package/dist/prometheus-framework/node_modules/date-fns/parse/_lib/parsers/DayOfYearParser.cjs +1 -0
  285. package/dist/prometheus-framework/node_modules/date-fns/parse/_lib/parsers/DayOfYearParser.js +51 -0
  286. package/dist/prometheus-framework/node_modules/date-fns/parse/_lib/parsers/DayParser.cjs +1 -0
  287. package/dist/prometheus-framework/node_modules/date-fns/parse/_lib/parsers/DayParser.js +45 -0
  288. package/dist/prometheus-framework/node_modules/date-fns/parse/_lib/parsers/DayPeriodParser.cjs +1 -0
  289. package/dist/prometheus-framework/node_modules/date-fns/parse/_lib/parsers/DayPeriodParser.js +49 -0
  290. package/dist/prometheus-framework/node_modules/date-fns/parse/_lib/parsers/EraParser.cjs +1 -0
  291. package/dist/prometheus-framework/node_modules/date-fns/parse/_lib/parsers/EraParser.js +30 -0
  292. package/dist/prometheus-framework/node_modules/date-fns/parse/_lib/parsers/ExtendedYearParser.cjs +1 -0
  293. package/dist/prometheus-framework/node_modules/date-fns/parse/_lib/parsers/ExtendedYearParser.js +21 -0
  294. package/dist/prometheus-framework/node_modules/date-fns/parse/_lib/parsers/FractionOfSecondParser.cjs +1 -0
  295. package/dist/prometheus-framework/node_modules/date-fns/parse/_lib/parsers/FractionOfSecondParser.js +22 -0
  296. package/dist/prometheus-framework/node_modules/date-fns/parse/_lib/parsers/Hour0To11Parser.cjs +1 -0
  297. package/dist/prometheus-framework/node_modules/date-fns/parse/_lib/parsers/Hour0To11Parser.js +32 -0
  298. package/dist/prometheus-framework/node_modules/date-fns/parse/_lib/parsers/Hour0to23Parser.cjs +1 -0
  299. package/dist/prometheus-framework/node_modules/date-fns/parse/_lib/parsers/Hour0to23Parser.js +32 -0
  300. package/dist/prometheus-framework/node_modules/date-fns/parse/_lib/parsers/Hour1To24Parser.cjs +1 -0
  301. package/dist/prometheus-framework/node_modules/date-fns/parse/_lib/parsers/Hour1To24Parser.js +33 -0
  302. package/dist/prometheus-framework/node_modules/date-fns/parse/_lib/parsers/Hour1to12Parser.cjs +1 -0
  303. package/dist/prometheus-framework/node_modules/date-fns/parse/_lib/parsers/Hour1to12Parser.js +33 -0
  304. package/dist/prometheus-framework/node_modules/date-fns/parse/_lib/parsers/ISODayParser.cjs +1 -0
  305. package/dist/prometheus-framework/node_modules/date-fns/parse/_lib/parsers/ISODayParser.js +99 -0
  306. package/dist/prometheus-framework/node_modules/date-fns/parse/_lib/parsers/ISOTimezoneParser.cjs +1 -0
  307. package/dist/prometheus-framework/node_modules/date-fns/parse/_lib/parsers/ISOTimezoneParser.js +48 -0
  308. package/dist/prometheus-framework/node_modules/date-fns/parse/_lib/parsers/ISOTimezoneWithZParser.cjs +1 -0
  309. package/dist/prometheus-framework/node_modules/date-fns/parse/_lib/parsers/ISOTimezoneWithZParser.js +48 -0
  310. package/dist/prometheus-framework/node_modules/date-fns/parse/_lib/parsers/ISOWeekParser.cjs +1 -0
  311. package/dist/prometheus-framework/node_modules/date-fns/parse/_lib/parsers/ISOWeekParser.js +49 -0
  312. package/dist/prometheus-framework/node_modules/date-fns/parse/_lib/parsers/ISOWeekYearParser.cjs +1 -0
  313. package/dist/prometheus-framework/node_modules/date-fns/parse/_lib/parsers/ISOWeekYearParser.js +40 -0
  314. package/dist/prometheus-framework/node_modules/date-fns/parse/_lib/parsers/LocalDayParser.cjs +1 -0
  315. package/dist/prometheus-framework/node_modules/date-fns/parse/_lib/parsers/LocalDayParser.js +74 -0
  316. package/dist/prometheus-framework/node_modules/date-fns/parse/_lib/parsers/LocalWeekParser.cjs +1 -0
  317. package/dist/prometheus-framework/node_modules/date-fns/parse/_lib/parsers/LocalWeekParser.js +48 -0
  318. package/dist/prometheus-framework/node_modules/date-fns/parse/_lib/parsers/LocalWeekYearParser.cjs +1 -0
  319. package/dist/prometheus-framework/node_modules/date-fns/parse/_lib/parsers/LocalWeekYearParser.js +69 -0
  320. package/dist/prometheus-framework/node_modules/date-fns/parse/_lib/parsers/MinuteParser.cjs +1 -0
  321. package/dist/prometheus-framework/node_modules/date-fns/parse/_lib/parsers/MinuteParser.js +32 -0
  322. package/dist/prometheus-framework/node_modules/date-fns/parse/_lib/parsers/MonthParser.cjs +1 -0
  323. package/dist/prometheus-framework/node_modules/date-fns/parse/_lib/parsers/MonthParser.js +71 -0
  324. package/dist/prometheus-framework/node_modules/date-fns/parse/_lib/parsers/QuarterParser.cjs +1 -0
  325. package/dist/prometheus-framework/node_modules/date-fns/parse/_lib/parsers/QuarterParser.js +70 -0
  326. package/dist/prometheus-framework/node_modules/date-fns/parse/_lib/parsers/SecondParser.cjs +1 -0
  327. package/dist/prometheus-framework/node_modules/date-fns/parse/_lib/parsers/SecondParser.js +32 -0
  328. package/dist/prometheus-framework/node_modules/date-fns/parse/_lib/parsers/StandAloneLocalDayParser.cjs +1 -0
  329. package/dist/prometheus-framework/node_modules/date-fns/parse/_lib/parsers/StandAloneLocalDayParser.js +74 -0
  330. package/dist/prometheus-framework/node_modules/date-fns/parse/_lib/parsers/StandAloneMonthParser.cjs +1 -0
  331. package/dist/prometheus-framework/node_modules/date-fns/parse/_lib/parsers/StandAloneMonthParser.js +71 -0
  332. package/dist/prometheus-framework/node_modules/date-fns/parse/_lib/parsers/StandAloneQuarterParser.cjs +1 -0
  333. package/dist/prometheus-framework/node_modules/date-fns/parse/_lib/parsers/StandAloneQuarterParser.js +70 -0
  334. package/dist/prometheus-framework/node_modules/date-fns/parse/_lib/parsers/TimestampMillisecondsParser.cjs +1 -0
  335. package/dist/prometheus-framework/node_modules/date-fns/parse/_lib/parsers/TimestampMillisecondsParser.js +22 -0
  336. package/dist/prometheus-framework/node_modules/date-fns/parse/_lib/parsers/TimestampSecondsParser.cjs +1 -0
  337. package/dist/prometheus-framework/node_modules/date-fns/parse/_lib/parsers/TimestampSecondsParser.js +22 -0
  338. package/dist/prometheus-framework/node_modules/date-fns/parse/_lib/parsers/YearParser.cjs +1 -0
  339. package/dist/prometheus-framework/node_modules/date-fns/parse/_lib/parsers/YearParser.js +49 -0
  340. package/dist/prometheus-framework/node_modules/date-fns/parse/_lib/parsers.cjs +1 -0
  341. package/dist/prometheus-framework/node_modules/date-fns/parse/_lib/parsers.js +67 -0
  342. package/dist/prometheus-framework/node_modules/date-fns/parse/_lib/utils.cjs +1 -0
  343. package/dist/prometheus-framework/node_modules/date-fns/parse/_lib/utils.js +103 -0
  344. package/dist/prometheus-framework/node_modules/date-fns/parse.cjs +1 -0
  345. package/dist/prometheus-framework/node_modules/date-fns/parse.js +90 -0
  346. package/dist/prometheus-framework/node_modules/date-fns/set.cjs +1 -0
  347. package/dist/prometheus-framework/node_modules/date-fns/set.js +11 -0
  348. package/dist/prometheus-framework/node_modules/date-fns/setDay.cjs +1 -0
  349. package/dist/prometheus-framework/node_modules/date-fns/setDay.js +12 -0
  350. package/dist/prometheus-framework/node_modules/date-fns/setHours.cjs +1 -0
  351. package/dist/prometheus-framework/node_modules/date-fns/setHours.js +9 -0
  352. package/dist/prometheus-framework/node_modules/date-fns/setISODay.cjs +1 -0
  353. package/dist/prometheus-framework/node_modules/date-fns/setISODay.js +11 -0
  354. package/dist/prometheus-framework/node_modules/date-fns/setISOWeek.cjs +1 -0
  355. package/dist/prometheus-framework/node_modules/date-fns/setISOWeek.js +10 -0
  356. package/dist/prometheus-framework/node_modules/date-fns/setMilliseconds.cjs +1 -0
  357. package/dist/prometheus-framework/node_modules/date-fns/setMilliseconds.js +9 -0
  358. package/dist/prometheus-framework/node_modules/date-fns/setMinutes.cjs +1 -0
  359. package/dist/prometheus-framework/node_modules/date-fns/setMinutes.js +9 -0
  360. package/dist/prometheus-framework/node_modules/date-fns/setMonth.cjs +1 -0
  361. package/dist/prometheus-framework/node_modules/date-fns/setMonth.js +13 -0
  362. package/dist/prometheus-framework/node_modules/date-fns/setSeconds.cjs +1 -0
  363. package/dist/prometheus-framework/node_modules/date-fns/setSeconds.js +9 -0
  364. package/dist/prometheus-framework/node_modules/date-fns/setWeek.cjs +1 -0
  365. package/dist/prometheus-framework/node_modules/date-fns/setWeek.js +10 -0
  366. package/dist/prometheus-framework/node_modules/date-fns/setYear.cjs +1 -0
  367. package/dist/prometheus-framework/node_modules/date-fns/setYear.js +10 -0
  368. package/dist/prometheus-framework/node_modules/date-fns/startOfDay.cjs +1 -0
  369. package/dist/prometheus-framework/node_modules/date-fns/startOfDay.js +9 -0
  370. package/dist/prometheus-framework/node_modules/date-fns/startOfISOWeek.cjs +1 -0
  371. package/dist/prometheus-framework/node_modules/date-fns/startOfISOWeek.js +8 -0
  372. package/dist/prometheus-framework/node_modules/date-fns/startOfISOWeekYear.cjs +1 -0
  373. package/dist/prometheus-framework/node_modules/date-fns/startOfISOWeekYear.js +11 -0
  374. package/dist/prometheus-framework/node_modules/date-fns/startOfQuarter.cjs +1 -0
  375. package/dist/prometheus-framework/node_modules/date-fns/startOfQuarter.js +9 -0
  376. package/dist/prometheus-framework/node_modules/date-fns/startOfWeek.cjs +1 -0
  377. package/dist/prometheus-framework/node_modules/date-fns/startOfWeek.js +11 -0
  378. package/dist/prometheus-framework/node_modules/date-fns/startOfWeekYear.cjs +1 -0
  379. package/dist/prometheus-framework/node_modules/date-fns/startOfWeekYear.js +13 -0
  380. package/dist/prometheus-framework/node_modules/date-fns/startOfYear.cjs +1 -0
  381. package/dist/prometheus-framework/node_modules/date-fns/startOfYear.js +10 -0
  382. package/dist/prometheus-framework/node_modules/date-fns/sub.cjs +1 -0
  383. package/dist/prometheus-framework/node_modules/date-fns/sub.js +19 -0
  384. package/dist/prometheus-framework/node_modules/date-fns/subDays.cjs +1 -0
  385. package/dist/prometheus-framework/node_modules/date-fns/subDays.js +8 -0
  386. package/dist/prometheus-framework/node_modules/date-fns/subMonths.cjs +1 -0
  387. package/dist/prometheus-framework/node_modules/date-fns/subMonths.js +8 -0
  388. package/dist/prometheus-framework/node_modules/date-fns/subYears.cjs +1 -0
  389. package/dist/prometheus-framework/node_modules/date-fns/subYears.js +8 -0
  390. package/dist/prometheus-framework/node_modules/date-fns/toDate.cjs +1 -0
  391. package/dist/prometheus-framework/node_modules/date-fns/toDate.js +8 -0
  392. package/dist/prometheus-framework/node_modules/date-fns/transpose.cjs +1 -0
  393. package/dist/prometheus-framework/node_modules/date-fns/transpose.js +18 -0
  394. package/dist/prometheus-framework/node_modules/libphonenumber-js/metadata.min.json.cjs +1 -1
  395. package/dist/prometheus-framework/node_modules/libphonenumber-js/metadata.min.json.js +1 -1
  396. package/dist/prometheus-framework/src/components/Address/Address.vue.cjs +1 -1
  397. package/dist/prometheus-framework/src/components/Address/Address.vue.js +1 -4
  398. package/dist/prometheus-framework/src/components/Breadcrumbs/Breadcrumbs.vue.cjs +1 -1
  399. package/dist/prometheus-framework/src/components/Breadcrumbs/Breadcrumbs.vue.js +1 -4
  400. package/dist/prometheus-framework/src/components/Button/Button.vue.cjs +1 -1
  401. package/dist/prometheus-framework/src/components/Button/Button.vue.js +223 -2
  402. package/dist/prometheus-framework/src/components/Button/Button.vue2.cjs +1 -1
  403. package/dist/prometheus-framework/src/components/Button/Button.vue2.js +1 -225
  404. package/dist/prometheus-framework/src/components/Checkbox/Checkbox.vue2.cjs +1 -1
  405. package/dist/prometheus-framework/src/components/Checkbox/Checkbox.vue2.js +1 -4
  406. package/dist/prometheus-framework/src/components/Chips/Chips.vue2.cjs +1 -1
  407. package/dist/prometheus-framework/src/components/Chips/Chips.vue2.js +1 -4
  408. package/dist/prometheus-framework/src/components/Dropdown/Dropdown.vue2.cjs +1 -1
  409. package/dist/prometheus-framework/src/components/Dropdown/Dropdown.vue2.js +1 -4
  410. package/dist/prometheus-framework/src/components/EditImages/EditImages.vue2.cjs +1 -1
  411. package/dist/prometheus-framework/src/components/EditImages/EditImages.vue2.js +1 -4
  412. package/dist/prometheus-framework/src/components/Feed/Feed.vue.cjs +1 -1
  413. package/dist/prometheus-framework/src/components/Feed/Feed.vue.js +13 -13
  414. package/dist/prometheus-framework/src/components/Field/Field.vue.cjs +1 -1
  415. package/dist/prometheus-framework/src/components/Field/Field.vue.js +81 -2
  416. package/dist/prometheus-framework/src/components/Field/Field.vue2.cjs +1 -1
  417. package/dist/prometheus-framework/src/components/Field/Field.vue2.js +1 -83
  418. package/dist/prometheus-framework/src/components/FieldBig/FieldBig.vue.cjs +1 -1
  419. package/dist/prometheus-framework/src/components/FieldBig/FieldBig.vue.js +1 -1
  420. package/dist/prometheus-framework/src/components/FieldPhone/FieldPhone.vue2.cjs +1 -1
  421. package/dist/prometheus-framework/src/components/FieldPhone/FieldPhone.vue2.js +1 -4
  422. package/dist/prometheus-framework/src/components/FieldTags/BlockTags.vue2.cjs +1 -1
  423. package/dist/prometheus-framework/src/components/FieldTags/BlockTags.vue2.js +1 -4
  424. package/dist/prometheus-framework/src/components/FieldTags/tag-input.vue.cjs +1 -1
  425. package/dist/prometheus-framework/src/components/FieldTags/tag-input.vue.js +1 -4
  426. package/dist/prometheus-framework/src/components/FieldTags/vue-tags-input.scss.cjs +1 -1
  427. package/dist/prometheus-framework/src/components/FieldTags/vue-tags-input.scss.js +1 -4
  428. package/dist/prometheus-framework/src/components/Loader/Loader.vue.cjs +1 -1
  429. package/dist/prometheus-framework/src/components/Loader/Loader.vue.js +1 -4
  430. package/dist/prometheus-framework/src/components/LocationMarker/LocationMarker.vue.cjs +1 -1
  431. package/dist/prometheus-framework/src/components/LocationMarker/LocationMarker.vue.js +1 -4
  432. package/dist/prometheus-framework/src/components/Magnifier/Magnifier.vue2.cjs +1 -1
  433. package/dist/prometheus-framework/src/components/Magnifier/Magnifier.vue2.js +1 -4
  434. package/dist/prometheus-framework/src/components/Map/Map.vue2.cjs +1 -1
  435. package/dist/prometheus-framework/src/components/Map/Map.vue2.js +1 -4
  436. package/dist/prometheus-framework/src/components/Popup/Popup.vue.cjs +1 -1
  437. package/dist/prometheus-framework/src/components/Popup/Popup.vue.js +70 -2
  438. package/dist/prometheus-framework/src/components/Popup/Popup.vue2.cjs +1 -1
  439. package/dist/prometheus-framework/src/components/Popup/Popup.vue2.js +1 -72
  440. package/dist/prometheus-framework/src/components/Select/Select.vue.cjs +1 -1
  441. package/dist/prometheus-framework/src/components/Select/Select.vue.js +95 -2
  442. package/dist/prometheus-framework/src/components/Select/Select.vue2.cjs +1 -1
  443. package/dist/prometheus-framework/src/components/Select/Select.vue2.js +1 -97
  444. package/dist/prometheus-framework/src/components/SelectMulti/SelectMulti.vue2.cjs +1 -1
  445. package/dist/prometheus-framework/src/components/SelectMulti/SelectMulti.vue2.js +1 -4
  446. package/dist/prometheus-framework/src/components/Spoiler/Spoiler.vue.cjs +1 -1
  447. package/dist/prometheus-framework/src/components/Spoiler/Spoiler.vue.js +1 -4
  448. package/dist/prometheus-framework/src/components/Tab/Tab.vue.cjs +1 -1
  449. package/dist/prometheus-framework/src/components/Tab/Tab.vue.js +1 -4
  450. package/dist/prometheus-framework/src/components/Tooltip/Tooltip.vue2.cjs +1 -1
  451. package/dist/prometheus-framework/src/components/Tooltip/Tooltip.vue2.js +1 -4
  452. package/dist/prometheus-framework/src/components/Upload/Upload.vue2.cjs +1 -1
  453. package/dist/prometheus-framework/src/components/Upload/Upload.vue2.js +1 -4
  454. package/dist/prometheus-framework/src/modules/auth/components/layouts/Auth.vue.cjs +1 -1
  455. package/dist/prometheus-framework/src/modules/auth/components/layouts/Auth.vue.js +8 -10
  456. package/dist/prometheus-framework/src/modules/auth/components/pages/EnterCode.vue.cjs +1 -1
  457. package/dist/prometheus-framework/src/modules/auth/components/pages/EnterCode.vue.js +1 -1
  458. package/dist/prometheus-framework/src/modules/auth/components/pages/EnterPassword.vue.cjs +1 -1
  459. package/dist/prometheus-framework/src/modules/auth/components/pages/EnterPassword.vue.js +2 -2
  460. package/dist/prometheus-framework/src/modules/auth/components/pages/EnterPassword.vue2.cjs +1 -1
  461. package/dist/prometheus-framework/src/modules/auth/components/pages/EnterPassword.vue2.js +1 -4
  462. package/dist/prometheus-framework/src/modules/auth/components/pages/Invite.vue.cjs +1 -1
  463. package/dist/prometheus-framework/src/modules/auth/components/pages/Invite.vue.js +2 -2
  464. package/dist/prometheus-framework/src/modules/auth/components/pages/Invite.vue2.cjs +1 -1
  465. package/dist/prometheus-framework/src/modules/auth/components/pages/Invite.vue2.js +1 -4
  466. package/dist/prometheus-framework/src/modules/auth/components/pages/ResetPassword.vue.cjs +1 -1
  467. package/dist/prometheus-framework/src/modules/auth/components/pages/ResetPassword.vue.js +2 -2
  468. package/dist/prometheus-framework/src/modules/auth/components/pages/ResetPassword.vue2.cjs +1 -1
  469. package/dist/prometheus-framework/src/modules/auth/components/pages/ResetPassword.vue2.js +1 -4
  470. package/dist/prometheus-framework/src/modules/auth/components/pages/SignIn.vue.cjs +1 -1
  471. package/dist/prometheus-framework/src/modules/auth/components/pages/SignIn.vue.js +2 -2
  472. package/dist/prometheus-framework/src/modules/auth/components/pages/SignIn.vue2.cjs +1 -1
  473. package/dist/prometheus-framework/src/modules/auth/components/pages/SignIn.vue2.js +1 -4
  474. package/dist/prometheus-framework/src/modules/auth/components/pages/SignUp.vue.cjs +1 -1
  475. package/dist/prometheus-framework/src/modules/auth/components/pages/SignUp.vue.js +2 -2
  476. package/dist/prometheus-framework/src/modules/auth/components/pages/SignUp.vue2.cjs +1 -1
  477. package/dist/prometheus-framework/src/modules/auth/components/pages/SignUp.vue2.js +1 -4
  478. package/dist/prometheus-framework/src/modules/auth/components/sections/SliderFeatures.vue.cjs +1 -1
  479. package/dist/prometheus-framework/src/modules/auth/components/sections/SliderFeatures.vue.js +40 -43
  480. package/dist/prometheus-framework/src/modules/auth/components/sections/SliderFeatures.vue2.cjs +1 -1
  481. package/dist/prometheus-framework/src/modules/auth/components/sections/SliderFeatures.vue2.js +1 -4
  482. package/dist/prometheus-framework/src/modules/backoffice/components/layouts/Backoffice.vue.cjs +1 -1
  483. package/dist/prometheus-framework/src/modules/backoffice/components/layouts/Backoffice.vue.js +1 -4
  484. package/dist/prometheus-framework/src/modules/backoffice/components/pages/Dashboard.vue.cjs +1 -1
  485. package/dist/prometheus-framework/src/modules/backoffice/components/pages/Dashboard.vue.js +34 -34
  486. package/dist/prometheus-framework/src/modules/backoffice/router/backoffice.cjs +1 -1
  487. package/dist/prometheus-framework/src/modules/backoffice/router/backoffice.js +30 -92
  488. package/dist/prometheus-framework/src/modules/community/components/layouts/Community.vue.cjs +1 -1
  489. package/dist/prometheus-framework/src/modules/community/components/layouts/Community.vue.js +1 -1
  490. package/dist/prometheus-framework/src/modules/community/components/pages/Community.vue.cjs +1 -1
  491. package/dist/prometheus-framework/src/modules/community/components/pages/Community.vue.js +29 -26
  492. package/dist/prometheus-framework/src/modules/community/components/pages/Community.vue2.cjs +1 -1
  493. package/dist/prometheus-framework/src/modules/community/components/pages/Community.vue2.js +1 -4
  494. package/dist/prometheus-framework/src/modules/community/components/pages/CreateBlogPost.vue.cjs +1 -1
  495. package/dist/prometheus-framework/src/modules/community/components/pages/CreateBlogPost.vue.js +4 -4
  496. package/dist/prometheus-framework/src/modules/community/components/sections/HotPosts.vue.cjs +1 -1
  497. package/dist/prometheus-framework/src/modules/community/components/sections/HotPosts.vue.js +1 -1
  498. package/dist/prometheus-framework/src/modules/community/components/sections/HotPosts.vue2.cjs +1 -1
  499. package/dist/prometheus-framework/src/modules/community/components/sections/HotPosts.vue2.js +1 -4
  500. package/dist/prometheus-framework/src/modules/community/components/sections/JoinUs.vue2.cjs +1 -1
  501. package/dist/prometheus-framework/src/modules/community/components/sections/JoinUs.vue2.js +1 -4
  502. package/dist/prometheus-framework/src/modules/constructor/components/elements/Embed.vue.cjs +1 -1
  503. package/dist/prometheus-framework/src/modules/constructor/components/elements/Embed.vue.js +1 -1
  504. package/dist/prometheus-framework/src/modules/constructor/components/elements/H2.vue2.cjs +1 -1
  505. package/dist/prometheus-framework/src/modules/constructor/components/elements/H2.vue2.js +1 -4
  506. package/dist/prometheus-framework/src/modules/constructor/components/elements/Textarea.vue.cjs +5 -1
  507. package/dist/prometheus-framework/src/modules/constructor/components/elements/Textarea.vue.js +65 -2
  508. package/dist/prometheus-framework/src/modules/constructor/components/elements/Textarea.vue2.cjs +1 -5
  509. package/dist/prometheus-framework/src/modules/constructor/components/elements/Textarea.vue2.js +0 -66
  510. package/dist/prometheus-framework/src/modules/constructor/components/sections/Constructor.vue.cjs +1 -1
  511. package/dist/prometheus-framework/src/modules/constructor/components/sections/Constructor.vue.js +1 -1
  512. package/dist/prometheus-framework/src/modules/events/components/elements/ButtonJoin.vue.cjs +1 -1
  513. package/dist/prometheus-framework/src/modules/events/components/elements/ButtonJoin.vue.js +1 -1
  514. package/dist/prometheus-framework/src/modules/events/components/elements/ButtonJoin.vue2.cjs +1 -1
  515. package/dist/prometheus-framework/src/modules/events/components/elements/ButtonJoin.vue2.js +1 -4
  516. package/dist/prometheus-framework/src/modules/events/components/layouts/layoutEvents.vue.cjs +1 -1
  517. package/dist/prometheus-framework/src/modules/events/components/layouts/layoutEvents.vue.js +1 -1
  518. package/dist/prometheus-framework/src/modules/events/components/pages/EditEvent.vue.cjs +1 -1
  519. package/dist/prometheus-framework/src/modules/events/components/pages/EditEvent.vue.js +14 -14
  520. package/dist/prometheus-framework/src/modules/events/components/pages/EditEvent.vue2.cjs +1 -1
  521. package/dist/prometheus-framework/src/modules/events/components/pages/EditEvent.vue2.js +1 -4
  522. package/dist/prometheus-framework/src/modules/events/components/pages/Events.vue.cjs +1 -1
  523. package/dist/prometheus-framework/src/modules/events/components/pages/Events.vue.js +3 -3
  524. package/dist/prometheus-framework/src/modules/events/components/sections/HeroEvent.vue2.cjs +1 -1
  525. package/dist/prometheus-framework/src/modules/events/components/sections/HeroEvent.vue2.js +1 -4
  526. package/dist/prometheus-framework/src/modules/events/components/sections/List.vue2.cjs +1 -1
  527. package/dist/prometheus-framework/src/modules/events/components/sections/List.vue2.js +1 -4
  528. package/dist/prometheus-framework/src/modules/events/components/sections/SectionMainGuest.vue.cjs +2 -2
  529. package/dist/prometheus-framework/src/modules/events/components/sections/SectionMainGuest.vue.js +30 -50
  530. package/dist/prometheus-framework/src/modules/events/components/sections/SectionMainGuest.vue2.cjs +1 -1
  531. package/dist/prometheus-framework/src/modules/events/components/sections/SectionMainGuest.vue2.js +1 -4
  532. package/dist/prometheus-framework/src/modules/events/components/sections/SectionSpecialGuests.vue.cjs +1 -1
  533. package/dist/prometheus-framework/src/modules/events/components/sections/SectionSpecialGuests.vue.js +28 -48
  534. package/dist/prometheus-framework/src/modules/gallery/components/sections/BackofficeGallery.vue.cjs +1 -1
  535. package/dist/prometheus-framework/src/modules/gallery/components/sections/BackofficeGallery.vue.js +3 -3
  536. package/dist/prometheus-framework/src/modules/gallery/components/sections/BackofficeGallery.vue2.cjs +1 -1
  537. package/dist/prometheus-framework/src/modules/gallery/components/sections/BackofficeGallery.vue2.js +1 -4
  538. package/dist/prometheus-framework/src/modules/gallery/components/sections/GalleryWithCategories.vue.cjs +1 -1
  539. package/dist/prometheus-framework/src/modules/gallery/components/sections/GalleryWithCategories.vue.js +3 -3
  540. package/dist/prometheus-framework/src/modules/gallery/components/sections/GalleryWithCategories.vue2.cjs +1 -1
  541. package/dist/prometheus-framework/src/modules/gallery/components/sections/GalleryWithCategories.vue2.js +1 -4
  542. package/dist/prometheus-framework/src/modules/globals/components/blocks/BlockSearch.vue.cjs +1 -1
  543. package/dist/prometheus-framework/src/modules/globals/components/blocks/BlockSearch.vue.js +1 -1
  544. package/dist/prometheus-framework/src/modules/globals/components/blocks/CardHeader.vue.cjs +1 -1
  545. package/dist/prometheus-framework/src/modules/globals/components/blocks/CardHeader.vue.js +1 -1
  546. package/dist/prometheus-framework/src/modules/landing/components/sections/MobileApp.vue2.cjs +1 -1
  547. package/dist/prometheus-framework/src/modules/landing/components/sections/MobileApp.vue2.js +1 -4
  548. package/dist/prometheus-framework/src/modules/legal/components/pages/Legal.vue.cjs +1 -1
  549. package/dist/prometheus-framework/src/modules/legal/components/pages/Legal.vue.js +3 -3
  550. package/dist/prometheus-framework/src/modules/legal/components/pages/Legal.vue2.cjs +1 -1
  551. package/dist/prometheus-framework/src/modules/legal/components/pages/Legal.vue2.js +1 -4
  552. package/dist/prometheus-framework/src/modules/mobile/components/Menu/Menu.vue.cjs +1 -1
  553. package/dist/prometheus-framework/src/modules/mobile/components/Menu/Menu.vue.js +11 -2
  554. package/dist/prometheus-framework/src/modules/mobile/components/Menu/Menu.vue2.cjs +1 -1
  555. package/dist/prometheus-framework/src/modules/mobile/components/Menu/Menu.vue2.js +1 -13
  556. package/dist/prometheus-framework/src/modules/orders/components/blocks/CardOrder.vue.cjs +1 -1
  557. package/dist/prometheus-framework/src/modules/orders/components/blocks/CardOrder.vue.js +1 -4
  558. package/dist/prometheus-framework/src/modules/orders/components/pages/EditOrder.vue.cjs +1 -1
  559. package/dist/prometheus-framework/src/modules/orders/components/pages/EditOrder.vue.js +3 -3
  560. package/dist/prometheus-framework/src/modules/orders/components/pages/EditOrder.vue2.cjs +1 -1
  561. package/dist/prometheus-framework/src/modules/orders/components/pages/EditOrder.vue2.js +1 -4
  562. package/dist/prometheus-framework/src/modules/orders/components/pages/Orders.vue.cjs +1 -1
  563. package/dist/prometheus-framework/src/modules/orders/components/pages/Orders.vue.js +9 -9
  564. package/dist/prometheus-framework/src/modules/orders/store/orders.cjs +1 -1
  565. package/dist/prometheus-framework/src/modules/orders/store/orders.js +26 -30
  566. package/dist/prometheus-framework/src/modules/organizations/components/blocks/CardDepartment.vue2.cjs +1 -1
  567. package/dist/prometheus-framework/src/modules/organizations/components/blocks/CardDepartment.vue2.js +1 -4
  568. package/dist/prometheus-framework/src/modules/organizations/components/blocks/CardOrganization.vue.cjs +1 -1
  569. package/dist/prometheus-framework/src/modules/organizations/components/blocks/CardOrganization.vue.js +1 -1
  570. package/dist/prometheus-framework/src/modules/organizations/components/blocks/DepartmentMemberModify.vue.cjs +1 -1
  571. package/dist/prometheus-framework/src/modules/organizations/components/blocks/DepartmentMemberModify.vue.js +2 -2
  572. package/dist/prometheus-framework/src/modules/organizations/components/blocks/DepartmentMemberModify.vue2.cjs +1 -1
  573. package/dist/prometheus-framework/src/modules/organizations/components/blocks/DepartmentMemberModify.vue2.js +1 -4
  574. package/dist/prometheus-framework/src/modules/organizations/components/blocks/DepartmentSub.vue2.cjs +1 -1
  575. package/dist/prometheus-framework/src/modules/organizations/components/blocks/DepartmentSub.vue2.js +1 -4
  576. package/dist/prometheus-framework/src/modules/organizations/components/blocks/EditArray.vue.cjs +1 -1
  577. package/dist/prometheus-framework/src/modules/organizations/components/blocks/EditArray.vue.js +11 -12
  578. package/dist/prometheus-framework/src/modules/organizations/components/blocks/EditArray.vue2.cjs +1 -1
  579. package/dist/prometheus-framework/src/modules/organizations/components/blocks/EditArray.vue2.js +1 -4
  580. package/dist/prometheus-framework/src/modules/organizations/components/blocks/User.vue2.cjs +1 -1
  581. package/dist/prometheus-framework/src/modules/organizations/components/blocks/User.vue2.js +1 -4
  582. package/dist/prometheus-framework/src/modules/organizations/components/elements/ButtonToggleMembership.vue.cjs +1 -1
  583. package/dist/prometheus-framework/src/modules/organizations/components/elements/ButtonToggleMembership.vue.js +1 -1
  584. package/dist/prometheus-framework/src/modules/organizations/components/pages/DepartmentEdit.vue.cjs +1 -1
  585. package/dist/prometheus-framework/src/modules/organizations/components/pages/DepartmentEdit.vue.js +113 -116
  586. package/dist/prometheus-framework/src/modules/organizations/components/pages/Members.vue.cjs +1 -1
  587. package/dist/prometheus-framework/src/modules/organizations/components/pages/Members.vue.js +2 -2
  588. package/dist/prometheus-framework/src/modules/organizations/components/pages/Organization.vue.cjs +1 -1
  589. package/dist/prometheus-framework/src/modules/organizations/components/pages/Organization.vue.js +1 -1
  590. package/dist/prometheus-framework/src/modules/organizations/components/pages/Organization.vue2.cjs +1 -1
  591. package/dist/prometheus-framework/src/modules/organizations/components/pages/Organization.vue2.js +1 -4
  592. package/dist/prometheus-framework/src/modules/organizations/components/pages/OrganizationEdit.vue.cjs +1 -1
  593. package/dist/prometheus-framework/src/modules/organizations/components/pages/OrganizationEdit.vue.js +4 -4
  594. package/dist/prometheus-framework/src/modules/organizations/components/sections/Documents.vue.cjs +1 -1
  595. package/dist/prometheus-framework/src/modules/organizations/components/sections/Documents.vue.js +3 -3
  596. package/dist/prometheus-framework/src/modules/organizations/components/sections/Documents.vue2.cjs +1 -1
  597. package/dist/prometheus-framework/src/modules/organizations/components/sections/Documents.vue2.js +1 -4
  598. package/dist/prometheus-framework/src/modules/organizations/components/sections/MembersAdd.vue.cjs +1 -1
  599. package/dist/prometheus-framework/src/modules/organizations/components/sections/MembersAdd.vue.js +3 -3
  600. package/dist/prometheus-framework/src/modules/organizations/components/sections/Organizations.vue.cjs +1 -1
  601. package/dist/prometheus-framework/src/modules/organizations/components/sections/Organizations.vue.js +4 -4
  602. package/dist/prometheus-framework/src/modules/organizations/components/sections/Organizations.vue2.cjs +1 -1
  603. package/dist/prometheus-framework/src/modules/organizations/components/sections/Organizations.vue2.js +1 -4
  604. package/dist/prometheus-framework/src/modules/organizations/components/sections/Publics.vue2.cjs +1 -1
  605. package/dist/prometheus-framework/src/modules/organizations/components/sections/Publics.vue2.js +1 -4
  606. package/dist/prometheus-framework/src/modules/organizations/components/sections/Unit.vue.cjs +1 -1
  607. package/dist/prometheus-framework/src/modules/organizations/components/sections/Unit.vue.js +1 -4
  608. package/dist/prometheus-framework/src/modules/organizations/router/departments.router.cjs +1 -1
  609. package/dist/prometheus-framework/src/modules/organizations/router/departments.router.js +3 -3
  610. package/dist/prometheus-framework/src/modules/organizations/router/members.router.cjs +1 -1
  611. package/dist/prometheus-framework/src/modules/organizations/router/members.router.js +3 -3
  612. package/dist/prometheus-framework/src/modules/organizations/router/organizations.cjs +1 -1
  613. package/dist/prometheus-framework/src/modules/organizations/router/organizations.js +63 -18
  614. package/dist/prometheus-framework/src/modules/payments/components/pages/Payments.vue2.cjs +1 -1
  615. package/dist/prometheus-framework/src/modules/payments/components/pages/Payments.vue2.js +1 -4
  616. package/dist/prometheus-framework/src/modules/products/components/blocks/CardCategory.vue2.cjs +1 -1
  617. package/dist/prometheus-framework/src/modules/products/components/blocks/CardCategory.vue2.js +1 -4
  618. package/dist/prometheus-framework/src/modules/products/components/blocks/CardLeftover.vue2.cjs +1 -1
  619. package/dist/prometheus-framework/src/modules/products/components/blocks/CardLeftover.vue2.js +1 -4
  620. package/dist/prometheus-framework/src/modules/products/components/blocks/CardPosition.vue.cjs +1 -1
  621. package/dist/prometheus-framework/src/modules/products/components/blocks/CardPosition.vue.js +2 -2
  622. package/dist/prometheus-framework/src/modules/products/components/blocks/Images360.vue2.cjs +1 -1
  623. package/dist/prometheus-framework/src/modules/products/components/blocks/Images360.vue2.js +1 -4
  624. package/dist/prometheus-framework/src/modules/products/components/blocks/ImagesThumbnails.vue.cjs +1 -1
  625. package/dist/prometheus-framework/src/modules/products/components/blocks/ImagesThumbnails.vue.js +1 -1
  626. package/dist/prometheus-framework/src/modules/products/components/blocks/ImagesThumbnails.vue2.cjs +1 -1
  627. package/dist/prometheus-framework/src/modules/products/components/blocks/ImagesThumbnails.vue2.js +1 -4
  628. package/dist/prometheus-framework/src/modules/products/components/blocks/LeftoverPositions.vue.cjs +1 -1
  629. package/dist/prometheus-framework/src/modules/products/components/blocks/LeftoverPositions.vue.js +1 -1
  630. package/dist/prometheus-framework/src/modules/products/components/blocks/LeftoverPositions.vue2.cjs +1 -1
  631. package/dist/prometheus-framework/src/modules/products/components/blocks/LeftoverPositions.vue2.js +1 -4
  632. package/dist/prometheus-framework/src/modules/products/components/blocks/ListPositions.vue.cjs +1 -1
  633. package/dist/prometheus-framework/src/modules/products/components/blocks/ListPositions.vue.js +1 -1
  634. package/dist/prometheus-framework/src/modules/products/components/blocks/ListPositions.vue2.cjs +1 -1
  635. package/dist/prometheus-framework/src/modules/products/components/blocks/ListPositions.vue2.js +1 -4
  636. package/dist/prometheus-framework/src/modules/products/components/elements/Price.vue2.cjs +1 -1
  637. package/dist/prometheus-framework/src/modules/products/components/elements/Price.vue2.js +1 -4
  638. package/dist/prometheus-framework/src/modules/products/components/elements/THC.vue2.cjs +1 -1
  639. package/dist/prometheus-framework/src/modules/products/components/elements/THC.vue2.js +1 -4
  640. package/dist/prometheus-framework/src/modules/products/components/pages/Categories.vue.cjs +1 -1
  641. package/dist/prometheus-framework/src/modules/products/components/pages/Categories.vue.js +1 -1
  642. package/dist/prometheus-framework/src/modules/products/components/pages/CategoryEdit.vue.cjs +1 -1
  643. package/dist/prometheus-framework/src/modules/products/components/pages/CategoryEdit.vue.js +3 -3
  644. package/dist/prometheus-framework/src/modules/products/components/pages/CategoryEdit.vue2.cjs +1 -1
  645. package/dist/prometheus-framework/src/modules/products/components/pages/CategoryEdit.vue2.js +1 -4
  646. package/dist/prometheus-framework/src/modules/products/components/pages/EditLeftover.vue.cjs +1 -1
  647. package/dist/prometheus-framework/src/modules/products/components/pages/EditLeftover.vue.js +2 -2
  648. package/dist/prometheus-framework/src/modules/products/components/pages/EditLeftover.vue2.cjs +1 -1
  649. package/dist/prometheus-framework/src/modules/products/components/pages/EditLeftover.vue2.js +1 -4
  650. package/dist/prometheus-framework/src/modules/products/components/pages/Leftovers.vue2.cjs +1 -1
  651. package/dist/prometheus-framework/src/modules/products/components/pages/Leftovers.vue2.js +1 -4
  652. package/dist/prometheus-framework/src/modules/products/components/pages/Product.vue2.cjs +1 -1
  653. package/dist/prometheus-framework/src/modules/products/components/pages/Product.vue2.js +1 -4
  654. package/dist/prometheus-framework/src/modules/products/components/pages/ProductEdit.vue.cjs +1 -1
  655. package/dist/prometheus-framework/src/modules/products/components/pages/ProductEdit.vue.js +3 -3
  656. package/dist/prometheus-framework/src/modules/products/components/pages/ProductEdit.vue2.cjs +1 -1
  657. package/dist/prometheus-framework/src/modules/products/components/pages/ProductEdit.vue2.js +1 -4
  658. package/dist/prometheus-framework/src/modules/products/components/pages/ProductRecommmendation.vue2.cjs +1 -1
  659. package/dist/prometheus-framework/src/modules/products/components/pages/ProductRecommmendation.vue2.js +1 -4
  660. package/dist/prometheus-framework/src/modules/products/components/pages/Products.vue.cjs +1 -1
  661. package/dist/prometheus-framework/src/modules/products/components/pages/Products.vue.js +94 -63
  662. package/dist/prometheus-framework/src/modules/products/components/sections/EditModifications.vue.cjs +1 -1
  663. package/dist/prometheus-framework/src/modules/products/components/sections/EditModifications.vue.js +1 -1
  664. package/dist/prometheus-framework/src/modules/products/components/sections/EditProductInfo.vue.cjs +1 -1
  665. package/dist/prometheus-framework/src/modules/products/components/sections/EditProductInfo.vue.js +3 -3
  666. package/dist/prometheus-framework/src/modules/products/components/sections/FilterProducts.vue2.cjs +1 -1
  667. package/dist/prometheus-framework/src/modules/products/components/sections/FilterProducts.vue2.js +1 -4
  668. package/dist/prometheus-framework/src/modules/products/components/sections/HeroRecommendation.vue2.cjs +1 -1
  669. package/dist/prometheus-framework/src/modules/products/components/sections/HeroRecommendation.vue2.js +1 -4
  670. package/dist/prometheus-framework/src/modules/products/components/sections/PopularProducts.vue2.cjs +1 -1
  671. package/dist/prometheus-framework/src/modules/products/components/sections/PopularProducts.vue2.js +1 -4
  672. package/dist/prometheus-framework/src/modules/products/components/sections/SectionProduct.vue.cjs +1 -1
  673. package/dist/prometheus-framework/src/modules/products/components/sections/SectionProduct.vue.js +1 -1
  674. package/dist/prometheus-framework/src/modules/products/products.client.cjs +1 -1
  675. package/dist/prometheus-framework/src/modules/products/products.client.js +20 -22
  676. package/dist/prometheus-framework/src/modules/products/router/categories.router.cjs +1 -0
  677. package/dist/prometheus-framework/src/modules/products/router/categories.router.js +24 -0
  678. package/dist/prometheus-framework/src/modules/products/router/leftovers.router.cjs +1 -0
  679. package/dist/prometheus-framework/src/modules/products/router/leftovers.router.js +47 -0
  680. package/dist/prometheus-framework/src/modules/products/router/products.router.cjs +1 -0
  681. package/dist/prometheus-framework/src/modules/products/router/products.router.js +38 -0
  682. package/dist/prometheus-framework/src/modules/reports/components/sections/FormReport.vue.cjs +1 -1
  683. package/dist/prometheus-framework/src/modules/reports/components/sections/FormReport.vue.js +3 -3
  684. package/dist/prometheus-framework/src/modules/spots/components/blocks/CardSpot.vue2.cjs +1 -1
  685. package/dist/prometheus-framework/src/modules/spots/components/blocks/CardSpot.vue2.js +1 -4
  686. package/dist/prometheus-framework/src/modules/users/components/pages/Profile.vue.cjs +1 -1
  687. package/dist/prometheus-framework/src/modules/users/components/pages/Profile.vue.js +3 -3
  688. package/dist/prometheus-framework/src/modules/users/components/pages/Profile.vue2.cjs +1 -1
  689. package/dist/prometheus-framework/src/modules/users/components/pages/Profile.vue2.js +1 -4
  690. package/dist/prometheus-framework/src/modules/users/components/pages/ProfileEdit.vue.cjs +1 -1
  691. package/dist/prometheus-framework/src/modules/users/components/pages/ProfileEdit.vue.js +2 -2
  692. package/dist/prometheus-framework/src/modules/users/components/pages/ProfileEdit.vue2.cjs +1 -1
  693. package/dist/prometheus-framework/src/modules/users/components/pages/ProfileEdit.vue2.js +1 -4
  694. package/dist/prometheus-framework/src/modules/wallet/components/pages/Wallet.vue.cjs +1 -1
  695. package/dist/prometheus-framework/src/modules/wallet/components/pages/Wallet.vue.js +23 -22
  696. package/dist/prometheus-framework.cjs.js +1 -1
  697. package/dist/prometheus-framework.es.js +35 -36
  698. package/dist/reports.server.js +2 -4
  699. package/dist/reports.server.mjs +2 -4
  700. package/dist/style.css +1 -1
  701. package/dist/users.server.js +2 -3
  702. package/dist/users.server.mjs +2 -3
  703. package/dist/web-YZLDTHc-.mjs +54 -0
  704. package/dist/web-zz-VV8RJ.js +1 -0
  705. package/package.json +30 -30
  706. package/src/components/Feed/Feed.vue +2 -1
  707. package/src/components/Radio/Radio.vue +0 -2
  708. package/src/modules/auth/components/sections/SliderFeatures.vue +37 -18
  709. package/src/modules/auth/controllers/auth.controller.js +0 -1
  710. package/src/modules/backoffice/components/pages/Dashboard.vue +3 -3
  711. package/src/modules/backoffice/router/account.js +0 -33
  712. package/src/modules/backoffice/router/backoffice.js +20 -63
  713. package/src/modules/community/components/pages/Community.vue +7 -1
  714. package/src/modules/events/components/elements/ButtonCheck.vue +106 -0
  715. package/src/modules/events/components/pages/Event.vue +10 -1
  716. package/src/modules/events/components/sections/SectionMainGuest.vue +1 -1
  717. package/src/modules/events/components/sections/SectionSpecialGuests.vue +1 -1
  718. package/src/modules/events/controllers/tickets.controller.js +31 -2
  719. package/src/modules/events/models/ticket.model.js +8 -0
  720. package/src/modules/events/store/events.js +1 -0
  721. package/src/modules/globals/components/blocks/CardHeader.vue +1 -1
  722. package/src/modules/globals/models/ownership.schema.js +1 -1
  723. package/src/modules/landing/components/pages/Home.vue +2 -3
  724. package/src/modules/orders/components/pages/EditOrder.vue +84 -29
  725. package/src/modules/orders/components/pages/FormOrder.vue +15 -2
  726. package/src/modules/orders/components/pages/Order.vue +13 -19
  727. package/src/modules/orders/components/pages/Orders.vue +31 -22
  728. package/src/modules/orders/components/sections/FormClientDetails.vue +2 -2
  729. package/src/modules/orders/components/sections/FormDelivery.vue +5 -3
  730. package/src/modules/orders/components/sections/FormPayment.vue +1 -1
  731. package/src/modules/orders/controllers/orders.controller.js +2 -2
  732. package/src/modules/orders/models/order.model.js +9 -0
  733. package/src/modules/orders/router/orders.router.js +1 -1
  734. package/src/modules/orders/routes/orders.routes.js +4 -2
  735. package/src/modules/orders/store/orders.js +16 -21
  736. package/src/modules/organizations/components/blocks/EditArray.vue +1 -3
  737. package/src/modules/organizations/components/pages/DepartmentEdit.vue +0 -1
  738. package/src/modules/organizations/router/departments.router.js +3 -3
  739. package/src/modules/organizations/router/members.router.js +6 -3
  740. package/src/modules/organizations/router/organizations.js +59 -12
  741. package/src/modules/products/components/blocks/CardPosition.vue +1 -1
  742. package/src/modules/products/components/pages/EditLeftover.vue +2 -2
  743. package/src/modules/products/components/pages/Products.vue +44 -8
  744. package/src/modules/products/products.client.js +0 -13
  745. package/src/modules/products/router/categories.router.js +24 -0
  746. package/src/modules/products/router/leftovers.router.js +38 -0
  747. package/src/modules/products/router/products.router.js +35 -0
  748. package/src/modules/spots/components/blocks/SpotMemberModify.vue +1 -1
  749. package/src/modules/spots/components/pages/SpotEdit.vue +0 -1
  750. package/src/styles/config.scss +4 -3
  751. package/src/modules/landing/components/sections/SliderFeatures.vue +0 -131
  752. package/src/modules/organizations/router/organizations.router.js +0 -54
  753. package/src/modules/organizations/router/products.router.js +0 -78
  754. package/src/modules/products/components/pages/ProductsBackoffice.vue +0 -90
@@ -7,79 +7,82 @@ import "../../../web3-core/lib/esm/web3_batch_request.js";
7
7
  import { isSupportedProvider as g } from "../../../web3-core/lib/esm/utils.js";
8
8
  import { InvalidMethodParamsError as w } from "../../../web3-errors/lib/esm/errors/generic_errors.js";
9
9
  import "../../../web3-errors/lib/esm/errors/rpc_errors.js";
10
- import { Iban as j } from "../../../web3-eth-iban/lib/esm/iban.js";
11
- import { DEFAULT_RETURN_FORMAT as d } from "../../../web3-types/lib/esm/data_format_types.js";
10
+ import { Iban as v } from "../../../web3-eth-iban/lib/esm/iban.js";
11
+ import { DEFAULT_RETURN_FORMAT as A } from "../../../web3-types/lib/esm/data_format_types.js";
12
12
  import "../../../web3-types/lib/esm/eth_types.js";
13
13
  import "../../../web3-types/lib/esm/web3_base_provider.js";
14
- import * as S from "../../../web3-utils/lib/esm/index.js";
14
+ import * as E from "../../../web3-utils/lib/esm/index.js";
15
15
  import "../../../web3-validator/lib/esm/formats.js";
16
16
  import "../../../web3-validator/lib/esm/default_validator.js";
17
17
  import "../../../web3-core/lib/esm/web3_promi_event.js";
18
18
  import "../../../setimmediate/setImmediate.js";
19
- import { registeredSubscriptions as v, Web3Eth as I } from "../../../web3-eth/lib/esm/web3_eth.js";
19
+ import { registeredSubscriptions as D, Web3Eth as y } from "../../../web3-eth/lib/esm/web3_eth.js";
20
20
  import "../../../web3-eth-abi/lib/esm/coders/base/number.js";
21
21
  import "../../../web3-eth/lib/esm/schemas.js";
22
22
  import "../../../web3-eth/lib/esm/constants.js";
23
23
  import "../../../web3-eth/lib/esm/rpc_method_wrappers.js";
24
24
  import "../../../web3-eth/lib/esm/utils/prepare_transaction_for_signing.js";
25
25
  import "../../../web3-eth/lib/esm/utils/transaction_builder.js";
26
- import { Contract as k } from "../../../web3-eth-contract/lib/esm/contract.js";
27
- import { registryAddresses as D } from "../../../web3-eth-ens/lib/esm/config.js";
28
- import { ENS as N } from "../../../web3-eth-ens/lib/esm/ens.js";
29
- import { Personal as P } from "../../../web3-eth-personal/lib/esm/personal.js";
30
- import { Net as T } from "../../../web3-net/lib/esm/net.js";
26
+ import { Contract as W } from "../../../web3-eth-contract/lib/esm/contract.js";
27
+ import { registryAddresses as k } from "../../../web3-eth-ens/lib/esm/config.js";
28
+ import { ENS as I } from "../../../web3-eth-ens/lib/esm/ens.js";
29
+ import { Personal as N } from "../../../web3-eth-personal/lib/esm/personal.js";
30
+ import { Net as j } from "../../../web3-net/lib/esm/net.js";
31
31
  import "../../../web3-net/lib/esm/rpc_method_wrappers.js";
32
- import M from "./abi.js";
33
- import { initAccountsForContext as U } from "./accounts.js";
34
- import { Web3PkgInfo as B } from "./version.js";
35
- import { isNullish as y, isContractInitOptions as r } from "../../../web3-utils/lib/esm/validation.js";
36
- import { isDataFormat as E } from "../../../web3-utils/lib/esm/formatter.js";
37
- class h extends c {
32
+ import q from "./abi.js";
33
+ import { initAccountsForContext as M } from "./accounts.js";
34
+ import { Web3PkgInfo as U } from "./version.js";
35
+ import { requestEIP6963Providers as B, onNewProviderDiscovered as L } from "./web3_eip6963.js";
36
+ import { isNullish as P, isContractInitOptions as a } from "../../../web3-utils/lib/esm/validation.js";
37
+ import { isDataFormat as d } from "../../../web3-utils/lib/esm/formatter.js";
38
+ class f extends c {
38
39
  constructor(i) {
39
- var a;
40
- (y(i) || typeof i == "string" && i.trim() === "" || typeof i != "string" && !g(i) && !i.provider) && console.warn("NOTE: web3.js is running without provider. You need to pass a provider in order to interact with the network!");
41
- let t = {};
42
- typeof i == "string" || g(i) ? t.provider = i : i ? t = i : t = {}, t.registeredSubscriptions = Object.assign(Object.assign({}, v), (a = t.registeredSubscriptions) !== null && a !== void 0 ? a : {}), super(t);
43
- const b = U(this);
44
- this._wallet = b.wallet, this._accountProvider = b, this.utils = S;
45
- const e = this;
46
- class _ extends k {
47
- constructor(W, s, o, f, n) {
48
- if (r(s) && r(o))
40
+ var n;
41
+ (P(i) || typeof i == "string" && i.trim() === "" || typeof i != "string" && !g(i) && !i.provider) && console.warn("NOTE: web3.js is running without provider. You need to pass a provider in order to interact with the network!");
42
+ let s = {};
43
+ typeof i == "string" || g(i) ? s.provider = i : i ? s = i : s = {}, s.registeredSubscriptions = Object.assign(Object.assign({}, D), (n = s.registeredSubscriptions) !== null && n !== void 0 ? n : {}), super(s);
44
+ const u = M(this);
45
+ this._wallet = u.wallet, this._accountProvider = u, this.utils = E;
46
+ const t = this;
47
+ class S extends W {
48
+ constructor(_, e, o, r, b) {
49
+ if (a(e) && a(o))
49
50
  throw new w("Should not provide options at both 2nd and 3rd parameters");
50
- let u, p = {}, m, l = d;
51
- if (!y(s) && typeof s != "object" && typeof s != "string")
51
+ let h, p = {}, m, l = A;
52
+ if (!P(e) && typeof e != "object" && typeof e != "string")
52
53
  throw new w();
53
- typeof s == "string" && (u = s), r(s) ? p = s : r(o) ? p = o : p = {}, s instanceof c ? m = s : o instanceof c ? m = o : f instanceof c ? m = f : m = e.getContextObject(), n ? l = n : E(o) ? l = o : E(f) && (l = f), super(W, u, p, m, l), super.subscribeToContextEvents(e);
54
+ typeof e == "string" && (h = e), a(e) ? p = e : a(o) ? p = o : p = {}, e instanceof c ? m = e : o instanceof c ? m = o : r instanceof c ? m = r : m = t.getContextObject(), b ? l = b : d(o) ? l = o : d(r) && (l = r), super(_, h, p, m, l), super.subscribeToContextEvents(t);
54
55
  }
55
56
  }
56
- const A = e.use(I);
57
- this.eth = Object.assign(A, {
57
+ const T = t.use(y);
58
+ this.eth = Object.assign(T, {
58
59
  // ENS module
59
- ens: e.use(N, D.main),
60
+ ens: t.use(I, k.main),
60
61
  // Iban helpers
61
- Iban: j,
62
- net: e.use(T),
63
- personal: e.use(P),
62
+ Iban: v,
63
+ net: t.use(j),
64
+ personal: t.use(N),
64
65
  // Contract helper and module
65
- Contract: _,
66
+ Contract: S,
66
67
  // ABI Helpers
67
- abi: M,
68
+ abi: q,
68
69
  // Accounts helper
69
- accounts: b
70
+ accounts: u
70
71
  });
71
72
  }
72
73
  }
73
- h.version = B.version;
74
- h.utils = S;
75
- h.modules = {
76
- Web3Eth: I,
77
- Iban: j,
78
- Net: T,
79
- ENS: N,
80
- Personal: P
74
+ f.version = U.version;
75
+ f.utils = E;
76
+ f.requestEIP6963Providers = B;
77
+ f.onNewProviderDiscovered = L;
78
+ f.modules = {
79
+ Web3Eth: y,
80
+ Iban: v,
81
+ Net: j,
82
+ ENS: I,
83
+ Personal: N
81
84
  };
82
85
  export {
83
- h as Web3,
84
- h as default
86
+ f as Web3,
87
+ f as default
85
88
  };
@@ -0,0 +1 @@
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});var f=function(e,a,n,t){function p(o){return o instanceof n?o:new n(function(d){d(o)})}return new(n||(n=Promise))(function(o,d){function u(i){try{w(t.next(i))}catch(s){d(s)}}function c(i){try{w(t.throw(i))}catch(s){d(s)}}function w(i){i.done?o(i.value):p(i.value).then(u,c)}w((t=t.apply(e,a||[])).next())})};exports.Eip6963EventName=void 0;(function(e){e.eip6963announceProvider="eip6963:announceProvider",e.eip6963requestProvider="eip6963:requestProvider"})(exports.Eip6963EventName||(exports.Eip6963EventName={}));const r=new Map,v="web3:providersMapUpdated",E=()=>f(void 0,void 0,void 0,function*(){return new Promise((e,a)=>{typeof window>"u"&&a(new Error("window object not available, EIP-6963 is intended to be used within a browser")),window.addEventListener(exports.Eip6963EventName.eip6963announceProvider,n=>{r.set(n.detail.info.uuid,n.detail);const t=new CustomEvent(v,{detail:r});window.dispatchEvent(t),e(r)}),window.dispatchEvent(new Event(exports.Eip6963EventName.eip6963requestProvider))})}),P=e=>{if(typeof window>"u")throw new Error("window object not available, EIP-6963 is intended to be used within a browser");window.addEventListener(v,e)};exports.eip6963ProvidersMap=r;exports.onNewProviderDiscovered=P;exports.requestEIP6963Providers=E;exports.web3ProvidersMapUpdated=v;
@@ -0,0 +1,50 @@
1
+ var E = function(e, w, n, o) {
2
+ function v(t) {
3
+ return t instanceof n ? t : new n(function(d) {
4
+ d(t);
5
+ });
6
+ }
7
+ return new (n || (n = Promise))(function(t, d) {
8
+ function p(i) {
9
+ try {
10
+ a(o.next(i));
11
+ } catch (s) {
12
+ d(s);
13
+ }
14
+ }
15
+ function f(i) {
16
+ try {
17
+ a(o.throw(i));
18
+ } catch (s) {
19
+ d(s);
20
+ }
21
+ }
22
+ function a(i) {
23
+ i.done ? t(i.value) : v(i.value).then(p, f);
24
+ }
25
+ a((o = o.apply(e, w || [])).next());
26
+ });
27
+ }, r;
28
+ (function(e) {
29
+ e.eip6963announceProvider = "eip6963:announceProvider", e.eip6963requestProvider = "eip6963:requestProvider";
30
+ })(r || (r = {}));
31
+ const c = /* @__PURE__ */ new Map(), u = "web3:providersMapUpdated", P = () => E(void 0, void 0, void 0, function* () {
32
+ return new Promise((e, w) => {
33
+ typeof window > "u" && w(new Error("window object not available, EIP-6963 is intended to be used within a browser")), window.addEventListener(r.eip6963announceProvider, (n) => {
34
+ c.set(n.detail.info.uuid, n.detail);
35
+ const o = new CustomEvent(u, { detail: c });
36
+ window.dispatchEvent(o), e(c);
37
+ }), window.dispatchEvent(new Event(r.eip6963requestProvider));
38
+ });
39
+ }), b = (e) => {
40
+ if (typeof window > "u")
41
+ throw new Error("window object not available, EIP-6963 is intended to be used within a browser");
42
+ window.addEventListener(u, e);
43
+ };
44
+ export {
45
+ r as Eip6963EventName,
46
+ c as eip6963ProvidersMap,
47
+ b as onNewProviderDiscovered,
48
+ P as requestEIP6963Providers,
49
+ u as web3ProvidersMapUpdated
50
+ };
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const q=require("../../../web3-errors/lib/esm/errors/generic_errors.cjs"),_=require("../../../web3-errors/lib/esm/errors/response_errors.cjs");require("../../../web3-errors/lib/esm/errors/rpc_errors.cjs");const p=require("../../../web3-utils/lib/esm/web3_deferred_promise.cjs"),l=require("../../../web3-utils/lib/esm/json_rpc.cjs");var f=globalThis&&globalThis.__awaiter||function(d,r,s,t){function o(i){return i instanceof s?i:new s(function(n){n(i)})}return new(s||(s=Promise))(function(i,n){function e(u){try{c(t.next(u))}catch(h){n(h)}}function a(u){try{c(t.throw(u))}catch(h){n(h)}}function c(u){u.done?i(u.value):o(u.value).then(e,a)}c((t=t.apply(d,r||[])).next())})};const m=1e3;class v{constructor(r){this._requestManager=r,this._requests=new Map}get requests(){return[...this._requests.values()].map(r=>r.payload)}add(r){const s=l.toPayload(r),t=new p.Web3DeferredPromise;return this._requests.set(s.id,{payload:s,promise:t}),t}execute(r){var s;return f(this,void 0,void 0,function*(){if(this.requests.length===0)return Promise.resolve([]);const t=new p.Web3DeferredPromise({timeout:(s=r==null?void 0:r.timeout)!==null&&s!==void 0?s:m,eagerStart:!0,timeoutMessage:"Batch request timeout"});return this._processBatchRequest(t).catch(o=>t.reject(o)),t.catch(o=>{o instanceof q.OperationTimeoutError&&this._abortAllRequests("Batch request timeout"),t.reject(o)}),t})}_processBatchRequest(r){var s,t;return f(this,void 0,void 0,function*(){const o=yield this._requestManager.sendBatch([...this._requests.values()].map(e=>e.payload));if(o.length!==this._requests.size)throw this._abortAllRequests("Invalid batch response"),new _.ResponseError(o,`Batch request size mismatch the results size. Requests: ${this._requests.size}, Responses: ${o.length}`);const i=this.requests.map(e=>e.id).map(Number).sort((e,a)=>e-a),n=o.map(e=>e.id).map(Number).sort((e,a)=>e-a);if(JSON.stringify(i)!==JSON.stringify(n))throw this._abortAllRequests("Invalid batch response"),new _.ResponseError(o,`Batch request mismatch the results. Requests: [${i.join()}], Responses: [${n.join()}]`);for(const e of o)l.isResponseWithResult(e)?(s=this._requests.get(e.id))===null||s===void 0||s.promise.resolve(e.result):l.isResponseWithError(e)&&((t=this._requests.get(e.id))===null||t===void 0||t.promise.reject(e.error));r.resolve(o)})}_abortAllRequests(r){for(const{promise:s}of this._requests.values())s.reject(new q.OperationAbortError(r))}}exports.DEFAULT_BATCH_REQUEST_TIMEOUT=m;exports.Web3BatchRequest=v;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const q=require("../../../web3-errors/lib/esm/errors/generic_errors.cjs"),_=require("../../../web3-errors/lib/esm/errors/response_errors.cjs");require("../../../web3-errors/lib/esm/errors/rpc_errors.cjs");const p=require("../../../web3-utils/lib/esm/web3_deferred_promise.cjs"),l=require("../../../web3-utils/lib/esm/json_rpc.cjs");var f=function(d,r,t,s){function i(o){return o instanceof t?o:new t(function(n){n(o)})}return new(t||(t=Promise))(function(o,n){function e(u){try{c(s.next(u))}catch(h){n(h)}}function a(u){try{c(s.throw(u))}catch(h){n(h)}}function c(u){u.done?o(u.value):i(u.value).then(e,a)}c((s=s.apply(d,r||[])).next())})};const m=1e3;class v{constructor(r){this._requestManager=r,this._requests=new Map}get requests(){return[...this._requests.values()].map(r=>r.payload)}add(r){const t=l.toPayload(r),s=new p.Web3DeferredPromise;return this._requests.set(t.id,{payload:t,promise:s}),s}execute(r){var t;return f(this,void 0,void 0,function*(){if(this.requests.length===0)return Promise.resolve([]);const s=new p.Web3DeferredPromise({timeout:(t=r==null?void 0:r.timeout)!==null&&t!==void 0?t:m,eagerStart:!0,timeoutMessage:"Batch request timeout"});return this._processBatchRequest(s).catch(i=>s.reject(i)),s.catch(i=>{i instanceof q.OperationTimeoutError&&this._abortAllRequests("Batch request timeout"),s.reject(i)}),s})}_processBatchRequest(r){var t,s;return f(this,void 0,void 0,function*(){const i=yield this._requestManager.sendBatch([...this._requests.values()].map(e=>e.payload));if(i.length!==this._requests.size)throw this._abortAllRequests("Invalid batch response"),new _.ResponseError(i,`Batch request size mismatch the results size. Requests: ${this._requests.size}, Responses: ${i.length}`);const o=this.requests.map(e=>e.id).map(Number).sort((e,a)=>e-a),n=i.map(e=>e.id).map(Number).sort((e,a)=>e-a);if(JSON.stringify(o)!==JSON.stringify(n))throw this._abortAllRequests("Invalid batch response"),new _.ResponseError(i,`Batch request mismatch the results. Requests: [${o.join()}], Responses: [${n.join()}]`);for(const e of i)l.isResponseWithResult(e)?(t=this._requests.get(e.id))===null||t===void 0||t.promise.resolve(e.result):l.isResponseWithError(e)&&((s=this._requests.get(e.id))===null||s===void 0||s.promise.reject(e.error));r.resolve(i)})}_abortAllRequests(r){for(const{promise:t}of this._requests.values())t.reject(new q.OperationAbortError(r))}}exports.DEFAULT_BATCH_REQUEST_TIMEOUT=m;exports.Web3BatchRequest=v;
@@ -1,15 +1,15 @@
1
1
  import { OperationTimeoutError as f, OperationAbortError as q } from "../../../web3-errors/lib/esm/errors/generic_errors.js";
2
- import { ResponseError as p } from "../../../web3-errors/lib/esm/errors/response_errors.js";
2
+ import { ResponseError as d } from "../../../web3-errors/lib/esm/errors/response_errors.js";
3
3
  import "../../../web3-errors/lib/esm/errors/rpc_errors.js";
4
- import { Web3DeferredPromise as m } from "../../../web3-utils/lib/esm/web3_deferred_promise.js";
4
+ import { Web3DeferredPromise as p } from "../../../web3-utils/lib/esm/web3_deferred_promise.js";
5
5
  import { toPayload as _, isResponseWithResult as v, isResponseWithError as R } from "../../../web3-utils/lib/esm/json_rpc.js";
6
- var d = globalThis && globalThis.__awaiter || function(l, r, t, s) {
7
- function o(i) {
8
- return i instanceof t ? i : new t(function(n) {
9
- n(i);
6
+ var m = function(l, r, t, s) {
7
+ function i(o) {
8
+ return o instanceof t ? o : new t(function(n) {
9
+ n(o);
10
10
  });
11
11
  }
12
- return new (t || (t = Promise))(function(i, n) {
12
+ return new (t || (t = Promise))(function(o, n) {
13
13
  function e(u) {
14
14
  try {
15
15
  c(s.next(u));
@@ -25,13 +25,13 @@ var d = globalThis && globalThis.__awaiter || function(l, r, t, s) {
25
25
  }
26
26
  }
27
27
  function c(u) {
28
- u.done ? i(u.value) : o(u.value).then(e, a);
28
+ u.done ? o(u.value) : i(u.value).then(e, a);
29
29
  }
30
30
  c((s = s.apply(l, r || [])).next());
31
31
  });
32
32
  };
33
- const b = 1e3;
34
- class T {
33
+ const w = 1e3;
34
+ class A {
35
35
  constructor(r) {
36
36
  this._requestManager = r, this._requests = /* @__PURE__ */ new Map();
37
37
  }
@@ -39,37 +39,37 @@ class T {
39
39
  return [...this._requests.values()].map((r) => r.payload);
40
40
  }
41
41
  add(r) {
42
- const t = _(r), s = new m();
42
+ const t = _(r), s = new p();
43
43
  return this._requests.set(t.id, { payload: t, promise: s }), s;
44
44
  }
45
45
  // eslint-disable-next-line class-methods-use-this
46
46
  execute(r) {
47
47
  var t;
48
- return d(this, void 0, void 0, function* () {
48
+ return m(this, void 0, void 0, function* () {
49
49
  if (this.requests.length === 0)
50
50
  return Promise.resolve([]);
51
- const s = new m({
52
- timeout: (t = r == null ? void 0 : r.timeout) !== null && t !== void 0 ? t : b,
51
+ const s = new p({
52
+ timeout: (t = r == null ? void 0 : r.timeout) !== null && t !== void 0 ? t : w,
53
53
  eagerStart: !0,
54
54
  timeoutMessage: "Batch request timeout"
55
55
  });
56
- return this._processBatchRequest(s).catch((o) => s.reject(o)), s.catch((o) => {
57
- o instanceof f && this._abortAllRequests("Batch request timeout"), s.reject(o);
56
+ return this._processBatchRequest(s).catch((i) => s.reject(i)), s.catch((i) => {
57
+ i instanceof f && this._abortAllRequests("Batch request timeout"), s.reject(i);
58
58
  }), s;
59
59
  });
60
60
  }
61
61
  _processBatchRequest(r) {
62
62
  var t, s;
63
- return d(this, void 0, void 0, function* () {
64
- const o = yield this._requestManager.sendBatch([...this._requests.values()].map((e) => e.payload));
65
- if (o.length !== this._requests.size)
66
- throw this._abortAllRequests("Invalid batch response"), new p(o, `Batch request size mismatch the results size. Requests: ${this._requests.size}, Responses: ${o.length}`);
67
- const i = this.requests.map((e) => e.id).map(Number).sort((e, a) => e - a), n = o.map((e) => e.id).map(Number).sort((e, a) => e - a);
68
- if (JSON.stringify(i) !== JSON.stringify(n))
69
- throw this._abortAllRequests("Invalid batch response"), new p(o, `Batch request mismatch the results. Requests: [${i.join()}], Responses: [${n.join()}]`);
70
- for (const e of o)
63
+ return m(this, void 0, void 0, function* () {
64
+ const i = yield this._requestManager.sendBatch([...this._requests.values()].map((e) => e.payload));
65
+ if (i.length !== this._requests.size)
66
+ throw this._abortAllRequests("Invalid batch response"), new d(i, `Batch request size mismatch the results size. Requests: ${this._requests.size}, Responses: ${i.length}`);
67
+ const o = this.requests.map((e) => e.id).map(Number).sort((e, a) => e - a), n = i.map((e) => e.id).map(Number).sort((e, a) => e - a);
68
+ if (JSON.stringify(o) !== JSON.stringify(n))
69
+ throw this._abortAllRequests("Invalid batch response"), new d(i, `Batch request mismatch the results. Requests: [${o.join()}], Responses: [${n.join()}]`);
70
+ for (const e of i)
71
71
  v(e) ? (t = this._requests.get(e.id)) === null || t === void 0 || t.promise.resolve(e.result) : R(e) && ((s = this._requests.get(e.id)) === null || s === void 0 || s.promise.reject(e.error));
72
- r.resolve(o);
72
+ r.resolve(i);
73
73
  });
74
74
  }
75
75
  _abortAllRequests(r) {
@@ -78,6 +78,6 @@ class T {
78
78
  }
79
79
  }
80
80
  export {
81
- b as DEFAULT_BATCH_REQUEST_TIMEOUT,
82
- T as Web3BatchRequest
81
+ w as DEFAULT_BATCH_REQUEST_TIMEOUT,
82
+ A as Web3BatchRequest
83
83
  };
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const q=require("../../../web3-errors/lib/esm/errors/generic_errors.cjs");require("../../../web3-errors/lib/esm/errors/rpc_errors.cjs");require("../../../web3-eth-accounts/lib/esm/wallet.cjs");require("../../../web3-eth-accounts/lib/esm/account.cjs");require("../../../crc-32/crc32.cjs");require("../../../web3-eth-accounts/lib/esm/common/types.cjs");require("../../../web3-validator/lib/esm/formats.cjs");require("../../../web3-validator/lib/esm/default_validator.cjs");require("../../../web3-types/lib/esm/data_format_types.cjs");require("../../../web3-types/lib/esm/eth_types.cjs");require("../../../web3-types/lib/esm/web3_base_provider.cjs");require("../../../web3-eth-accounts/lib/esm/tx/constants.cjs");require("../../../web3-eth-accounts/lib/esm/common/enums.cjs");require("../../../web3-eth-accounts/lib/esm/tx/eip1559Transaction.cjs");require("../../../web3-eth-accounts/lib/esm/tx/eip2930Transaction.cjs");require("../../../@ethereumjs/rlp/dist/index.cjs");require("../../../web3-eth-accounts/lib/esm/tx/types.cjs");const b=require("./utils.cjs"),f=require("./web3_batch_request.cjs"),l=require("./web3_config.cjs"),g=require("./web3_request_manager.cjs"),p=require("./web3_subscription_manager.cjs"),_=require("../../../web3-utils/lib/esm/validation.cjs");var M=globalThis&&globalThis.__awaiter||function(v,e,r,i){function s(t){return t instanceof r?t:new r(function(n){n(t)})}return new(r||(r=Promise))(function(t,n){function o(a){try{u(i.next(a))}catch(d){n(d)}}function c(a){try{u(i.throw(a))}catch(d){n(d)}}function u(a){a.done?t(a.value):s(a.value).then(o,c)}u((i=i.apply(v,e||[])).next())})};class h extends l.Web3Config{constructor(e){var r;if(super(),this.providers=g.Web3RequestManager.providers,_.isNullish(e)||typeof e=="string"&&e.trim()!==""||b.isSupportedProvider(e)){this._requestManager=new g.Web3RequestManager(e),this._subscriptionManager=new p.Web3SubscriptionManager(this._requestManager,{});return}const{config:i,provider:s,requestManager:t,subscriptionManager:n,registeredSubscriptions:o,accountProvider:c,wallet:u}=e;this.setConfig(i??{}),this._requestManager=t??new g.Web3RequestManager(s,(r=i==null?void 0:i.enableExperimentalFeatures)===null||r===void 0?void 0:r.useSubscriptionWhenCheckingBlockTimeout),n?this._subscriptionManager=n:this._subscriptionManager=new p.Web3SubscriptionManager(this.requestManager,o??{}),c&&(this._accountProvider=c),u&&(this._wallet=u)}get requestManager(){return this._requestManager}get subscriptionManager(){return this._subscriptionManager}get wallet(){return this._wallet}get accountProvider(){return this._accountProvider}static fromContextObject(...e){return new this(...e.reverse())}getContextObject(){var e;return{config:this.config,provider:this.provider,requestManager:this.requestManager,subscriptionManager:this.subscriptionManager,registeredSubscriptions:(e=this.subscriptionManager)===null||e===void 0?void 0:e.registeredSubscriptions,providers:this.providers,wallet:this.wallet,accountProvider:this.accountProvider}}use(e,...r){const i=new e(...r,this.getContextObject());return this.on(l.Web3ConfigEvent.CONFIG_CHANGE,s=>{i.setConfig({[s.name]:s.newValue})}),i}link(e){this.setConfig(e.config),this._requestManager=e.requestManager,this.provider=e.provider,this._subscriptionManager=e.subscriptionManager,this._wallet=e.wallet,this._accountProvider=e._accountProvider,e.on(l.Web3ConfigEvent.CONFIG_CHANGE,r=>{this.setConfig({[r.name]:r.newValue})})}registerPlugin(e){if(this[e.pluginNamespace]!==void 0)throw new q.ExistingPluginNamespaceError(e.pluginNamespace);const r={[e.pluginNamespace]:e};r[e.pluginNamespace].link(this),Object.assign(this,r)}get provider(){return this.currentProvider}set provider(e){this.requestManager.setProvider(e)}get currentProvider(){return this.requestManager.provider}set currentProvider(e){this.requestManager.setProvider(e)}get givenProvider(){return h.givenProvider}setProvider(e){return this.provider=e,!0}get BatchRequest(){return f.Web3BatchRequest.bind(void 0,this._requestManager)}extend(e){var r;return e.property&&!this[e.property]&&(this[e.property]={}),(r=e.methods)===null||r===void 0||r.forEach(i=>{const s=(...t)=>M(this,void 0,void 0,function*(){return this.requestManager.send({method:i.call,params:t})});e.property?this[e.property][i.name]=s:this[i.name]=s}),this}}h.providers=g.Web3RequestManager.providers;exports.Web3Context=h;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const q=require("../../../web3-errors/lib/esm/errors/generic_errors.cjs");require("../../../web3-errors/lib/esm/errors/rpc_errors.cjs");require("../../../web3-eth-accounts/lib/esm/wallet.cjs");require("../../../web3-eth-accounts/lib/esm/account.cjs");require("../../../crc-32/crc32.cjs");require("../../../web3-eth-accounts/lib/esm/common/types.cjs");require("../../../web3-validator/lib/esm/formats.cjs");require("../../../web3-validator/lib/esm/default_validator.cjs");require("../../../web3-types/lib/esm/data_format_types.cjs");require("../../../web3-types/lib/esm/eth_types.cjs");require("../../../web3-types/lib/esm/web3_base_provider.cjs");require("../../../web3-eth-accounts/lib/esm/tx/constants.cjs");require("../../../web3-eth-accounts/lib/esm/common/enums.cjs");require("../../../web3-eth-accounts/lib/esm/tx/eip1559Transaction.cjs");require("../../../web3-eth-accounts/lib/esm/tx/eip2930Transaction.cjs");require("../../../@ethereumjs/rlp/dist/index.cjs");require("../../../web3-eth-accounts/lib/esm/tx/types.cjs");const b=require("./utils.cjs"),f=require("./web3_batch_request.cjs"),l=require("./web3_config.cjs"),g=require("./web3_request_manager.cjs"),p=require("./web3_subscription_manager.cjs"),_=require("../../../web3-utils/lib/esm/validation.cjs");var M=function(v,e,r,i){function s(t){return t instanceof r?t:new r(function(n){n(t)})}return new(r||(r=Promise))(function(t,n){function o(u){try{a(i.next(u))}catch(d){n(d)}}function c(u){try{a(i.throw(u))}catch(d){n(d)}}function a(u){u.done?t(u.value):s(u.value).then(o,c)}a((i=i.apply(v,e||[])).next())})};class h extends l.Web3Config{constructor(e){var r;if(super(),this.providers=g.Web3RequestManager.providers,_.isNullish(e)||typeof e=="string"&&e.trim()!==""||b.isSupportedProvider(e)){this._requestManager=new g.Web3RequestManager(e),this._subscriptionManager=new p.Web3SubscriptionManager(this._requestManager,{});return}const{config:i,provider:s,requestManager:t,subscriptionManager:n,registeredSubscriptions:o,accountProvider:c,wallet:a}=e;this.setConfig(i??{}),this._requestManager=t??new g.Web3RequestManager(s,(r=i==null?void 0:i.enableExperimentalFeatures)===null||r===void 0?void 0:r.useSubscriptionWhenCheckingBlockTimeout),n?this._subscriptionManager=n:this._subscriptionManager=new p.Web3SubscriptionManager(this.requestManager,o??{}),c&&(this._accountProvider=c),a&&(this._wallet=a)}get requestManager(){return this._requestManager}get subscriptionManager(){return this._subscriptionManager}get wallet(){return this._wallet}get accountProvider(){return this._accountProvider}static fromContextObject(...e){return new this(...e.reverse())}getContextObject(){var e;return{config:this.config,provider:this.provider,requestManager:this.requestManager,subscriptionManager:this.subscriptionManager,registeredSubscriptions:(e=this.subscriptionManager)===null||e===void 0?void 0:e.registeredSubscriptions,providers:this.providers,wallet:this.wallet,accountProvider:this.accountProvider}}use(e,...r){const i=new e(...r,this.getContextObject());return this.on(l.Web3ConfigEvent.CONFIG_CHANGE,s=>{i.setConfig({[s.name]:s.newValue})}),i}link(e){this.setConfig(e.config),this._requestManager=e.requestManager,this.provider=e.provider,this._subscriptionManager=e.subscriptionManager,this._wallet=e.wallet,this._accountProvider=e._accountProvider,e.on(l.Web3ConfigEvent.CONFIG_CHANGE,r=>{this.setConfig({[r.name]:r.newValue})})}registerPlugin(e){if(this[e.pluginNamespace]!==void 0)throw new q.ExistingPluginNamespaceError(e.pluginNamespace);const r={[e.pluginNamespace]:e};r[e.pluginNamespace].link(this),Object.assign(this,r)}get provider(){return this.currentProvider}set provider(e){this.requestManager.setProvider(e)}get currentProvider(){return this.requestManager.provider}set currentProvider(e){this.requestManager.setProvider(e)}get givenProvider(){return h.givenProvider}setProvider(e){return this.provider=e,!0}get BatchRequest(){return f.Web3BatchRequest.bind(void 0,this._requestManager)}extend(e){var r;return e.property&&!this[e.property]&&(this[e.property]={}),(r=e.methods)===null||r===void 0||r.forEach(i=>{const s=(...t)=>M(this,void 0,void 0,function*(){return this.requestManager.send({method:i.call,params:t})});e.property?this[e.property][i.name]=s:this[i.name]=s}),this}}h.providers=g.Web3RequestManager.providers;exports.Web3Context=h;
@@ -17,46 +17,46 @@ import "../../../@ethereumjs/rlp/dist/index.js";
17
17
  import "../../../web3-eth-accounts/lib/esm/tx/types.js";
18
18
  import { isSupportedProvider as f } from "./utils.js";
19
19
  import { Web3BatchRequest as M } from "./web3_batch_request.js";
20
- import { Web3Config as _, Web3ConfigEvent as d } from "./web3_config.js";
20
+ import { Web3Config as _, Web3ConfigEvent as g } from "./web3_config.js";
21
21
  import { Web3RequestManager as p } from "./web3_request_manager.js";
22
22
  import { Web3SubscriptionManager as l } from "./web3_subscription_manager.js";
23
- import { isNullish as b } from "../../../web3-utils/lib/esm/validation.js";
24
- var w = globalThis && globalThis.__awaiter || function(m, r, e, i) {
23
+ import { isNullish as w } from "../../../web3-utils/lib/esm/validation.js";
24
+ var b = function(m, r, e, i) {
25
25
  function s(t) {
26
- return t instanceof e ? t : new e(function(o) {
27
- o(t);
26
+ return t instanceof e ? t : new e(function(n) {
27
+ n(t);
28
28
  });
29
29
  }
30
- return new (e || (e = Promise))(function(t, o) {
31
- function u(n) {
30
+ return new (e || (e = Promise))(function(t, n) {
31
+ function u(o) {
32
32
  try {
33
- a(i.next(n));
33
+ a(i.next(o));
34
34
  } catch (h) {
35
- o(h);
35
+ n(h);
36
36
  }
37
37
  }
38
- function c(n) {
38
+ function c(o) {
39
39
  try {
40
- a(i.throw(n));
40
+ a(i.throw(o));
41
41
  } catch (h) {
42
- o(h);
42
+ n(h);
43
43
  }
44
44
  }
45
- function a(n) {
46
- n.done ? t(n.value) : s(n.value).then(u, c);
45
+ function a(o) {
46
+ o.done ? t(o.value) : s(o.value).then(u, c);
47
47
  }
48
48
  a((i = i.apply(m, r || [])).next());
49
49
  });
50
50
  };
51
- class g extends _ {
51
+ class d extends _ {
52
52
  constructor(r) {
53
53
  var e;
54
- if (super(), this.providers = p.providers, b(r) || typeof r == "string" && r.trim() !== "" || f(r)) {
54
+ if (super(), this.providers = p.providers, w(r) || typeof r == "string" && r.trim() !== "" || f(r)) {
55
55
  this._requestManager = new p(r), this._subscriptionManager = new l(this._requestManager, {});
56
56
  return;
57
57
  }
58
- const { config: i, provider: s, requestManager: t, subscriptionManager: o, registeredSubscriptions: u, accountProvider: c, wallet: a } = r;
59
- this.setConfig(i ?? {}), this._requestManager = t ?? new p(s, (e = i == null ? void 0 : i.enableExperimentalFeatures) === null || e === void 0 ? void 0 : e.useSubscriptionWhenCheckingBlockTimeout), o ? this._subscriptionManager = o : this._subscriptionManager = new l(this.requestManager, u ?? {}), c && (this._accountProvider = c), a && (this._wallet = a);
58
+ const { config: i, provider: s, requestManager: t, subscriptionManager: n, registeredSubscriptions: u, accountProvider: c, wallet: a } = r;
59
+ this.setConfig(i ?? {}), this._requestManager = t ?? new p(s, (e = i == null ? void 0 : i.enableExperimentalFeatures) === null || e === void 0 ? void 0 : e.useSubscriptionWhenCheckingBlockTimeout), n ? this._subscriptionManager = n : this._subscriptionManager = new l(this.requestManager, u ?? {}), c && (this._accountProvider = c), a && (this._wallet = a);
60
60
  }
61
61
  get requestManager() {
62
62
  return this._requestManager;
@@ -97,7 +97,7 @@ class g extends _ {
97
97
  */
98
98
  use(r, ...e) {
99
99
  const i = new r(...e, this.getContextObject());
100
- return this.on(d.CONFIG_CHANGE, (s) => {
100
+ return this.on(g.CONFIG_CHANGE, (s) => {
101
101
  i.setConfig({ [s.name]: s.newValue });
102
102
  }), i;
103
103
  }
@@ -105,7 +105,7 @@ class g extends _ {
105
105
  * Link current context to another context.
106
106
  */
107
107
  link(r) {
108
- this.setConfig(r.config), this._requestManager = r.requestManager, this.provider = r.provider, this._subscriptionManager = r.subscriptionManager, this._wallet = r.wallet, this._accountProvider = r._accountProvider, r.on(d.CONFIG_CHANGE, (e) => {
108
+ this.setConfig(r.config), this._requestManager = r.requestManager, this.provider = r.provider, this._subscriptionManager = r.subscriptionManager, this._wallet = r.wallet, this._accountProvider = r._accountProvider, r.on(g.CONFIG_CHANGE, (e) => {
109
109
  this.setConfig({ [e.name]: e.newValue });
110
110
  });
111
111
  }
@@ -202,7 +202,7 @@ class g extends _ {
202
202
  */
203
203
  // eslint-disable-next-line class-methods-use-this
204
204
  get givenProvider() {
205
- return g.givenProvider;
205
+ return d.givenProvider;
206
206
  }
207
207
  /**
208
208
  * Will set the provider.
@@ -226,7 +226,7 @@ class g extends _ {
226
226
  extend(r) {
227
227
  var e;
228
228
  return r.property && !this[r.property] && (this[r.property] = {}), (e = r.methods) === null || e === void 0 || e.forEach((i) => {
229
- const s = (...t) => w(this, void 0, void 0, function* () {
229
+ const s = (...t) => b(this, void 0, void 0, function* () {
230
230
  return this.requestManager.send({
231
231
  method: i.call,
232
232
  params: t
@@ -236,7 +236,7 @@ class g extends _ {
236
236
  }), this;
237
237
  }
238
238
  }
239
- g.providers = p.providers;
239
+ d.providers = p.providers;
240
240
  export {
241
- g as Web3Context
241
+ d as Web3Context
242
242
  };
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const m=require("./web3_event_emitter.cjs");var u=globalThis&&globalThis.__awaiter||function(h,t,e,r){function f(i){return i instanceof e?i:new e(function(o){o(i)})}return new(e||(e=Promise))(function(i,o){function l(n){try{s(r.next(n))}catch(c){o(c)}}function d(n){try{s(r.throw(n))}catch(c){o(c)}}function s(n){n.done?i(n.value):f(n.value).then(l,d)}s((r=r.apply(h,t||[])).next())})},a;class v extends m.Web3EventEmitter{constructor(t){super(),this[a]="Promise",this._promise=new Promise(t)}then(t,e){return u(this,void 0,void 0,function*(){return this._promise.then(t,e)})}catch(t){return u(this,void 0,void 0,function*(){return this._promise.catch(t)})}finally(t){return u(this,void 0,void 0,function*(){return this._promise.finally(t)})}on(t,e){return super.on(t,e),this}once(t,e){return super.once(t,e),this}}a=Symbol.toStringTag;exports.Web3PromiEvent=v;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const v=require("./web3_event_emitter.cjs");var s=function(f,t,e,r){function a(i){return i instanceof e?i:new e(function(o){o(i)})}return new(e||(e=Promise))(function(i,o){function d(n){try{u(r.next(n))}catch(c){o(c)}}function m(n){try{u(r.throw(n))}catch(c){o(c)}}function u(n){n.done?i(n.value):a(n.value).then(d,m)}u((r=r.apply(f,t||[])).next())})},h;class p extends v.Web3EventEmitter{constructor(t){super(),this[h]="Promise",this._promise=new Promise(t)}then(t,e){return s(this,void 0,void 0,function*(){return this._promise.then(t,e)})}catch(t){return s(this,void 0,void 0,function*(){return this._promise.catch(t)})}finally(t){return s(this,void 0,void 0,function*(){return this._promise.finally(t)})}on(t,e){return super.on(t,e),this}once(t,e){return super.once(t,e),this}}h=Symbol.toStringTag;exports.Web3PromiEvent=p;
@@ -1,58 +1,58 @@
1
1
  import { Web3EventEmitter as m } from "./web3_event_emitter.js";
2
- var u = globalThis && globalThis.__awaiter || function(h, t, n, o) {
3
- function f(e) {
4
- return e instanceof n ? e : new n(function(r) {
5
- r(e);
2
+ var s = function(f, n, t, r) {
3
+ function a(e) {
4
+ return e instanceof t ? e : new t(function(o) {
5
+ o(e);
6
6
  });
7
7
  }
8
- return new (n || (n = Promise))(function(e, r) {
9
- function p(i) {
8
+ return new (t || (t = Promise))(function(e, o) {
9
+ function d(i) {
10
10
  try {
11
- s(o.next(i));
11
+ u(r.next(i));
12
12
  } catch (c) {
13
- r(c);
13
+ o(c);
14
14
  }
15
15
  }
16
- function l(i) {
16
+ function p(i) {
17
17
  try {
18
- s(o.throw(i));
18
+ u(r.throw(i));
19
19
  } catch (c) {
20
- r(c);
20
+ o(c);
21
21
  }
22
22
  }
23
- function s(i) {
24
- i.done ? e(i.value) : f(i.value).then(p, l);
23
+ function u(i) {
24
+ i.done ? e(i.value) : a(i.value).then(d, p);
25
25
  }
26
- s((o = o.apply(h, t || [])).next());
26
+ u((r = r.apply(f, n || [])).next());
27
27
  });
28
- }, a;
29
- class v extends m {
30
- constructor(t) {
31
- super(), this[a] = "Promise", this._promise = new Promise(t);
28
+ }, h;
29
+ class _ extends m {
30
+ constructor(n) {
31
+ super(), this[h] = "Promise", this._promise = new Promise(n);
32
32
  }
33
- then(t, n) {
34
- return u(this, void 0, void 0, function* () {
35
- return this._promise.then(t, n);
33
+ then(n, t) {
34
+ return s(this, void 0, void 0, function* () {
35
+ return this._promise.then(n, t);
36
36
  });
37
37
  }
38
- catch(t) {
39
- return u(this, void 0, void 0, function* () {
40
- return this._promise.catch(t);
38
+ catch(n) {
39
+ return s(this, void 0, void 0, function* () {
40
+ return this._promise.catch(n);
41
41
  });
42
42
  }
43
- finally(t) {
44
- return u(this, void 0, void 0, function* () {
45
- return this._promise.finally(t);
43
+ finally(n) {
44
+ return s(this, void 0, void 0, function* () {
45
+ return this._promise.finally(n);
46
46
  });
47
47
  }
48
- on(t, n) {
49
- return super.on(t, n), this;
48
+ on(n, t) {
49
+ return super.on(n, t), this;
50
50
  }
51
- once(t, n) {
52
- return super.once(t, n), this;
51
+ once(n, t) {
52
+ return super.once(n, t), this;
53
53
  }
54
54
  }
55
- a = Symbol.toStringTag;
55
+ h = Symbol.toStringTag;
56
56
  export {
57
- v as Web3PromiEvent
57
+ _ as Web3PromiEvent
58
58
  };
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const q=require("../../../web3-errors/lib/esm/errors/contract_errors.cjs"),E=require("../../../web3-errors/lib/esm/errors/provider_errors.cjs"),R=require("../../../web3-errors/lib/esm/errors/response_errors.cjs"),_=require("../../../web3-errors/lib/esm/errors/rpc_errors.cjs"),g=require("../../../web3-providers-http/lib/esm/index.cjs"),b=require("../../../web3-providers-ws/lib/esm/index.cjs"),a=require("./utils.cjs"),W=require("./web3_event_emitter.cjs"),m=require("../../../web3-utils/lib/esm/promise_helpers.cjs"),i=require("../../../web3-utils/lib/esm/json_rpc.cjs"),l=require("../../../web3-utils/lib/esm/validation.cjs");var w=globalThis&&globalThis.__awaiter||function(d,r,e,t){function s(o){return o instanceof e?o:new e(function(n){n(o)})}return new(e||(e=Promise))(function(o,n){function h(u){try{c(t.next(u))}catch(p){n(p)}}function f(u){try{c(t.throw(u))}catch(p){n(p)}}function c(u){u.done?o(u.value):s(u.value).then(h,f)}c((t=t.apply(d,r||[])).next())})};exports.Web3RequestManagerEvent=void 0;(function(d){d.PROVIDER_CHANGED="PROVIDER_CHANGED",d.BEFORE_PROVIDER_CHANGE="BEFORE_PROVIDER_CHANGE"})(exports.Web3RequestManagerEvent||(exports.Web3RequestManagerEvent={}));const P={HttpProvider:g.default,WebsocketProvider:b.default};class v extends W.Web3EventEmitter{constructor(r,e){super(),l.isNullish(r)||this.setProvider(r),this.useRpcCallSpecification=e}static get providers(){return P}get provider(){return this._provider}get providers(){return P}setProvider(r){let e;if(r&&typeof r=="string"&&this.providers)if(/^http(s)?:\/\//i.test(r))e=new this.providers.HttpProvider(r);else if(/^ws(s)?:\/\//i.test(r))e=new this.providers.WebsocketProvider(r);else throw new E.ProviderError(`Can't autodetect provider for "${r}"`);else l.isNullish(r)?e=void 0:e=r;return this.emit(exports.Web3RequestManagerEvent.BEFORE_PROVIDER_CHANGE,this._provider),this._provider=e,this.emit(exports.Web3RequestManagerEvent.PROVIDER_CHANGED,this._provider),!0}send(r){return w(this,void 0,void 0,function*(){const e=yield this._sendRequest(r);if(i.isResponseWithResult(e))return e.result;throw new R.ResponseError(e)})}sendBatch(r){return w(this,void 0,void 0,function*(){return yield this._sendRequest(r)})}_sendRequest(r){return w(this,void 0,void 0,function*(){const{provider:e}=this;if(l.isNullish(e))throw new E.ProviderError("Provider not available. Use `.setProvider` or `.provider=` to initialize the provider.");const t=i.isBatchRequest(r)?i.toBatchPayload(r):i.toPayload(r);if(a.isWeb3Provider(e)){let s;try{s=yield e.request(t)}catch(o){s=o}return this._processJsonRpcResponse(t,s,{legacy:!1,error:!1})}if(a.isEIP1193Provider(e))return e.request(t).then(s=>this._processJsonRpcResponse(t,s,{legacy:!0,error:!1})).catch(s=>this._processJsonRpcResponse(t,s,{legacy:!0,error:!0}));if(a.isLegacyRequestProvider(e))return new Promise((s,o)=>{const n=c=>o(this._processJsonRpcResponse(t,c,{legacy:!0,error:!0})),h=c=>s(this._processJsonRpcResponse(t,c,{legacy:!0,error:!1})),f=e.request(t,(c,u)=>c?n(c):h(u));m.isPromise(f)&&f.then(h).catch(n)});if(a.isLegacySendProvider(e))return new Promise((s,o)=>{e.send(t,(n,h)=>{if(n)return o(this._processJsonRpcResponse(t,n,{legacy:!0,error:!0}));if(l.isNullish(h))throw new R.ResponseError("",'Got a "nullish" response from provider.');return s(this._processJsonRpcResponse(t,h,{legacy:!0,error:!1}))})});if(a.isLegacySendAsyncProvider(e))return e.sendAsync(t).then(s=>this._processJsonRpcResponse(t,s,{legacy:!0,error:!1})).catch(s=>this._processJsonRpcResponse(t,s,{legacy:!0,error:!0}));throw new E.ProviderError("Provider does not have a request or send method to use.")})}_processJsonRpcResponse(r,e,{legacy:t,error:s}){if(l.isNullish(e))return this._buildResponse(r,null,s);if(i.isResponseWithError(e)){if(this.useRpcCallSpecification&&i.isResponseRpcError(e)){const o=e;if(_.rpcErrorsMap.get(o.error.code)){const n=_.rpcErrorsMap.get(o.error.code).error;throw new n(o)}else throw new _.RpcError(o)}else if(!v._isReverted(e))throw new R.InvalidResponseError(e,r)}if(i.isResponseWithResult(e))return e;if(e instanceof Error)throw v._isReverted(e),e;if(!t&&i.isBatchRequest(r)&&i.isBatchResponse(e)||t&&!s&&i.isBatchRequest(r))return e;if(t&&s&&i.isBatchRequest(r))throw e;if(t&&!i.isResponseWithError(e)&&!i.isResponseWithResult(e))return this._buildResponse(r,e,s);throw i.isBatchRequest(r)&&!Array.isArray(e)?new R.ResponseError(e,"Got normal response for a batch request."):!i.isBatchRequest(r)&&Array.isArray(e)?new R.ResponseError(e,"Got batch response for a normal request."):(i.isResponseWithError(e)||i.isResponseWithResult(e))&&!i.isBatchRequest(r)&&e.id&&r.id!==e.id?new R.InvalidResponseError(e):new R.ResponseError(e,"Invalid response")}static _isReverted(r){let e;if(i.isResponseWithError(r)?e=r.error:r instanceof Error&&(e=r),e!=null&&e.message.includes("revert"))throw new q.ContractExecutionError(e);return!1}_buildResponse(r,e,t){const s={jsonrpc:"2.0",id:i.isBatchRequest(r)?r[0].id:"id"in r?r.id:null};return t?Object.assign(Object.assign({},s),{error:e}):Object.assign(Object.assign({},s),{result:e})}}exports.Web3RequestManager=v;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const q=require("../../../web3-errors/lib/esm/errors/contract_errors.cjs"),E=require("../../../web3-errors/lib/esm/errors/provider_errors.cjs"),R=require("../../../web3-errors/lib/esm/errors/response_errors.cjs"),_=require("../../../web3-errors/lib/esm/errors/rpc_errors.cjs"),g=require("../../../web3-providers-http/lib/esm/index.cjs"),b=require("../../../web3-providers-ws/lib/esm/index.cjs"),d=require("./utils.cjs"),W=require("./web3_event_emitter.cjs"),m=require("../../../web3-utils/lib/esm/promise_helpers.cjs"),i=require("../../../web3-utils/lib/esm/json_rpc.cjs"),a=require("../../../web3-utils/lib/esm/validation.cjs");var w=function(l,r,e,t){function s(o){return o instanceof e?o:new e(function(n){n(o)})}return new(e||(e=Promise))(function(o,n){function h(u){try{c(t.next(u))}catch(p){n(p)}}function f(u){try{c(t.throw(u))}catch(p){n(p)}}function c(u){u.done?o(u.value):s(u.value).then(h,f)}c((t=t.apply(l,r||[])).next())})};exports.Web3RequestManagerEvent=void 0;(function(l){l.PROVIDER_CHANGED="PROVIDER_CHANGED",l.BEFORE_PROVIDER_CHANGE="BEFORE_PROVIDER_CHANGE"})(exports.Web3RequestManagerEvent||(exports.Web3RequestManagerEvent={}));const P={HttpProvider:g.default,WebsocketProvider:b.default};class v extends W.Web3EventEmitter{constructor(r,e){super(),a.isNullish(r)||this.setProvider(r),this.useRpcCallSpecification=e}static get providers(){return P}get provider(){return this._provider}get providers(){return P}setProvider(r){let e;if(r&&typeof r=="string"&&this.providers)if(/^http(s)?:\/\//i.test(r))e=new this.providers.HttpProvider(r);else if(/^ws(s)?:\/\//i.test(r))e=new this.providers.WebsocketProvider(r);else throw new E.ProviderError(`Can't autodetect provider for "${r}"`);else a.isNullish(r)?e=void 0:e=r;return this.emit(exports.Web3RequestManagerEvent.BEFORE_PROVIDER_CHANGE,this._provider),this._provider=e,this.emit(exports.Web3RequestManagerEvent.PROVIDER_CHANGED,this._provider),!0}send(r){return w(this,void 0,void 0,function*(){const e=yield this._sendRequest(r);if(i.isResponseWithResult(e))return e.result;throw new R.ResponseError(e)})}sendBatch(r){return w(this,void 0,void 0,function*(){return yield this._sendRequest(r)})}_sendRequest(r){return w(this,void 0,void 0,function*(){const{provider:e}=this;if(a.isNullish(e))throw new E.ProviderError("Provider not available. Use `.setProvider` or `.provider=` to initialize the provider.");const t=i.isBatchRequest(r)?i.toBatchPayload(r):i.toPayload(r);if(d.isWeb3Provider(e)){let s;try{s=yield e.request(t)}catch(o){s=o}return this._processJsonRpcResponse(t,s,{legacy:!1,error:!1})}if(d.isEIP1193Provider(e))return e.request(t).then(s=>this._processJsonRpcResponse(t,s,{legacy:!0,error:!1})).catch(s=>this._processJsonRpcResponse(t,s,{legacy:!0,error:!0}));if(d.isLegacyRequestProvider(e))return new Promise((s,o)=>{const n=c=>o(this._processJsonRpcResponse(t,c,{legacy:!0,error:!0})),h=c=>s(this._processJsonRpcResponse(t,c,{legacy:!0,error:!1})),f=e.request(t,(c,u)=>c?n(c):h(u));m.isPromise(f)&&f.then(h).catch(n)});if(d.isLegacySendProvider(e))return new Promise((s,o)=>{e.send(t,(n,h)=>{if(n)return o(this._processJsonRpcResponse(t,n,{legacy:!0,error:!0}));if(a.isNullish(h))throw new R.ResponseError("",'Got a "nullish" response from provider.');return s(this._processJsonRpcResponse(t,h,{legacy:!0,error:!1}))})});if(d.isLegacySendAsyncProvider(e))return e.sendAsync(t).then(s=>this._processJsonRpcResponse(t,s,{legacy:!0,error:!1})).catch(s=>this._processJsonRpcResponse(t,s,{legacy:!0,error:!0}));throw new E.ProviderError("Provider does not have a request or send method to use.")})}_processJsonRpcResponse(r,e,{legacy:t,error:s}){if(a.isNullish(e))return this._buildResponse(r,null,s);if(i.isResponseWithError(e)){if(this.useRpcCallSpecification&&i.isResponseRpcError(e)){const o=e;if(_.rpcErrorsMap.get(o.error.code)){const n=_.rpcErrorsMap.get(o.error.code).error;throw new n(o)}else throw new _.RpcError(o)}else if(!v._isReverted(e))throw new R.InvalidResponseError(e,r)}if(i.isResponseWithResult(e))return e;if(e instanceof Error)throw v._isReverted(e),e;if(!t&&i.isBatchRequest(r)&&i.isBatchResponse(e)||t&&!s&&i.isBatchRequest(r))return e;if(t&&s&&i.isBatchRequest(r))throw e;if(t&&!i.isResponseWithError(e)&&!i.isResponseWithResult(e))return this._buildResponse(r,e,s);throw i.isBatchRequest(r)&&!Array.isArray(e)?new R.ResponseError(e,"Got normal response for a batch request."):!i.isBatchRequest(r)&&Array.isArray(e)?new R.ResponseError(e,"Got batch response for a normal request."):(i.isResponseWithError(e)||i.isResponseWithResult(e))&&!i.isBatchRequest(r)&&e.id&&r.id!==e.id?new R.InvalidResponseError(e):new R.ResponseError(e,"Invalid response")}static _isReverted(r){let e;if(i.isResponseWithError(r)?e=r.error:r instanceof Error&&(e=r),e!=null&&e.message.includes("revert"))throw new q.ContractExecutionError(e);return!1}_buildResponse(r,e,t){const s={jsonrpc:"2.0",id:i.isBatchRequest(r)?r[0].id:"id"in r?r.id:null};return t?Object.assign(Object.assign({},s),{error:e}):Object.assign(Object.assign({},s),{result:e})}}exports.Web3RequestManager=v;