@ozdao/prometheus-framework 0.2.57 → 0.2.58

Sign up to get free protection for your applications and to get access to all the features.
Files changed (745) 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/sections/SectionMainGuest.vue +1 -1
  715. package/src/modules/events/components/sections/SectionSpecialGuests.vue +1 -1
  716. package/src/modules/events/store/events.js +1 -0
  717. package/src/modules/landing/components/pages/Home.vue +2 -3
  718. package/src/modules/orders/components/pages/FormOrder.vue +15 -2
  719. package/src/modules/orders/components/pages/Order.vue +9 -16
  720. package/src/modules/orders/components/pages/Orders.vue +1 -1
  721. package/src/modules/orders/components/sections/FormClientDetails.vue +2 -2
  722. package/src/modules/orders/components/sections/FormDelivery.vue +5 -3
  723. package/src/modules/orders/components/sections/FormPayment.vue +1 -1
  724. package/src/modules/orders/controllers/orders.controller.js +1 -1
  725. package/src/modules/orders/models/order.model.js +1 -1
  726. package/src/modules/orders/router/orders.router.js +1 -1
  727. package/src/modules/orders/routes/orders.routes.js +4 -2
  728. package/src/modules/orders/store/orders.js +15 -15
  729. package/src/modules/organizations/components/blocks/EditArray.vue +1 -3
  730. package/src/modules/organizations/components/pages/DepartmentEdit.vue +0 -1
  731. package/src/modules/organizations/router/departments.router.js +3 -3
  732. package/src/modules/organizations/router/members.router.js +6 -3
  733. package/src/modules/organizations/router/organizations.js +59 -12
  734. package/src/modules/products/components/pages/Products.vue +44 -8
  735. package/src/modules/products/products.client.js +0 -13
  736. package/src/modules/products/router/categories.router.js +24 -0
  737. package/src/modules/products/router/leftovers.router.js +38 -0
  738. package/src/modules/products/router/products.router.js +35 -0
  739. package/src/modules/spots/components/blocks/SpotMemberModify.vue +1 -1
  740. package/src/modules/spots/components/pages/SpotEdit.vue +0 -1
  741. package/src/styles/config.scss +4 -3
  742. package/src/modules/landing/components/sections/SliderFeatures.vue +0 -131
  743. package/src/modules/organizations/router/organizations.router.js +0 -54
  744. package/src/modules/organizations/router/products.router.js +0 -78
  745. package/src/modules/products/components/pages/ProductsBackoffice.vue +0 -90
@@ -1,38 +1,38 @@
1
1
  import { ETH_DATA_FORMAT as E } from "../../../../web3-types/lib/esm/data_format_types.js";
2
2
  import "../../../../web3-types/lib/esm/eth_types.js";
3
3
  import "../../../../web3-types/lib/esm/web3_base_provider.js";
4
- import { ContractExecutionError as u } from "../../../../web3-errors/lib/esm/errors/contract_errors.js";
5
- import { TransactionRevertWithCustomError as g, TransactionRevertedWithoutReasonError as b, TransactionRevertInstructionError as C, TransactionPollingTimeoutError as T } from "../../../../web3-errors/lib/esm/errors/transaction_errors.js";
6
- import { InvalidResponseError as w } from "../../../../web3-errors/lib/esm/errors/response_errors.js";
4
+ import { ContractExecutionError as v } from "../../../../web3-errors/lib/esm/errors/contract_errors.js";
5
+ import { TransactionRevertWithCustomError as g, TransactionRevertedWithoutReasonError as b, TransactionRevertInstructionError as C, TransactionPollingTimeoutError as w } from "../../../../web3-errors/lib/esm/errors/transaction_errors.js";
6
+ import { InvalidResponseError as T } from "../../../../web3-errors/lib/esm/errors/response_errors.js";
7
7
  import "../../../../web3-errors/lib/esm/errors/rpc_errors.js";
8
8
  import "../../../../web3-validator/lib/esm/formats.js";
9
9
  import "../../../../web3-validator/lib/esm/default_validator.js";
10
- import { isNullish as f } from "../../../../web3-validator/lib/esm/validation/object.js";
10
+ import { isNullish as d } from "../../../../web3-validator/lib/esm/validation/object.js";
11
11
  import { sendRawTransaction as R, sendTransaction as x } from "../../../../web3-rpc-methods/lib/esm/eth_rpc_methods.js";
12
12
  import "../../../../web3-rpc-methods/lib/esm/net_rpc_methods.js";
13
13
  import "../../../../web3-rpc-methods/lib/esm/personal_rpc_methods.js";
14
14
  import { getTransactionGasPricing as _ } from "./get_transaction_gas_pricing.js";
15
- import { trySendTransaction as d } from "./try_send_transaction.js";
15
+ import { trySendTransaction as m } from "./try_send_transaction.js";
16
16
  import { watchTransactionForConfirmations as A } from "./watch_transaction_for_confirmations.js";
17
17
  import { ALL_EVENTS_ABI as y } from "../constants.js";
18
- import { getTransactionError as v } from "./get_transaction_error.js";
18
+ import { getTransactionError as f } from "./get_transaction_error.js";
19
19
  import { getRevertReason as S } from "./get_revert_reason.js";
20
20
  import { decodeEventABI as B } from "./decoding.js";
