@ozdao/prometheus-framework 0.2.89 → 0.2.91

Sign up to get free protection for your applications and to get access to all the features.
Files changed (182) hide show
  1. package/dist/auth.server.js +1 -0
  2. package/dist/auth.server.mjs +1 -0
  3. package/dist/main-BQisDfLk.js +92 -0
  4. package/dist/main-BV1Yv9Hy.js +92 -0
  5. package/dist/main-DTlUA63C.mjs +13617 -0
  6. package/dist/main-DmNP-t33.mjs +13625 -0
  7. package/dist/main.css +1 -1
  8. package/dist/node_modules/embla-carousel/esm/embla-carousel.esm.cjs +1 -1
  9. package/dist/node_modules/embla-carousel/esm/embla-carousel.esm.js +748 -750
  10. package/dist/node_modules/embla-carousel-autoplay/esm/embla-carousel-autoplay.esm.cjs +1 -1
  11. package/dist/node_modules/embla-carousel-autoplay/esm/embla-carousel-autoplay.esm.js +40 -39
  12. package/dist/node_modules/web3/lib/esm/index.cjs +1 -1
  13. package/dist/node_modules/web3/lib/esm/index.js +42 -41
  14. package/dist/node_modules/web3/lib/esm/version.cjs +1 -1
  15. package/dist/node_modules/web3/lib/esm/version.js +1 -1
  16. package/dist/node_modules/web3-eth/lib/esm/schemas.cjs +1 -1
  17. package/dist/node_modules/web3-eth/lib/esm/schemas.js +113 -88
  18. package/dist/node_modules/web3-eth-contract/lib/esm/contract.cjs +3 -1
  19. package/dist/node_modules/web3-eth-contract/lib/esm/contract.js +242 -217
  20. package/dist/node_modules/web3-eth-contract/lib/esm/encoding.cjs +1 -1
  21. package/dist/node_modules/web3-eth-contract/lib/esm/encoding.js +43 -37
  22. package/dist/node_modules/web3-eth-ens/lib/esm/config.cjs +1 -1
  23. package/dist/node_modules/web3-eth-ens/lib/esm/config.js +3 -1
  24. package/dist/node_modules/web3-eth-ens/lib/esm/ens.cjs +1 -1
  25. package/dist/node_modules/web3-eth-ens/lib/esm/ens.js +34 -13
  26. package/dist/node_modules/web3-eth-ens/lib/esm/resolver.cjs +1 -1
  27. package/dist/node_modules/web3-eth-ens/lib/esm/resolver.js +48 -36
  28. package/dist/node_modules/web3-utils/lib/esm/chunk_response_parser.cjs +1 -1
  29. package/dist/node_modules/web3-utils/lib/esm/chunk_response_parser.js +2 -2
  30. package/dist/node_modules/web3-utils/lib/esm/converters.cjs +1 -1
  31. package/dist/node_modules/web3-utils/lib/esm/converters.js +52 -50
  32. package/dist/node_modules/web3-utils/lib/esm/uint8array.cjs +1 -1
  33. package/dist/node_modules/web3-utils/lib/esm/uint8array.js +13 -13
  34. package/dist/node_modules/web3-validator/lib/esm/utils.cjs +1 -1
  35. package/dist/node_modules/web3-validator/lib/esm/utils.js +76 -87
  36. package/dist/node_modules/web3-validator/lib/esm/validator.cjs +1 -1
  37. package/dist/node_modules/web3-validator/lib/esm/validator.js +49 -47
  38. package/dist/prometheus-framework/node_modules/@capacitor/core/dist/index.cjs +1 -1
  39. package/dist/prometheus-framework/node_modules/@capacitor/core/dist/index.js +168 -158
  40. package/dist/prometheus-framework/src/components/Button/Button.vue.cjs +1 -1
  41. package/dist/prometheus-framework/src/components/Button/Button.vue.js +94 -1
  42. package/dist/prometheus-framework/src/components/Button/Button.vue2.cjs +1 -1
  43. package/dist/prometheus-framework/src/components/Button/Button.vue2.js +1 -102
  44. package/dist/prometheus-framework/src/components/Field/Field.vue.cjs +1 -1
  45. package/dist/prometheus-framework/src/components/Field/Field.vue.js +84 -1
  46. package/dist/prometheus-framework/src/components/Field/Field.vue2.cjs +1 -1
  47. package/dist/prometheus-framework/src/components/Field/Field.vue2.js +1 -84
  48. package/dist/prometheus-framework/src/components/FieldBig/FieldBig.vue.cjs +1 -1
  49. package/dist/prometheus-framework/src/components/FieldBig/FieldBig.vue.js +1 -1
  50. package/dist/prometheus-framework/src/components/FieldPhone/FieldPhone.vue.cjs +1 -1
  51. package/dist/prometheus-framework/src/components/FieldPhone/FieldPhone.vue.js +17 -16
  52. package/dist/prometheus-framework/src/components/Popup/Popup.vue.cjs +1 -1
  53. package/dist/prometheus-framework/src/components/Popup/Popup.vue.js +73 -1
  54. package/dist/prometheus-framework/src/components/Popup/Popup.vue2.cjs +1 -1
  55. package/dist/prometheus-framework/src/components/Popup/Popup.vue2.js +1 -73
  56. package/dist/prometheus-framework/src/modules/auth/components/layouts/Auth.vue.cjs +1 -1
  57. package/dist/prometheus-framework/src/modules/auth/components/layouts/Auth.vue.js +9 -8
  58. package/dist/prometheus-framework/src/modules/auth/components/pages/EnterCode.vue.cjs +1 -1
  59. package/dist/prometheus-framework/src/modules/auth/components/pages/EnterCode.vue.js +1 -1
  60. package/dist/prometheus-framework/src/modules/auth/components/pages/EnterPassword.vue.cjs +1 -1
  61. package/dist/prometheus-framework/src/modules/auth/components/pages/EnterPassword.vue.js +2 -2
  62. package/dist/prometheus-framework/src/modules/auth/components/pages/Invite.vue.cjs +1 -1
  63. package/dist/prometheus-framework/src/modules/auth/components/pages/Invite.vue.js +2 -2
  64. package/dist/prometheus-framework/src/modules/auth/components/pages/ResetPassword.vue.cjs +1 -1
  65. package/dist/prometheus-framework/src/modules/auth/components/pages/ResetPassword.vue.js +28 -29
  66. package/dist/prometheus-framework/src/modules/auth/components/pages/SignIn.vue.cjs +1 -1
  67. package/dist/prometheus-framework/src/modules/auth/components/pages/SignIn.vue.js +65 -65
  68. package/dist/prometheus-framework/src/modules/auth/components/pages/SignUp.vue.cjs +1 -1
  69. package/dist/prometheus-framework/src/modules/auth/components/pages/SignUp.vue.js +38 -39
  70. package/dist/prometheus-framework/src/modules/auth/store/auth.cjs +1 -1
  71. package/dist/prometheus-framework/src/modules/auth/store/auth.js +35 -37
  72. package/dist/prometheus-framework/src/modules/auth/store/twofa.cjs +1 -1
  73. package/dist/prometheus-framework/src/modules/auth/store/twofa.js +3 -3
  74. package/dist/prometheus-framework/src/modules/backoffice/components/pages/Dashboard.vue.cjs +1 -1
  75. package/dist/prometheus-framework/src/modules/backoffice/components/pages/Dashboard.vue.js +1 -1
  76. package/dist/prometheus-framework/src/modules/community/components/pages/Community.vue.cjs +1 -1
  77. package/dist/prometheus-framework/src/modules/community/components/pages/Community.vue.js +11 -10
  78. package/dist/prometheus-framework/src/modules/community/components/pages/CreateBlogPost.vue.cjs +1 -1
  79. package/dist/prometheus-framework/src/modules/community/components/pages/CreateBlogPost.vue.js +3 -3
  80. package/dist/prometheus-framework/src/modules/community/components/sections/HotPosts.vue.cjs +1 -1
  81. package/dist/prometheus-framework/src/modules/community/components/sections/HotPosts.vue.js +1 -1
  82. package/dist/prometheus-framework/src/modules/constructor/components/elements/Embed.vue.cjs +1 -1
  83. package/dist/prometheus-framework/src/modules/constructor/components/elements/Embed.vue.js +1 -1
  84. package/dist/prometheus-framework/src/modules/events/components/elements/ButtonCheck.vue.cjs +1 -1
  85. package/dist/prometheus-framework/src/modules/events/components/elements/ButtonCheck.vue.js +2 -2
  86. package/dist/prometheus-framework/src/modules/events/components/elements/ButtonJoin.vue.cjs +1 -1
  87. package/dist/prometheus-framework/src/modules/events/components/elements/ButtonJoin.vue.js +1 -1
  88. package/dist/prometheus-framework/src/modules/events/components/pages/EditEvent.vue.cjs +1 -1
  89. package/dist/prometheus-framework/src/modules/events/components/pages/EditEvent.vue.js +3 -3
  90. package/dist/prometheus-framework/src/modules/events/components/pages/EditEventTickets.vue.cjs +1 -1
  91. package/dist/prometheus-framework/src/modules/events/components/pages/EditEventTickets.vue.js +3 -3
  92. package/dist/prometheus-framework/src/modules/gallery/components/sections/BackofficeGallery.vue.cjs +1 -1
  93. package/dist/prometheus-framework/src/modules/gallery/components/sections/BackofficeGallery.vue.js +2 -2
  94. package/dist/prometheus-framework/src/modules/gallery/components/sections/GalleryWithCategories.vue.cjs +1 -1
  95. package/dist/prometheus-framework/src/modules/gallery/components/sections/GalleryWithCategories.vue.js +2 -2
  96. package/dist/prometheus-framework/src/modules/globals/components/blocks/BlockSearch.vue.cjs +1 -1
  97. package/dist/prometheus-framework/src/modules/globals/components/blocks/BlockSearch.vue.js +1 -1
  98. package/dist/prometheus-framework/src/modules/globals/components/blocks/CardHeader.vue.cjs +1 -1
  99. package/dist/prometheus-framework/src/modules/globals/components/blocks/CardHeader.vue.js +4 -3
  100. package/dist/prometheus-framework/src/modules/legal/components/pages/Legal.vue.cjs +1 -1
  101. package/dist/prometheus-framework/src/modules/legal/components/pages/Legal.vue.js +6 -5
  102. package/dist/prometheus-framework/src/modules/middlewares/client/inputs.validation.cjs +1 -1
  103. package/dist/prometheus-framework/src/modules/middlewares/client/inputs.validation.js +10 -13
  104. package/dist/prometheus-framework/src/modules/mobile/components/Menu/Menu.vue.cjs +1 -1
  105. package/dist/prometheus-framework/src/modules/mobile/components/Menu/Menu.vue.js +13 -1
  106. package/dist/prometheus-framework/src/modules/mobile/components/Menu/Menu.vue2.cjs +1 -1
  107. package/dist/prometheus-framework/src/modules/mobile/components/Menu/Menu.vue2.js +1 -13
  108. package/dist/prometheus-framework/src/modules/orders/components/pages/OrderCreateBackoffice.vue.cjs +1 -1
  109. package/dist/prometheus-framework/src/modules/orders/components/pages/OrderCreateBackoffice.vue.js +3 -3
  110. package/dist/prometheus-framework/src/modules/orders/components/sections/FormAddCustomer.vue.cjs +1 -1
  111. package/dist/prometheus-framework/src/modules/orders/components/sections/FormAddCustomer.vue.js +2 -2
  112. package/dist/prometheus-framework/src/modules/orders/components/sections/FormCustomerDetails.vue.cjs +1 -1
  113. package/dist/prometheus-framework/src/modules/orders/components/sections/FormCustomerDetails.vue.js +1 -1
  114. package/dist/prometheus-framework/src/modules/orders/components/sections/FormDelivery.vue.cjs +1 -1
  115. package/dist/prometheus-framework/src/modules/orders/components/sections/FormDelivery.vue.js +1 -1
  116. package/dist/prometheus-framework/src/modules/organizations/components/blocks/DepartmentMemberModify.vue.cjs +1 -1
  117. package/dist/prometheus-framework/src/modules/organizations/components/blocks/DepartmentMemberModify.vue.js +1 -1
  118. package/dist/prometheus-framework/src/modules/organizations/components/elements/ButtonToggleMembership.vue.cjs +1 -1
  119. package/dist/prometheus-framework/src/modules/organizations/components/elements/ButtonToggleMembership.vue.js +1 -1
  120. package/dist/prometheus-framework/src/modules/organizations/components/pages/DepartmentEdit.vue.cjs +1 -1
  121. package/dist/prometheus-framework/src/modules/organizations/components/pages/DepartmentEdit.vue.js +3 -3
  122. package/dist/prometheus-framework/src/modules/organizations/components/pages/Members.vue.cjs +1 -1
  123. package/dist/prometheus-framework/src/modules/organizations/components/pages/Members.vue.js +2 -2
  124. package/dist/prometheus-framework/src/modules/organizations/components/pages/Organization.vue.cjs +1 -1
  125. package/dist/prometheus-framework/src/modules/organizations/components/pages/Organization.vue.js +1 -1
  126. package/dist/prometheus-framework/src/modules/organizations/components/pages/OrganizationEdit.vue.cjs +1 -1
  127. package/dist/prometheus-framework/src/modules/organizations/components/pages/OrganizationEdit.vue.js +3 -3
  128. package/dist/prometheus-framework/src/modules/organizations/components/sections/Documents.vue.cjs +1 -1
  129. package/dist/prometheus-framework/src/modules/organizations/components/sections/Documents.vue.js +6 -5
  130. package/dist/prometheus-framework/src/modules/organizations/components/sections/MembersAdd.vue.cjs +1 -1
  131. package/dist/prometheus-framework/src/modules/organizations/components/sections/MembersAdd.vue.js +2 -2
  132. package/dist/prometheus-framework/src/modules/organizations/components/sections/Organizations.vue.cjs +1 -1
  133. package/dist/prometheus-framework/src/modules/organizations/components/sections/Organizations.vue.js +6 -5
  134. package/dist/prometheus-framework/src/modules/products/components/blocks/CardPosition.vue.cjs +1 -1
  135. package/dist/prometheus-framework/src/modules/products/components/blocks/CardPosition.vue.js +1 -1
  136. package/dist/prometheus-framework/src/modules/products/components/blocks/ImagesThumbnails.vue.cjs +1 -1
  137. package/dist/prometheus-framework/src/modules/products/components/blocks/ImagesThumbnails.vue.js +1 -1
  138. package/dist/prometheus-framework/src/modules/products/components/blocks/LeftoverPositions.vue.cjs +1 -1
  139. package/dist/prometheus-framework/src/modules/products/components/blocks/LeftoverPositions.vue.js +1 -1
  140. package/dist/prometheus-framework/src/modules/products/components/blocks/ListPositions.vue.cjs +1 -1
  141. package/dist/prometheus-framework/src/modules/products/components/blocks/ListPositions.vue.js +1 -1
  142. package/dist/prometheus-framework/src/modules/products/components/pages/Categories.vue.cjs +1 -1
  143. package/dist/prometheus-framework/src/modules/products/components/pages/Categories.vue.js +1 -1
  144. package/dist/prometheus-framework/src/modules/products/components/pages/CategoryEdit.vue.cjs +1 -1
  145. package/dist/prometheus-framework/src/modules/products/components/pages/CategoryEdit.vue.js +2 -2
  146. package/dist/prometheus-framework/src/modules/products/components/pages/EditLeftover.vue.cjs +1 -1
  147. package/dist/prometheus-framework/src/modules/products/components/pages/EditLeftover.vue.js +2 -2
  148. package/dist/prometheus-framework/src/modules/products/components/pages/Product.vue.cjs +1 -1
  149. package/dist/prometheus-framework/src/modules/products/components/pages/Product.vue.js +20 -25
  150. package/dist/prometheus-framework/src/modules/products/components/pages/ProductEdit.vue.cjs +1 -1
  151. package/dist/prometheus-framework/src/modules/products/components/pages/ProductEdit.vue.js +3 -3
  152. package/dist/prometheus-framework/src/modules/products/components/sections/EditModifications.vue.cjs +1 -1
  153. package/dist/prometheus-framework/src/modules/products/components/sections/EditModifications.vue.js +1 -1
  154. package/dist/prometheus-framework/src/modules/products/components/sections/EditProductInfo.vue.cjs +1 -1
  155. package/dist/prometheus-framework/src/modules/products/components/sections/EditProductInfo.vue.js +8 -7
  156. package/dist/prometheus-framework/src/modules/products/components/sections/SectionProduct.vue.cjs +1 -1
  157. package/dist/prometheus-framework/src/modules/products/components/sections/SectionProduct.vue.js +1 -1
  158. package/dist/prometheus-framework/src/modules/reports/components/sections/FormReport.vue.cjs +1 -1
  159. package/dist/prometheus-framework/src/modules/reports/components/sections/FormReport.vue.js +2 -2
  160. package/dist/prometheus-framework/src/modules/users/components/pages/Profile.vue.cjs +1 -1
  161. package/dist/prometheus-framework/src/modules/users/components/pages/Profile.vue.js +6 -5
  162. package/dist/prometheus-framework/src/modules/users/components/pages/ProfileEdit.vue.cjs +1 -1
  163. package/dist/prometheus-framework/src/modules/users/components/pages/ProfileEdit.vue.js +2 -2
  164. package/dist/prometheus-framework/src/modules/wallet/views/components/pages/Wallet.vue.cjs +1 -1
  165. package/dist/prometheus-framework/src/modules/wallet/views/components/pages/Wallet.vue.js +5 -4
  166. package/dist/prometheus-framework.cjs.js +1 -1
  167. package/dist/prometheus-framework.es.js +1 -1
  168. package/dist/style.css +1 -1
  169. package/dist/web-Bk_OtXgv.js +1 -0
  170. package/dist/web-CXzcKdk4.mjs +54 -0
  171. package/dist/web-D9Cfcy5k.js +1 -0
  172. package/dist/web-VFuzUsNl.mjs +54 -0
  173. package/package.json +1 -1
  174. package/src/components/Button/Button.vue +5 -8
  175. package/src/components/FieldPhone/FieldPhone.vue +4 -0
  176. package/src/modules/auth/components/pages/ResetPassword.vue +1 -1
  177. package/src/modules/auth/components/pages/SignIn.vue +3 -3
  178. package/src/modules/auth/components/pages/SignUp.vue +1 -1
  179. package/src/modules/auth/controllers/auth.controller.js +1 -0
  180. package/src/modules/auth/store/auth.js +3 -5
  181. package/src/modules/auth/store/twofa.js +1 -1
  182. package/src/modules/middlewares/client/inputs.validation.js +0 -13
@@ -24,7 +24,7 @@ async function sendCode (user, method, type) {
24
24
  if (method === 'reset-password') api = '/api/twofa/sendcodereset'
25
25
 
26
26
  return await $axios.post(api, {
27
- phone: user.phone.number,
27
+ phone: user.phone,
28
28
  email: user.email,
29
29
  method: method,
30
30
  type: type
@@ -55,19 +55,6 @@ function validateLength(input) {
55
55
  }
56
56
 
57
57
  function validatePhone(phone) {
58
- // const phoneRegex = /^.{6,}$/;
59
-
60
- // console.log(parsePhoneNumberFromString(phone))
61
- console.log(phone)
62
-
63
- console.log(phone.valid)
64
- if (!phone.valid) {
65
- return {
66
- status: false,
67
- message: i18n.global.t("validation.phone")
68
- }
69
- }
70
-
71
58
  return {
72
59
  status: true,
73
60
  message: null