21
- var a = globalThis && globalThis.__awaiter || function(m, t, n, e) {
21
+ var a = function(u, t, n, e) {
22
22
  function i(o) {
23
23
  return o instanceof n ? o : new n(function(r) {
24
24
  r(o);
25
25
  });
26
26
  }
27
27
  return new (n || (n = Promise))(function(o, r) {
28
- function l(s) {
28
+ function p(s) {
29
29
  try {
30
30
  c(e.next(s));
31
31
  } catch (h) {
32
32
  r(h);
33
33
  }
34
34
  }
35
- function p(s) {
35
+ function l(s) {
36
36
  try {
37
37
  c(e.throw(s));
38
38
  } catch (h) {
@@ -40,9 +40,9 @@ var a = globalThis && globalThis.__awaiter || function(m, t, n, e) {
40
40
  }
41
41
  }
42
42
  function c(s) {
43
- s.done ? o(s.value) : i(s.value).then(l, p);
43
+ s.done ? o(s.value) : i(s.value).then(p, l);
44
44
  }
45
- c((e = e.apply(m, t || [])).next());
45
+ c((e = e.apply(u, t || [])).next());
46
46
  });
47
47
  };
48
48
  class X {
@@ -68,7 +68,7 @@ class X {
68
68
  if (this.options.checkRevertBeforeSending !== !1) {
69
69
  const n = yield S(this.web3Context, t, this.options.contractAbi);
70
70
  if (n !== void 0)
71
- throw yield v(this.web3Context, t, void 0, void 0, this.options.contractAbi, n);
71
+ throw yield f(this.web3Context, t, void 0, void 0, this.options.contractAbi, n);
72
72
  }
73
73
  });
74
74
  }
@@ -79,18 +79,18 @@ class X {
79
79
  var e;
80
80
  return a(this, void 0, void 0, function* () {
81
81
  let i = t;
82
- return !(!((e = this.options) === null || e === void 0) && e.ignoreGasPricing) && f(t.gasPrice) && (f(n.maxPriorityFeePerGas) || f(n.maxFeePerGas)) && (i = Object.assign(Object.assign({}, t), yield _(t, this.web3Context, E))), i;
82
+ return !(!((e = this.options) === null || e === void 0) && e.ignoreGasPricing) && d(t.gasPrice) && (d(n.maxPriorityFeePerGas) || d(n.maxFeePerGas)) && (i = Object.assign(Object.assign({}, t), yield _(t, this.web3Context, E))), i;
83
83
  });
84
84
  }
85
85
  signAndSend({ wallet: t, tx: n }) {
86
86
  return a(this, void 0, void 0, function* () {
87
87
  if (t) {
88
88
  const e = yield t.signTransaction(n);
89
- return d(this.web3Context, () => a(this, void 0, void 0, function* () {
89
+ return m(this.web3Context, () => a(this, void 0, void 0, function* () {
90
90
  return R(this.web3Context.requestManager, e.rawTransaction);
91
91
  }), e.transactionHash);
92
92
  }
93
- return d(this.web3Context, () => a(this, void 0, void 0, function* () {
93
+ return m(this.web3Context, () => a(this, void 0, void 0, function* () {
94
94
  return x(this.web3Context.requestManager, n);
95
95
  }));
96
96
  });
@@ -112,7 +112,7 @@ class X {
112
112
  var e;
113
113
  return a(this, void 0, void 0, function* () {
114
114
  let i = t;
115
- return i instanceof u && this.web3Context.handleRevert && (i = yield v(this.web3Context, n, void 0, void 0, (e = this.options) === null || e === void 0 ? void 0 : e.contractAbi)), (i instanceof w || i instanceof u || i instanceof g || i instanceof b || i instanceof C || i instanceof T) && this.promiEvent.listenerCount("error") > 0 && this.promiEvent.emit("error", i), i;
115
+ return i instanceof v && this.web3Context.handleRevert && (i = yield f(this.web3Context, n, void 0, void 0, (e = this.options) === null || e === void 0 ? void 0 : e.contractAbi)), (i instanceof T || i instanceof v || i instanceof g || i instanceof b || i instanceof C || i instanceof w) && this.promiEvent.listenerCount("error") > 0 && this.promiEvent.emit("error", i), i;
116
116
  });
117
117
  }
118
118
  emitConfirmation({ receipt: t, transactionHash: n }) {
@@ -124,7 +124,7 @@ class X {
124
124
  if (!((e = this.options) === null || e === void 0) && e.transactionResolver)
125
125
  return (i = this.options) === null || i === void 0 ? void 0 : i.transactionResolver(t);
126
126
  if (t.status === BigInt(0)) {
127
- const r = yield v(
127
+ const r = yield f(
128
128
  this.web3Context,
129
129
  n,
130
130
  // @ts-expect-error unknown type fix
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const s=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/wallet.cjs");const v=require("../../../../web3-eth-accounts/lib/esm/account.cjs");require("../../../../crc-32/crc32.cjs");require("../../../../web3-eth-accounts/lib/esm/common/types.cjs");const l=require("../../../../web3-errors/lib/esm/errors/transaction_errors.cjs");require("../../../../web3-errors/lib/esm/errors/rpc_errors.cjs");require("../../../../web3-validator/lib/esm/formats.cjs");const y=require("../../../../web3-validator/lib/esm/validation/string.cjs");require("../../../../web3-validator/lib/esm/default_validator.cjs");const p=require("../../../../web3-validator/lib/esm/validation/address.cjs"),O=require("../../../../web3-validator/lib/esm/validation/numbers.cjs"),n=require("../../../../web3-validator/lib/esm/validation/object.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");require("../../../../web3-net/lib/esm/net.cjs");const x=require("../../../../web3-net/lib/esm/rpc_method_wrappers.cjs"),C=require("../constants.cjs"),m=require("../rpc_method_wrappers.cjs"),E=require("./detect_transaction_type.cjs"),R=require("../schemas.cjs"),I=require("./get_transaction_gas_pricing.cjs"),d=require("../../../../web3-utils/lib/esm/formatter.cjs"),A=require("../../../../web3-utils/lib/esm/converters.cjs");var _=globalThis&&globalThis.__awaiter||function(i,r,t,e){function a(u){return u instanceof t?u:new t(function(c){c(u)})}return new(t||(t=Promise))(function(u,c){function f(o){try{T(e.next(o))}catch(h){c(h)}}function b(o){try{T(e.throw(o))}catch(h){c(h)}}function T(o){o.done?u(o.value):a(o.value).then(f,b)}T((e=e.apply(i,r||[])).next())})};const g=(i,r,t,e)=>{if(t!==void 0&&i in t&&t[i]!==void 0){if(typeof t[i]=="string"&&p.isAddress(t[i]))return t[i];if(!y.isHexStrict(t[i])&&O.isNumber(t[i])){if(r.wallet){const a=r.wallet.get(d.format({format:"uint"},t[i],C.NUMBER_DATA_FORMAT));if(!n.isNullish(a))return a.address;throw new l.LocalWalletNotAvailableError}throw new l.LocalWalletNotAvailableError}else throw i==="from"?new l.InvalidTransactionWithSender(t.from):new l.InvalidTransactionWithReceiver(t.to)}if(i==="from"){if(!n.isNullish(e))return v.privateKeyToAddress(e);if(!n.isNullish(r.defaultAccount))return r.defaultAccount}},N=(i,r,t=s.DEFAULT_RETURN_FORMAT)=>_(void 0,void 0,void 0,function*(){if(n.isNullish(r))throw new l.UnableToPopulateNonceError;return m.getTransactionCount(i,r,i.defaultBlock,t)}),w=(i,r)=>{const t=E.detectTransactionType(i,r);if(!n.isNullish(t))return t;if(!n.isNullish(r.defaultTransactionType))return d.format({format:"uint"},r.defaultTransactionType,s.ETH_DATA_FORMAT)};function q(i){var r,t;return _(this,void 0,void 0,function*(){let e=d.format(R.transactionSchema,i.transaction,s.DEFAULT_RETURN_FORMAT);if(n.isNullish(e.from)&&(e.from=g("from",i.web3Context,void 0,i.privateKey)),n.isNullish(e.nonce)&&(e.nonce=yield N(i.web3Context,e.from,s.ETH_DATA_FORMAT)),n.isNullish(e.value)&&(e.value="0x0"),n.isNullish(e.data))n.isNullish(e.input)?e.input="0x":e.input.startsWith("0x")||(e.input=`0x${e.input}`);else{if(!n.isNullish(e.input)&&e.data!==e.input)throw new l.TransactionDataAndInputError({data:A.bytesToHex(e.data),input:A.bytesToHex(e.input)});e.data.startsWith("0x")||(e.data=`0x${e.data}`)}if(n.isNullish(e.common)){if(i.web3Context.defaultCommon){const a=i.web3Context.defaultCommon,u=a.customChain.chainId,c=a.customChain.networkId,f=a.customChain.name;e.common=Object.assign(Object.assign({},a),{customChain:{chainId:u,networkId:c,name:f}})}n.isNullish(e.chain)&&(e.chain=i.web3Context.defaultChain),n.isNullish(e.hardfork)&&(e.hardfork=i.web3Context.defaultHardfork)}if(n.isNullish(e.chainId)&&n.isNullish((r=e.common)===null||r===void 0?void 0:r.customChain.chainId)&&(e.chainId=yield m.getChainId(i.web3Context,s.ETH_DATA_FORMAT)),n.isNullish(e.networkId)&&(e.networkId=(t=i.web3Context.defaultNetworkId)!==null&&t!==void 0?t:yield x.getId(i.web3Context,s.ETH_DATA_FORMAT)),n.isNullish(e.gasLimit)&&!n.isNullish(e.gas)&&(e.gasLimit=e.gas),e.type=w(e,i.web3Context),n.isNullish(e.accessList)&&(e.type==="0x1"||e.type==="0x2")&&(e.accessList=[]),i.fillGasPrice&&(e=Object.assign(Object.assign({},e),yield I.getTransactionGasPricing(e,i.web3Context,s.ETH_DATA_FORMAT))),n.isNullish(e.gas)&&n.isNullish(e.gasLimit)&&i.fillGasLimit){const a=yield m.estimateGas(i.web3Context,e,"latest",s.ETH_DATA_FORMAT);e=Object.assign(Object.assign({},e),{gas:d.format({format:"uint"},a,s.ETH_DATA_FORMAT)})}return e})}const F=i=>_(void 0,void 0,void 0,function*(){var r;return((r=i.web3Context.transactionBuilder)!==null&&r!==void 0?r:q)(Object.assign(Object.assign({},i),{transaction:i.transaction}))});exports.defaultTransactionBuilder=q;exports.getTransactionFromOrToAttr=g;exports.getTransactionNonce=N;exports.getTransactionType=w;exports.transactionBuilder=F;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const s=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/wallet.cjs");const v=require("../../../../web3-eth-accounts/lib/esm/account.cjs");require("../../../../crc-32/crc32.cjs");require("../../../../web3-eth-accounts/lib/esm/common/types.cjs");const l=require("../../../../web3-errors/lib/esm/errors/transaction_errors.cjs");require("../../../../web3-errors/lib/esm/errors/rpc_errors.cjs");require("../../../../web3-validator/lib/esm/formats.cjs");const y=require("../../../../web3-validator/lib/esm/validation/string.cjs");require("../../../../web3-validator/lib/esm/default_validator.cjs");const p=require("../../../../web3-validator/lib/esm/validation/address.cjs"),O=require("../../../../web3-validator/lib/esm/validation/numbers.cjs"),n=require("../../../../web3-validator/lib/esm/validation/object.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");require("../../../../web3-net/lib/esm/net.cjs");const x=require("../../../../web3-net/lib/esm/rpc_method_wrappers.cjs"),C=require("../constants.cjs"),m=require("../rpc_method_wrappers.cjs"),E=require("./detect_transaction_type.cjs"),R=require("../schemas.cjs"),I=require("./get_transaction_gas_pricing.cjs"),d=require("../../../../web3-utils/lib/esm/formatter.cjs"),A=require("../../../../web3-utils/lib/esm/converters.cjs");var _=function(i,r,t,e){function a(u){return u instanceof t?u:new t(function(c){c(u)})}return new(t||(t=Promise))(function(u,c){function f(o){try{T(e.next(o))}catch(h){c(h)}}function b(o){try{T(e.throw(o))}catch(h){c(h)}}function T(o){o.done?u(o.value):a(o.value).then(f,b)}T((e=e.apply(i,r||[])).next())})};const N=(i,r,t,e)=>{if(t!==void 0&&i in t&&t[i]!==void 0){if(typeof t[i]=="string"&&p.isAddress(t[i]))return t[i];if(!y.isHexStrict(t[i])&&O.isNumber(t[i])){if(r.wallet){const a=r.wallet.get(d.format({format:"uint"},t[i],C.NUMBER_DATA_FORMAT));if(!n.isNullish(a))return a.address;throw new l.LocalWalletNotAvailableError}throw new l.LocalWalletNotAvailableError}else throw i==="from"?new l.InvalidTransactionWithSender(t.from):new l.InvalidTransactionWithReceiver(t.to)}if(i==="from"){if(!n.isNullish(e))return v.privateKeyToAddress(e);if(!n.isNullish(r.defaultAccount))return r.defaultAccount}},w=(i,r,t=s.DEFAULT_RETURN_FORMAT)=>_(void 0,void 0,void 0,function*(){if(n.isNullish(r))throw new l.UnableToPopulateNonceError;return m.getTransactionCount(i,r,i.defaultBlock,t)}),g=(i,r)=>{const t=E.detectTransactionType(i,r);if(!n.isNullish(t))return t;if(!n.isNullish(r.defaultTransactionType))return d.format({format:"uint"},r.defaultTransactionType,s.ETH_DATA_FORMAT)};function q(i){var r,t;return _(this,void 0,void 0,function*(){let e=d.format(R.transactionSchema,i.transaction,s.DEFAULT_RETURN_FORMAT);if(n.isNullish(e.from)&&(e.from=N("from",i.web3Context,void 0,i.privateKey)),n.isNullish(e.nonce)&&(e.nonce=yield w(i.web3Context,e.from,s.ETH_DATA_FORMAT)),n.isNullish(e.value)&&(e.value="0x0"),n.isNullish(e.data))n.isNullish(e.input)?e.input="0x":e.input.startsWith("0x")||(e.input=`0x${e.input}`);else{if(!n.isNullish(e.input)&&e.data!==e.input)throw new l.TransactionDataAndInputError({data:A.bytesToHex(e.data),input:A.bytesToHex(e.input)});e.data.startsWith("0x")||(e.data=`0x${e.data}`)}if(n.isNullish(e.common)){if(i.web3Context.defaultCommon){const a=i.web3Context.defaultCommon,u=a.customChain.chainId,c=a.customChain.networkId,f=a.customChain.name;e.common=Object.assign(Object.assign({},a),{customChain:{chainId:u,networkId:c,name:f}})}n.isNullish(e.chain)&&(e.chain=i.web3Context.defaultChain),n.isNullish(e.hardfork)&&(e.hardfork=i.web3Context.defaultHardfork)}if(n.isNullish(e.chainId)&&n.isNullish((r=e.common)===null||r===void 0?void 0:r.customChain.chainId)&&(e.chainId=yield m.getChainId(i.web3Context,s.ETH_DATA_FORMAT)),n.isNullish(e.networkId)&&(e.networkId=(t=i.web3Context.defaultNetworkId)!==null&&t!==void 0?t:yield x.getId(i.web3Context,s.ETH_DATA_FORMAT)),n.isNullish(e.gasLimit)&&!n.isNullish(e.gas)&&(e.gasLimit=e.gas),e.type=g(e,i.web3Context),n.isNullish(e.accessList)&&(e.type==="0x1"||e.type==="0x2")&&(e.accessList=[]),i.fillGasPrice&&(e=Object.assign(Object.assign({},e),yield I.getTransactionGasPricing(e,i.web3Context,s.ETH_DATA_FORMAT))),n.isNullish(e.gas)&&n.isNullish(e.gasLimit)&&i.fillGasLimit){const a=yield m.estimateGas(i.web3Context,e,"latest",s.ETH_DATA_FORMAT);e=Object.assign(Object.assign({},e),{gas:d.format({format:"uint"},a,s.ETH_DATA_FORMAT)})}return e})}const F=i=>_(void 0,void 0,void 0,function*(){var r;return((r=i.web3Context.transactionBuilder)!==null&&r!==void 0?r:q)(Object.assign(Object.assign({},i),{transaction:i.transaction}))});exports.defaultTransactionBuilder=q;exports.getTransactionFromOrToAttr=N;exports.getTransactionNonce=w;exports.getTransactionType=g;exports.transactionBuilder=F;
@@ -1,11 +1,11 @@
1
- import { ETH_DATA_FORMAT as m, DEFAULT_RETURN_FORMAT as w } from "../../../../web3-types/lib/esm/data_format_types.js";
1
+ import { ETH_DATA_FORMAT as m, DEFAULT_RETURN_FORMAT as T } from "../../../../web3-types/lib/esm/data_format_types.js";
2
2
  import "../../../../web3-types/lib/esm/eth_types.js";
3
3
  import "../../../../web3-types/lib/esm/web3_base_provider.js";
4
4
  import "../../../../web3-eth-accounts/lib/esm/wallet.js";
5
- import { privateKeyToAddress as b } from "../../../../web3-eth-accounts/lib/esm/account.js";
5
+ import { privateKeyToAddress as v } from "../../../../web3-eth-accounts/lib/esm/account.js";
6
6
  import "../../../../crc-32/crc32.js";
7
7
  import "../../../../web3-eth-accounts/lib/esm/common/types.js";
8
- import { LocalWalletNotAvailableError as h, InvalidTransactionWithSender as v, InvalidTransactionWithReceiver as x, TransactionDataAndInputError as y, UnableToPopulateNonceError as C } from "../../../../web3-errors/lib/esm/errors/transaction_errors.js";
8
+ import { LocalWalletNotAvailableError as h, InvalidTransactionWithSender as b, InvalidTransactionWithReceiver as x, TransactionDataAndInputError as y, UnableToPopulateNonceError as C } from "../../../../web3-errors/lib/esm/errors/transaction_errors.js";
9
9
  import "../../../../web3-errors/lib/esm/errors/rpc_errors.js";
10
10
  import "../../../../web3-validator/lib/esm/formats.js";
11
11
  import { isHexStrict as A } from "../../../../web3-validator/lib/esm/validation/string.js";
@@ -27,8 +27,8 @@ import { detectTransactionType as E } from "./detect_transaction_type.js";
27
27
  import { transactionSchema as R } from "../schemas.js";
28
28
  import { getTransactionGasPricing as B } from "./get_transaction_gas_pricing.js";
29
29
  import { format as d } from "../../../../web3-utils/lib/esm/formatter.js";
30
- import { bytesToHex as T } from "../../../../web3-utils/lib/esm/converters.js";
31
- var p = globalThis && globalThis.__awaiter || function(i, r, e, t) {
30
+ import { bytesToHex as w } from "../../../../web3-utils/lib/esm/converters.js";
31
+ var p = function(i, r, e, t) {
32
32
  function o(a) {
33
33
  return a instanceof e ? a : new e(function(c) {
34
34
  c(a);
@@ -68,18 +68,18 @@ const F = (i, r, e, t) => {
68
68
  }
69
69
  throw new h();
70
70
  } else
71
- throw i === "from" ? new v(e.from) : (
71
+ throw i === "from" ? new b(e.from) : (
72
72
  // eslint-disable-next-line @typescript-eslint/no-unsafe-call
73
73
  new x(e.to)
74
74
  );
75
75
  }
76
76
  if (i === "from") {
77
77
  if (!n(t))
78
- return b(t);
78
+ return v(t);
79
79
  if (!n(r.defaultAccount))
80
80
  return r.defaultAccount;
81
81
  }
82
- }, G = (i, r, e = w) => p(void 0, void 0, void 0, function* () {
82
+ }, G = (i, r, e = T) => p(void 0, void 0, void 0, function* () {
83
83
  if (n(r))
84
84
  throw new C();
85
85
  return N(i, r, i.defaultBlock, e);
@@ -93,14 +93,14 @@ const F = (i, r, e, t) => {
93
93
  function D(i) {
94
94
  var r, e;
95
95
  return p(this, void 0, void 0, function* () {
96
- let t = d(R, i.transaction, w);
96
+ let t = d(R, i.transaction, T);
97
97
  if (n(t.from) && (t.from = F("from", i.web3Context, void 0, i.privateKey)), n(t.nonce) && (t.nonce = yield G(i.web3Context, t.from, m)), n(t.value) && (t.value = "0x0"), n(t.data))
98
98
  n(t.input) ? t.input = "0x" : t.input.startsWith("0x") || (t.input = `0x${t.input}`);
99
99
  else {
100
100
  if (!n(t.input) && t.data !== t.input)
101
101
  throw new y({
102
- data: T(t.data),
103
- input: T(t.input)
102
+ data: w(t.data),
103
+ input: w(t.input)
104
104
  });
105
105
  t.data.startsWith("0x") || (t.data = `0x${t.data}`);
106
106
  }
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const d=require("../../../../web3-errors/lib/esm/errors/transaction_errors.cjs");require("../../../../web3-errors/lib/esm/errors/rpc_errors.cjs");const m=require("./reject_if_block_timeout.cjs"),T=require("../../../../web3-utils/lib/esm/promise_helpers.cjs");var y=globalThis&&globalThis.__awaiter||function(r,c,e,i){function u(t){return t instanceof e?t:new e(function(o){o(t)})}return new(e||(e=Promise))(function(t,o){function s(n){try{a(i.next(n))}catch(l){o(l)}}function f(n){try{a(i.throw(n))}catch(l){o(l)}}function a(n){n.done?t(n.value):u(n.value).then(s,f)}a((i=i.apply(r,c||[])).next())})};function _(r,c,e){return y(this,void 0,void 0,function*(){const[i,u]=T.rejectIfTimeout(r.transactionSendTimeout,new d.TransactionSendTimeoutError({numberOfSeconds:r.transactionSendTimeout/1e3,transactionHash:e})),[t,o]=yield m.rejectIfBlockTimeout(r,e);try{return yield Promise.race([c(),u,t])}finally{clearTimeout(i),o.clean()}})}exports.trySendTransaction=_;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const l=require("../../../../web3-errors/lib/esm/errors/transaction_errors.cjs");require("../../../../web3-errors/lib/esm/errors/rpc_errors.cjs");const m=require("./reject_if_block_timeout.cjs"),T=require("../../../../web3-utils/lib/esm/promise_helpers.cjs");var y=function(r,c,e,i){function u(n){return n instanceof e?n:new e(function(o){o(n)})}return new(e||(e=Promise))(function(n,o){function f(t){try{a(i.next(t))}catch(d){o(d)}}function s(t){try{a(i.throw(t))}catch(d){o(d)}}function a(t){t.done?n(t.value):u(t.value).then(f,s)}a((i=i.apply(r,c||[])).next())})};function _(r,c,e){return y(this,void 0,void 0,function*(){const[i,u]=T.rejectIfTimeout(r.transactionSendTimeout,new l.TransactionSendTimeoutError({numberOfSeconds:r.transactionSendTimeout/1e3,transactionHash:e})),[n,o]=yield m.rejectIfBlockTimeout(r,e);try{return yield Promise.race([c(),u,n])}finally{clearTimeout(i),o.clean()}})}exports.trySendTransaction=_;
@@ -1,45 +1,45 @@
1
- import { TransactionSendTimeoutError as d } from "../../../../web3-errors/lib/esm/errors/transaction_errors.js";
1
+ import { TransactionSendTimeoutError as l } from "../../../../web3-errors/lib/esm/errors/transaction_errors.js";
2
2
  import "../../../../web3-errors/lib/esm/errors/rpc_errors.js";
3
3
  import { rejectIfBlockTimeout as T } from "./reject_if_block_timeout.js";
4
- import { rejectIfTimeout as s } from "../../../../web3-utils/lib/esm/promise_helpers.js";
5
- var p = globalThis && globalThis.__awaiter || function(r, c, t, o) {
6
- function u(n) {
7
- return n instanceof t ? n : new t(function(i) {
8
- i(n);
4
+ import { rejectIfTimeout as p } from "../../../../web3-utils/lib/esm/promise_helpers.js";
5
+ var s = function(r, c, n, o) {
6
+ function u(e) {
7
+ return e instanceof n ? e : new n(function(i) {
8
+ i(e);
9
9
  });
10
10
  }
11
- return new (t || (t = Promise))(function(n, i) {
12
- function f(e) {
11
+ return new (n || (n = Promise))(function(e, i) {
12
+ function d(t) {
13
13
  try {
14
- m(o.next(e));
15
- } catch (a) {
16
- i(a);
14
+ f(o.next(t));
15
+ } catch (m) {
16
+ i(m);
17
17
  }
18
18
  }
19
- function l(e) {
19
+ function a(t) {
20
20
  try {
21
- m(o.throw(e));
22
- } catch (a) {
23
- i(a);
21
+ f(o.throw(t));
22
+ } catch (m) {
23
+ i(m);
24
24
  }
25
25
  }
26
- function m(e) {
27
- e.done ? n(e.value) : u(e.value).then(f, l);
26
+ function f(t) {
27
+ t.done ? e(t.value) : u(t.value).then(d, a);
28
28
  }
29
- m((o = o.apply(r, c || [])).next());
29
+ f((o = o.apply(r, c || [])).next());
30
30
  });
31
31
  };
32
- function w(r, c, t) {
33
- return p(this, void 0, void 0, function* () {
34
- const [o, u] = s(r.transactionSendTimeout, new d({
32
+ function w(r, c, n) {
33
+ return s(this, void 0, void 0, function* () {
34
+ const [o, u] = p(r.transactionSendTimeout, new l({
35
35
  numberOfSeconds: r.transactionSendTimeout / 1e3,
36
- transactionHash: t
37
- })), [n, i] = yield T(r, t);
36
+ transactionHash: n
37
+ })), [e, i] = yield T(r, n);
38
38
  try {
39
39
  return yield Promise.race([
40
40
  c(),
41
41
  u,
42
- n
42
+ e
43
43
  // this will throw an error on Transaction Block Timeout
44
44
  ]);
45
45
  } finally {
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const T=require("../../../../web3-errors/lib/esm/errors/transaction_errors.cjs");require("../../../../web3-errors/lib/esm/errors/rpc_errors.cjs");const m=require("./reject_if_block_timeout.cjs"),v=require("../rpc_method_wrappers.cjs"),d=require("../../../../web3-utils/lib/esm/promise_helpers.cjs");var p=globalThis&&globalThis.__awaiter||function(t,c,o,n){function s(i){return i instanceof o?i:new o(function(r){r(i)})}return new(o||(o=Promise))(function(i,r){function u(e){try{a(n.next(e))}catch(l){r(l)}}function f(e){try{a(n.throw(e))}catch(l){r(l)}}function a(e){e.done?i(e.value):s(e.value).then(u,f)}a((n=n.apply(t,c||[])).next())})};function h(t,c,o){var n;return p(this,void 0,void 0,function*(){const s=(n=t.transactionReceiptPollingInterval)!==null&&n!==void 0?n:t.transactionPollingInterval,[i,r]=d.pollTillDefinedAndReturnIntervalId(()=>p(this,void 0,void 0,function*(){try{return v.getTransactionReceipt(t,c,o)}catch(l){console.warn("An error happen while trying to get the transaction receipt",l);return}}),s),[u,f]=d.rejectIfTimeout(t.transactionPollingTimeout,new T.TransactionPollingTimeoutError({numberOfSeconds:t.transactionPollingTimeout/1e3,transactionHash:c})),[a,e]=yield m.rejectIfBlockTimeout(t,c);try{return yield Promise.race([i,f,a])}finally{u&&clearTimeout(u),r&&clearInterval(r),e.clean()}})}exports.waitForTransactionReceipt=h;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const m=require("../../../../web3-errors/lib/esm/errors/transaction_errors.cjs");require("../../../../web3-errors/lib/esm/errors/rpc_errors.cjs");const T=require("./reject_if_block_timeout.cjs"),v=require("../rpc_method_wrappers.cjs"),f=require("../../../../web3-utils/lib/esm/promise_helpers.cjs");var p=function(n,c,o,t){function s(i){return i instanceof o?i:new o(function(r){r(i)})}return new(o||(o=Promise))(function(i,r){function u(e){try{a(t.next(e))}catch(l){r(l)}}function d(e){try{a(t.throw(e))}catch(l){r(l)}}function a(e){e.done?i(e.value):s(e.value).then(u,d)}a((t=t.apply(n,c||[])).next())})};function _(n,c,o){var t;return p(this,void 0,void 0,function*(){const s=(t=n.transactionReceiptPollingInterval)!==null&&t!==void 0?t:n.transactionPollingInterval,[i,r]=f.pollTillDefinedAndReturnIntervalId(()=>p(this,void 0,void 0,function*(){try{return v.getTransactionReceipt(n,c,o)}catch(l){console.warn("An error happen while trying to get the transaction receipt",l);return}}),s),[u,d]=f.rejectIfTimeout(n.transactionPollingTimeout,new m.TransactionPollingTimeoutError({numberOfSeconds:n.transactionPollingTimeout/1e3,transactionHash:c})),[a,e]=yield T.rejectIfBlockTimeout(n,c);try{return yield Promise.race([i,d,a])}finally{u&&clearTimeout(u),r&&clearInterval(r),e.clean()}})}exports.waitForTransactionReceipt=_;
@@ -3,52 +3,52 @@ import "../../../../web3-errors/lib/esm/errors/rpc_errors.js";
3
3
  import { rejectIfBlockTimeout as s } from "./reject_if_block_timeout.js";
4
4
  import { getTransactionReceipt as T } from "../rpc_method_wrappers.js";
5
5
  import { pollTillDefinedAndReturnIntervalId as v, rejectIfTimeout as I } from "../../../../web3-utils/lib/esm/promise_helpers.js";
6
- var d = globalThis && globalThis.__awaiter || function(t, c, r, i) {
7
- function f(e) {
8
- return e instanceof r ? e : new r(function(o) {
9
- o(e);
6
+ var m = function(t, c, r, e) {
7
+ function f(i) {
8
+ return i instanceof r ? i : new r(function(o) {
9
+ o(i);
10
10
  });
11
11
  }
12
- return new (r || (r = Promise))(function(e, o) {
12
+ return new (r || (r = Promise))(function(i, o) {
13
13
  function u(n) {
14
14
  try {
15
- l(i.next(n));
16
- } catch (a) {
17
- o(a);
15
+ a(e.next(n));
16
+ } catch (l) {
17
+ o(l);
18
18
  }
19
19
  }
20
- function m(n) {
20
+ function d(n) {
21
21
  try {
22
- l(i.throw(n));
23
- } catch (a) {
24
- o(a);
22
+ a(e.throw(n));
23
+ } catch (l) {
24
+ o(l);
25
25
  }
26
26
  }
27
- function l(n) {
28
- n.done ? e(n.value) : f(n.value).then(u, m);
27
+ function a(n) {
28
+ n.done ? i(n.value) : f(n.value).then(u, d);
29
29
  }
30
- l((i = i.apply(t, c || [])).next());
30
+ a((e = e.apply(t, c || [])).next());
31
31
  });
32
32
  };
33
33
  function _(t, c, r) {
34
- var i;
35
- return d(this, void 0, void 0, function* () {
36
- const f = (i = t.transactionReceiptPollingInterval) !== null && i !== void 0 ? i : t.transactionPollingInterval, [e, o] = v(() => d(this, void 0, void 0, function* () {
34
+ var e;
35
+ return m(this, void 0, void 0, function* () {
36
+ const f = (e = t.transactionReceiptPollingInterval) !== null && e !== void 0 ? e : t.transactionPollingInterval, [i, o] = v(() => m(this, void 0, void 0, function* () {
37
37
  try {
38
38
  return T(t, c, r);
39
- } catch (a) {
40
- console.warn("An error happen while trying to get the transaction receipt", a);
39
+ } catch (l) {
40
+ console.warn("An error happen while trying to get the transaction receipt", l);
41
41
  return;
42
42
  }
43
- }), f), [u, m] = I(t.transactionPollingTimeout, new p({
43
+ }), f), [u, d] = I(t.transactionPollingTimeout, new p({
44
44
  numberOfSeconds: t.transactionPollingTimeout / 1e3,
45
45
  transactionHash: c
46
- })), [l, n] = yield s(t, c);
46
+ })), [a, n] = yield s(t, c);
47
47
  try {
48
48
  return yield Promise.race([
49
- e,
50
- m,
51
- l
49
+ i,
50
+ d,
51
+ a
52
52
  // this will throw an error on Transaction Block Timeout
53
53
  ]);
54
54
  } finally {
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const m=require("../../../../web3-rpc-methods/lib/esm/eth_rpc_methods.cjs");require("../../../../web3-rpc-methods/lib/esm/net_rpc_methods.cjs");require("../../../../web3-rpc-methods/lib/esm/personal_rpc_methods.cjs");const d=require("../schemas.cjs"),v=require("../../../../web3-utils/lib/esm/converters.cjs"),u=require("../../../../web3-utils/lib/esm/formatter.cjs");var y=globalThis&&globalThis.__awaiter||function(o,l,e,n){function c(t){return t instanceof e?t:new e(function(a){a(t)})}return new(e||(e=Promise))(function(t,a){function r(i){try{s(n.next(i))}catch(f){a(f)}}function h(i){try{s(n.throw(i))}catch(f){a(f)}}function s(i){i.done?t(i.value):c(i.value).then(r,h)}s((n=n.apply(o,l||[])).next())})};const g=({web3Context:o,transactionReceipt:l,transactionPromiEvent:e,returnFormat:n})=>{var c;let t=1;const a=setInterval(()=>{y(void 0,void 0,void 0,function*(){t>=o.transactionConfirmationBlocks&&clearInterval(a);const r=yield m.getBlockByNumber(o.requestManager,v.numberToHex(BigInt(l.blockNumber)+BigInt(t)),!1);r!=null&&r.hash&&(t+=1,e.emit("confirmation",{confirmations:u.format({format:"uint"},t,n),receipt:u.format(d.transactionReceiptSchema,l,n),latestBlockHash:u.format({format:"bytes32"},r.hash,n)}))})},(c=o.transactionReceiptPollingInterval)!==null&&c!==void 0?c:o.transactionPollingInterval)};exports.watchTransactionByPolling=g;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const m=require("../../../../web3-rpc-methods/lib/esm/eth_rpc_methods.cjs");require("../../../../web3-rpc-methods/lib/esm/net_rpc_methods.cjs");require("../../../../web3-rpc-methods/lib/esm/personal_rpc_methods.cjs");const h=require("../schemas.cjs"),v=require("../../../../web3-utils/lib/esm/converters.cjs"),u=require("../../../../web3-utils/lib/esm/formatter.cjs");var y=function(i,l,o,t){function c(n){return n instanceof o?n:new o(function(a){a(n)})}return new(o||(o=Promise))(function(n,a){function r(e){try{s(t.next(e))}catch(f){a(f)}}function d(e){try{s(t.throw(e))}catch(f){a(f)}}function s(e){e.done?n(e.value):c(e.value).then(r,d)}s((t=t.apply(i,l||[])).next())})};const B=({web3Context:i,transactionReceipt:l,transactionPromiEvent:o,returnFormat:t})=>{var c;let n=1;const a=setInterval(()=>{y(void 0,void 0,void 0,function*(){n>=i.transactionConfirmationBlocks&&clearInterval(a);const r=yield m.getBlockByNumber(i.requestManager,v.numberToHex(BigInt(l.blockNumber)+BigInt(n)),!1);r!=null&&r.hash&&(n+=1,o.emit("confirmation",{confirmations:u.format({format:"uint"},n,t),receipt:u.format(h.transactionReceiptSchema,l,t),latestBlockHash:u.format({format:"bytes32"},r.hash,t)}))})},(c=i.transactionReceiptPollingInterval)!==null&&c!==void 0?c:i.transactionPollingInterval)};exports.watchTransactionByPolling=B;
@@ -1,51 +1,51 @@
1
- import { getBlockByNumber as h } from "../../../../web3-rpc-methods/lib/esm/eth_rpc_methods.js";
1
+ import { getBlockByNumber as u } from "../../../../web3-rpc-methods/lib/esm/eth_rpc_methods.js";
2
2
  import "../../../../web3-rpc-methods/lib/esm/net_rpc_methods.js";
3
3
  import "../../../../web3-rpc-methods/lib/esm/personal_rpc_methods.js";
4
4
  import { transactionReceiptSchema as p } from "../schemas.js";
5
5
  import { numberToHex as v } from "../../../../web3-utils/lib/esm/converters.js";
6
6
  import { format as s } from "../../../../web3-utils/lib/esm/formatter.js";
7
- var d = globalThis && globalThis.__awaiter || function(o, e, a, i) {
8
- function l(n) {
7
+ var h = function(o, f, a, i) {
8
+ function r(n) {
9
9
  return n instanceof a ? n : new a(function(c) {
10
10
  c(n);
11
11
  });
12
12
  }
13
13
  return new (a || (a = Promise))(function(n, c) {
14
- function r(t) {
14
+ function e(t) {
15
15
  try {
16
- f(i.next(t));
16
+ l(i.next(t));
17
17
  } catch (m) {
18
18
  c(m);
19
19
  }
20
20
  }
21
- function u(t) {
21
+ function d(t) {
22
22
  try {
23
- f(i.throw(t));
23
+ l(i.throw(t));
24
24
  } catch (m) {
25
25
  c(m);
26
26
  }
27
27
  }
28
- function f(t) {
29
- t.done ? n(t.value) : l(t.value).then(r, u);
28
+ function l(t) {
29
+ t.done ? n(t.value) : r(t.value).then(e, d);
30
30
  }
31
- f((i = i.apply(o, e || [])).next());
31
+ l((i = i.apply(o, f || [])).next());
32
32
  });
33
33
  };
34
- const b = ({ web3Context: o, transactionReceipt: e, transactionPromiEvent: a, returnFormat: i }) => {
35
- var l;
34
+ const w = ({ web3Context: o, transactionReceipt: f, transactionPromiEvent: a, returnFormat: i }) => {
35
+ var r;
36
36
  let n = 1;
37
37
  const c = setInterval(() => {
38
- d(void 0, void 0, void 0, function* () {
38
+ h(void 0, void 0, void 0, function* () {
39
39
  n >= o.transactionConfirmationBlocks && clearInterval(c);
40
- const r = yield h(o.requestManager, v(BigInt(e.blockNumber) + BigInt(n)), !1);
41
- r != null && r.hash && (n += 1, a.emit("confirmation", {
40
+ const e = yield u(o.requestManager, v(BigInt(f.blockNumber) + BigInt(n)), !1);
41
+ e != null && e.hash && (n += 1, a.emit("confirmation", {
42
42
  confirmations: s({ format: "uint" }, n, i),
43
- receipt: s(p, e, i),
44
- latestBlockHash: s({ format: "bytes32" }, r.hash, i)
43
+ receipt: s(p, f, i),
44
+ latestBlockHash: s({ format: "bytes32" }, e.hash, i)
45
45
  }));
46
46
  });
47
- }, (l = o.transactionReceiptPollingInterval) !== null && l !== void 0 ? l : o.transactionPollingInterval);
47
+ }, (r = o.transactionReceiptPollingInterval) !== null && r !== void 0 ? r : o.transactionPollingInterval);
48
48
  };
49
49
  export {
50
- b as watchTransactionByPolling
50
+ w as watchTransactionByPolling
51
51
  };
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const y=require("../schemas.cjs"),v=require("./watch_transaction_by_polling.cjs"),d=require("../../../../web3-utils/lib/esm/formatter.cjs");var m=globalThis&&globalThis.__awaiter||function(a,l,t,o){function f(s){return s instanceof t?s:new t(function(c){c(s)})}return new(t||(t=Promise))(function(s,c){function r(n){try{u(o.next(n))}catch(h){c(h)}}function i(n){try{u(o.throw(n))}catch(h){c(h)}}function u(n){n.done?s(n.value):f(n.value).then(r,i)}u((o=o.apply(a,l||[])).next())})};const g=({web3Context:a,transactionReceipt:l,transactionPromiEvent:t,returnFormat:o})=>{let f=!0,s;setImmediate(()=>{var c;(c=a.subscriptionManager)===null||c===void 0||c.subscribe("newHeads").then(r=>{r.on("data",i=>m(void 0,void 0,void 0,function*(){var u;if(f=!1,!(i!=null&&i.number)||s===(i==null?void 0:i.parentHash))return;s=i==null?void 0:i.parentHash;const n=BigInt(i.number)-BigInt(l.blockNumber)+BigInt(1);t.emit("confirmation",{confirmations:d.format({format:"uint"},n,o),receipt:d.format(y.transactionReceiptSchema,l,o),latestBlockHash:d.format({format:"bytes32"},i.parentHash,o)}),n>=a.transactionConfirmationBlocks&&(yield(u=a.subscriptionManager)===null||u===void 0?void 0:u.removeSubscription(r))})),r.on("error",()=>m(void 0,void 0,void 0,function*(){var i;yield(i=a.subscriptionManager)===null||i===void 0?void 0:i.removeSubscription(r),f=!1,v.watchTransactionByPolling({web3Context:a,transactionReceipt:l,transactionPromiEvent:t,returnFormat:o})}))}).catch(()=>{f=!1,v.watchTransactionByPolling({web3Context:a,transactionReceipt:l,transactionPromiEvent:t,returnFormat:o})})}),setTimeout(()=>{f&&v.watchTransactionByPolling({web3Context:a,transactionReceipt:l,transactionPromiEvent:t,returnFormat:o})},a.blockHeaderTimeout*1e3)};exports.watchTransactionBySubscription=g;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("../schemas.cjs"),v=require("./watch_transaction_by_polling.cjs"),h=require("../../../../web3-utils/lib/esm/formatter.cjs");var m=function(o,u,t,n){function l(c){return c instanceof t?c:new t(function(s){s(c)})}return new(t||(t=Promise))(function(c,s){function d(a){try{f(n.next(a))}catch(r){s(r)}}function i(a){try{f(n.throw(a))}catch(r){s(r)}}function f(a){a.done?c(a.value):l(a.value).then(d,i)}f((n=n.apply(o,u||[])).next())})};const y=({web3Context:o,transactionReceipt:u,transactionPromiEvent:t,returnFormat:n})=>{let l=!0,c;setImmediate(()=>{var s;(s=o.subscriptionManager)===null||s===void 0||s.subscribe("newHeads").then(d=>{d.on("data",i=>m(void 0,void 0,void 0,function*(){var f;if(l=!1,!(i!=null&&i.number)||c===(i==null?void 0:i.parentHash))return;c=i==null?void 0:i.parentHash;const a=BigInt(i.number)-BigInt(u.blockNumber)+BigInt(1);t.emit("confirmation",{confirmations:h.format({format:"uint"},a,n),receipt:h.format(e.transactionReceiptSchema,u,n),latestBlockHash:h.format({format:"bytes32"},i.parentHash,n)}),a>=o.transactionConfirmationBlocks&&(yield(f=o.subscriptionManager)===null||f===void 0?void 0:f.removeSubscription(d))})),d.on("error",()=>m(void 0,void 0,void 0,function*(){var i;yield(i=o.subscriptionManager)===null||i===void 0?void 0:i.removeSubscription(d),l=!1,v.watchTransactionByPolling({web3Context:o,transactionReceipt:u,transactionPromiEvent:t,returnFormat:n})}))}).catch(()=>{l=!1,v.watchTransactionByPolling({web3Context:o,transactionReceipt:u,transactionPromiEvent:t,returnFormat:n})})}),setTimeout(()=>{l&&v.watchTransactionByPolling({web3Context:o,transactionReceipt:u,transactionPromiEvent:t,returnFormat:n})},o.blockHeaderTimeout*1e3)};exports.watchTransactionBySubscription=y;
@@ -1,77 +1,77 @@
1
1
  import { transactionReceiptSchema as p } from "../schemas.js";
2
- import { watchTransactionByPolling as h } from "./watch_transaction_by_polling.js";
3
- import { format as m } from "../../../../web3-utils/lib/esm/formatter.js";
4
- var r = globalThis && globalThis.__awaiter || function(n, s, f, o) {
2
+ import { watchTransactionByPolling as m } from "./watch_transaction_by_polling.js";
3
+ import { format as h } from "../../../../web3-utils/lib/esm/formatter.js";
4
+ var r = function(n, d, a, o) {
5
5
  function v(t) {
6
- return t instanceof f ? t : new f(function(l) {
7
- l(t);
6
+ return t instanceof a ? t : new a(function(u) {
7
+ u(t);
8
8
  });
9
9
  }
10
- return new (f || (f = Promise))(function(t, l) {
11
- function c(a) {
10
+ return new (a || (a = Promise))(function(t, u) {
11
+ function l(f) {
12
12
  try {
13
- u(o.next(a));
14
- } catch (d) {
15
- l(d);
13
+ s(o.next(f));
14
+ } catch (c) {
15
+ u(c);
16
16
  }
17
17
  }
18
- function i(a) {
18
+ function i(f) {
19
19
  try {
20
- u(o.throw(a));
21
- } catch (d) {
22
- l(d);
20
+ s(o.throw(f));
21
+ } catch (c) {
22
+ u(c);
23
23
  }
24
24
  }
25
- function u(a) {
26
- a.done ? t(a.value) : v(a.value).then(c, i);
25
+ function s(f) {
26
+ f.done ? t(f.value) : v(f.value).then(l, i);
27
27
  }
28
- u((o = o.apply(n, s || [])).next());
28
+ s((o = o.apply(n, d || [])).next());
29
29
  });
30
30
  };
31
- const T = ({ web3Context: n, transactionReceipt: s, transactionPromiEvent: f, returnFormat: o }) => {
31
+ const g = ({ web3Context: n, transactionReceipt: d, transactionPromiEvent: a, returnFormat: o }) => {
32
32
  let v = !0, t;
33
33
  setImmediate(() => {
34
- var l;
35
- (l = n.subscriptionManager) === null || l === void 0 || l.subscribe("newHeads").then((c) => {
36
- c.on("data", (i) => r(void 0, void 0, void 0, function* () {
37
- var u;
34
+ var u;
35
+ (u = n.subscriptionManager) === null || u === void 0 || u.subscribe("newHeads").then((l) => {
36
+ l.on("data", (i) => r(void 0, void 0, void 0, function* () {
37
+ var s;
38
38
  if (v = !1, !(i != null && i.number) || // For some cases, the on-data event is fired couple times for the same block!
39
39
  // This needs investigation but seems to be because of multiple `subscription.on('data'...)` even this should not cause that.
40
40
  t === (i == null ? void 0 : i.parentHash))
41
41
  return;
42
42
  t = i == null ? void 0 : i.parentHash;
43
- const a = BigInt(i.number) - BigInt(s.blockNumber) + BigInt(1);
44
- f.emit("confirmation", {
45
- confirmations: m({ format: "uint" }, a, o),
46
- receipt: m(p, s, o),
47
- latestBlockHash: m({ format: "bytes32" }, i.parentHash, o)
48
- }), a >= n.transactionConfirmationBlocks && (yield (u = n.subscriptionManager) === null || u === void 0 ? void 0 : u.removeSubscription(c));
49
- })), c.on("error", () => r(void 0, void 0, void 0, function* () {
43
+ const f = BigInt(i.number) - BigInt(d.blockNumber) + BigInt(1);
44
+ a.emit("confirmation", {
45
+ confirmations: h({ format: "uint" }, f, o),
46
+ receipt: h(p, d, o),
47
+ latestBlockHash: h({ format: "bytes32" }, i.parentHash, o)
48
+ }), f >= n.transactionConfirmationBlocks && (yield (s = n.subscriptionManager) === null || s === void 0 ? void 0 : s.removeSubscription(l));
49
+ })), l.on("error", () => r(void 0, void 0, void 0, function* () {
50
50
  var i;
51
- yield (i = n.subscriptionManager) === null || i === void 0 ? void 0 : i.removeSubscription(c), v = !1, h({
51
+ yield (i = n.subscriptionManager) === null || i === void 0 ? void 0 : i.removeSubscription(l), v = !1, m({
52
52
  web3Context: n,
53
- transactionReceipt: s,
54
- transactionPromiEvent: f,
53
+ transactionReceipt: d,
54
+ transactionPromiEvent: a,
55
55
  returnFormat: o
56
56
  });
57
57
  }));
58
58
  }).catch(() => {
59
- v = !1, h({
59
+ v = !1, m({
60
60
  web3Context: n,
61
- transactionReceipt: s,
62
- transactionPromiEvent: f,
61
+ transactionReceipt: d,
62
+ transactionPromiEvent: a,
63
63
  returnFormat: o
64
64
  });
65
65
  });
66
66
  }), setTimeout(() => {
67
- v && h({
67
+ v && m({
68
68
  web3Context: n,
69
- transactionReceipt: s,
70
- transactionPromiEvent: f,
69
+ transactionReceipt: d,
70
+ transactionPromiEvent: a,
71
71
  returnFormat: o
72
72
  });
73
73
  }, n.blockHeaderTimeout * 1e3);
74
74
  };
75
75
  export {
76
- T as watchTransactionBySubscription
76
+ g as watchTransactionBySubscription
77
77
  };