@ozdao/prometheus-framework 0.2.34 → 0.2.36

Sign up to get free protection for your applications and to get access to all the features.
Files changed (322) hide show
  1. package/dist/events.server.js +2 -1
  2. package/dist/events.server.mjs +2 -1
  3. package/dist/main.css +1 -1
  4. package/dist/node_modules/@ozdao/prometheus-framework/dist/_virtual/_commonjsHelpers.cjs +1 -0
  5. package/dist/node_modules/@ozdao/prometheus-framework/dist/_virtual/_commonjsHelpers.js +6 -0
  6. package/dist/node_modules/@ozdao/prometheus-framework/dist/_virtual/_plugin-vue_export-helper.cjs +1 -0
  7. package/dist/node_modules/@ozdao/prometheus-framework/dist/_virtual/_plugin-vue_export-helper.js +9 -0
  8. package/dist/node_modules/@ozdao/prometheus-framework/dist/_virtual/js.cookie.cjs +1 -0
  9. package/dist/node_modules/@ozdao/prometheus-framework/dist/_virtual/js.cookie.js +4 -0
  10. package/dist/node_modules/@ozdao/prometheus-framework/dist/node_modules/js-cookie/src/js.cookie.cjs +7 -0
  11. package/dist/node_modules/@ozdao/prometheus-framework/dist/node_modules/js-cookie/src/js.cookie.js +97 -0
  12. package/dist/node_modules/@ozdao/prometheus-framework/dist/node_modules/vue-select/dist/vue-select.es.cjs +1 -0
  13. package/dist/node_modules/@ozdao/prometheus-framework/dist/node_modules/vue-select/dist/vue-select.es.js +173 -0
  14. package/dist/node_modules/@ozdao/prometheus-framework/dist/prometheus-framework/node_modules/@capacitor/core/dist/index.cjs +1 -0
  15. package/dist/node_modules/@ozdao/prometheus-framework/dist/prometheus-framework/node_modules/@capacitor/core/dist/index.js +337 -0
  16. package/dist/node_modules/@ozdao/prometheus-framework/dist/prometheus-framework/node_modules/@capacitor/preferences/dist/esm/index.cjs +1 -0
  17. package/dist/node_modules/@ozdao/prometheus-framework/dist/prometheus-framework/node_modules/@capacitor/preferences/dist/esm/index.js +7 -0
  18. package/dist/node_modules/@ozdao/prometheus-framework/dist/prometheus-framework/node_modules/@capacitor/preferences/dist/esm/web.cjs +1 -0
  19. package/dist/node_modules/@ozdao/prometheus-framework/dist/prometheus-framework/node_modules/@capacitor/preferences/dist/esm/web.js +54 -0
  20. package/dist/node_modules/@ozdao/prometheus-framework/dist/prometheus-framework/node_modules/axios/lib/adapters/adapters.cjs +3 -0
  21. package/dist/node_modules/@ozdao/prometheus-framework/dist/prometheus-framework/node_modules/axios/lib/adapters/adapters.js +51 -0
  22. package/dist/node_modules/@ozdao/prometheus-framework/dist/prometheus-framework/node_modules/axios/lib/adapters/xhr.cjs +1 -0
  23. package/dist/node_modules/@ozdao/prometheus-framework/dist/prometheus-framework/node_modules/axios/lib/adapters/xhr.js +109 -0
  24. package/dist/node_modules/@ozdao/prometheus-framework/dist/prometheus-framework/node_modules/axios/lib/axios.cjs +1 -0
  25. package/dist/node_modules/@ozdao/prometheus-framework/dist/prometheus-framework/node_modules/axios/lib/axios.js +47 -0
  26. package/dist/node_modules/@ozdao/prometheus-framework/dist/prometheus-framework/node_modules/axios/lib/cancel/CancelToken.cjs +1 -0
  27. package/dist/node_modules/@ozdao/prometheus-framework/dist/prometheus-framework/node_modules/axios/lib/cancel/CancelToken.js +73 -0
  28. package/dist/node_modules/@ozdao/prometheus-framework/dist/prometheus-framework/node_modules/axios/lib/cancel/CanceledError.cjs +1 -0
  29. package/dist/node_modules/@ozdao/prometheus-framework/dist/prometheus-framework/node_modules/axios/lib/cancel/CanceledError.js +11 -0
  30. package/dist/node_modules/@ozdao/prometheus-framework/dist/prometheus-framework/node_modules/axios/lib/cancel/isCancel.cjs +1 -0
  31. package/dist/node_modules/@ozdao/prometheus-framework/dist/prometheus-framework/node_modules/axios/lib/cancel/isCancel.js +6 -0
  32. package/dist/node_modules/@ozdao/prometheus-framework/dist/prometheus-framework/node_modules/axios/lib/core/Axios.cjs +1 -0
  33. package/dist/node_modules/@ozdao/prometheus-framework/dist/prometheus-framework/node_modules/axios/lib/core/Axios.js +117 -0
  34. package/dist/node_modules/@ozdao/prometheus-framework/dist/prometheus-framework/node_modules/axios/lib/core/AxiosError.cjs +1 -0
  35. package/dist/node_modules/@ozdao/prometheus-framework/dist/prometheus-framework/node_modules/axios/lib/core/AxiosError.js +54 -0
  36. package/dist/node_modules/@ozdao/prometheus-framework/dist/prometheus-framework/node_modules/axios/lib/core/AxiosHeaders.cjs +2 -0
  37. package/dist/node_modules/@ozdao/prometheus-framework/dist/prometheus-framework/node_modules/axios/lib/core/AxiosHeaders.js +165 -0
  38. package/dist/node_modules/@ozdao/prometheus-framework/dist/prometheus-framework/node_modules/axios/lib/core/InterceptorManager.cjs +1 -0
  39. package/dist/node_modules/@ozdao/prometheus-framework/dist/prometheus-framework/node_modules/axios/lib/core/InterceptorManager.js +59 -0
  40. package/dist/node_modules/@ozdao/prometheus-framework/dist/prometheus-framework/node_modules/axios/lib/core/buildFullPath.cjs +1 -0
  41. package/dist/node_modules/@ozdao/prometheus-framework/dist/prometheus-framework/node_modules/axios/lib/core/buildFullPath.js +8 -0
  42. package/dist/node_modules/@ozdao/prometheus-framework/dist/prometheus-framework/node_modules/axios/lib/core/dispatchRequest.cjs +1 -0
  43. package/dist/node_modules/@ozdao/prometheus-framework/dist/prometheus-framework/node_modules/axios/lib/core/dispatchRequest.js +31 -0
  44. package/dist/node_modules/@ozdao/prometheus-framework/dist/prometheus-framework/node_modules/axios/lib/core/mergeConfig.cjs +1 -0
  45. package/dist/node_modules/@ozdao/prometheus-framework/dist/prometheus-framework/node_modules/axios/lib/core/mergeConfig.js +72 -0
  46. package/dist/node_modules/@ozdao/prometheus-framework/dist/prometheus-framework/node_modules/axios/lib/core/settle.cjs +1 -0
  47. package/dist/node_modules/@ozdao/prometheus-framework/dist/prometheus-framework/node_modules/axios/lib/core/settle.js +14 -0
  48. package/dist/node_modules/@ozdao/prometheus-framework/dist/prometheus-framework/node_modules/axios/lib/core/transformData.cjs +1 -0
  49. package/dist/node_modules/@ozdao/prometheus-framework/dist/prometheus-framework/node_modules/axios/lib/core/transformData.js +13 -0
  50. package/dist/node_modules/@ozdao/prometheus-framework/dist/prometheus-framework/node_modules/axios/lib/defaults/index.cjs +1 -0
  51. package/dist/node_modules/@ozdao/prometheus-framework/dist/prometheus-framework/node_modules/axios/lib/defaults/index.js +88 -0
  52. package/dist/node_modules/@ozdao/prometheus-framework/dist/prometheus-framework/node_modules/axios/lib/defaults/transitional.cjs +1 -0
  53. package/dist/node_modules/@ozdao/prometheus-framework/dist/prometheus-framework/node_modules/axios/lib/defaults/transitional.js +8 -0
  54. package/dist/node_modules/@ozdao/prometheus-framework/dist/prometheus-framework/node_modules/axios/lib/env/data.cjs +1 -0
  55. package/dist/node_modules/@ozdao/prometheus-framework/dist/prometheus-framework/node_modules/axios/lib/env/data.js +4 -0
  56. package/dist/node_modules/@ozdao/prometheus-framework/dist/prometheus-framework/node_modules/axios/lib/helpers/AxiosURLSearchParams.cjs +1 -0
  57. package/dist/node_modules/@ozdao/prometheus-framework/dist/prometheus-framework/node_modules/axios/lib/helpers/AxiosURLSearchParams.js +33 -0
  58. package/dist/node_modules/@ozdao/prometheus-framework/dist/prometheus-framework/node_modules/axios/lib/helpers/HttpStatusCode.cjs +1 -0
  59. package/dist/node_modules/@ozdao/prometheus-framework/dist/prometheus-framework/node_modules/axios/lib/helpers/HttpStatusCode.js +72 -0
  60. package/dist/node_modules/@ozdao/prometheus-framework/dist/prometheus-framework/node_modules/axios/lib/helpers/bind.cjs +1 -0
  61. package/dist/node_modules/@ozdao/prometheus-framework/dist/prometheus-framework/node_modules/axios/lib/helpers/bind.js +8 -0
  62. package/dist/node_modules/@ozdao/prometheus-framework/dist/prometheus-framework/node_modules/axios/lib/helpers/buildURL.cjs +1 -0
  63. package/dist/node_modules/@ozdao/prometheus-framework/dist/prometheus-framework/node_modules/axios/lib/helpers/buildURL.js +19 -0
  64. package/dist/node_modules/@ozdao/prometheus-framework/dist/prometheus-framework/node_modules/axios/lib/helpers/combineURLs.cjs +1 -0
  65. package/dist/node_modules/@ozdao/prometheus-framework/dist/prometheus-framework/node_modules/axios/lib/helpers/combineURLs.js +6 -0
  66. package/dist/node_modules/@ozdao/prometheus-framework/dist/prometheus-framework/node_modules/axios/lib/helpers/cookies.cjs +1 -0
  67. package/dist/node_modules/@ozdao/prometheus-framework/dist/prometheus-framework/node_modules/axios/lib/helpers/cookies.js +32 -0
  68. package/dist/node_modules/@ozdao/prometheus-framework/dist/prometheus-framework/node_modules/axios/lib/helpers/formDataToJSON.cjs +1 -0
  69. package/dist/node_modules/@ozdao/prometheus-framework/dist/prometheus-framework/node_modules/axios/lib/helpers/formDataToJSON.js +30 -0
  70. package/dist/node_modules/@ozdao/prometheus-framework/dist/prometheus-framework/node_modules/axios/lib/helpers/isAbsoluteURL.cjs +1 -0
  71. package/dist/node_modules/@ozdao/prometheus-framework/dist/prometheus-framework/node_modules/axios/lib/helpers/isAbsoluteURL.js +6 -0
  72. package/dist/node_modules/@ozdao/prometheus-framework/dist/prometheus-framework/node_modules/axios/lib/helpers/isAxiosError.cjs +1 -0
  73. package/dist/node_modules/@ozdao/prometheus-framework/dist/prometheus-framework/node_modules/axios/lib/helpers/isAxiosError.js +7 -0
  74. package/dist/node_modules/@ozdao/prometheus-framework/dist/prometheus-framework/node_modules/axios/lib/helpers/isURLSameOrigin.cjs +1 -0
  75. package/dist/node_modules/@ozdao/prometheus-framework/dist/prometheus-framework/node_modules/axios/lib/helpers/isURLSameOrigin.js +37 -0
  76. package/dist/node_modules/@ozdao/prometheus-framework/dist/prometheus-framework/node_modules/axios/lib/helpers/null.cjs +1 -0
  77. package/dist/node_modules/@ozdao/prometheus-framework/dist/prometheus-framework/node_modules/axios/lib/helpers/null.js +4 -0
  78. package/dist/node_modules/@ozdao/prometheus-framework/dist/prometheus-framework/node_modules/axios/lib/helpers/parseHeaders.cjs +2 -0
  79. package/dist/node_modules/@ozdao/prometheus-framework/dist/prometheus-framework/node_modules/axios/lib/helpers/parseHeaders.js +30 -0
  80. package/dist/node_modules/@ozdao/prometheus-framework/dist/prometheus-framework/node_modules/axios/lib/helpers/parseProtocol.cjs +1 -0
  81. package/dist/node_modules/@ozdao/prometheus-framework/dist/prometheus-framework/node_modules/axios/lib/helpers/parseProtocol.js +7 -0
  82. package/dist/node_modules/@ozdao/prometheus-framework/dist/prometheus-framework/node_modules/axios/lib/helpers/speedometer.cjs +1 -0
  83. package/dist/node_modules/@ozdao/prometheus-framework/dist/prometheus-framework/node_modules/axios/lib/helpers/speedometer.js +19 -0
  84. package/dist/node_modules/@ozdao/prometheus-framework/dist/prometheus-framework/node_modules/axios/lib/helpers/spread.cjs +1 -0
  85. package/dist/node_modules/@ozdao/prometheus-framework/dist/prometheus-framework/node_modules/axios/lib/helpers/spread.js +8 -0
  86. package/dist/node_modules/@ozdao/prometheus-framework/dist/prometheus-framework/node_modules/axios/lib/helpers/toFormData.cjs +1 -0
  87. package/dist/node_modules/@ozdao/prometheus-framework/dist/prometheus-framework/node_modules/axios/lib/helpers/toFormData.js +84 -0
  88. package/dist/node_modules/@ozdao/prometheus-framework/dist/prometheus-framework/node_modules/axios/lib/helpers/toURLEncodedForm.cjs +1 -0
  89. package/dist/node_modules/@ozdao/prometheus-framework/dist/prometheus-framework/node_modules/axios/lib/helpers/toURLEncodedForm.js +13 -0
  90. package/dist/node_modules/@ozdao/prometheus-framework/dist/prometheus-framework/node_modules/axios/lib/helpers/validator.cjs +1 -0
  91. package/dist/node_modules/@ozdao/prometheus-framework/dist/prometheus-framework/node_modules/axios/lib/helpers/validator.js +51 -0
  92. package/dist/node_modules/@ozdao/prometheus-framework/dist/prometheus-framework/node_modules/axios/lib/platform/browser/classes/Blob.cjs +1 -0
  93. package/dist/node_modules/@ozdao/prometheus-framework/dist/prometheus-framework/node_modules/axios/lib/platform/browser/classes/Blob.js +4 -0
  94. package/dist/node_modules/@ozdao/prometheus-framework/dist/prometheus-framework/node_modules/axios/lib/platform/browser/classes/FormData.cjs +1 -0
  95. package/dist/node_modules/@ozdao/prometheus-framework/dist/prometheus-framework/node_modules/axios/lib/platform/browser/classes/FormData.js +4 -0
  96. package/dist/node_modules/@ozdao/prometheus-framework/dist/prometheus-framework/node_modules/axios/lib/platform/browser/classes/URLSearchParams.cjs +1 -0
  97. package/dist/node_modules/@ozdao/prometheus-framework/dist/prometheus-framework/node_modules/axios/lib/platform/browser/classes/URLSearchParams.js +5 -0
  98. package/dist/node_modules/@ozdao/prometheus-framework/dist/prometheus-framework/node_modules/axios/lib/platform/browser/index.cjs +1 -0
  99. package/dist/node_modules/@ozdao/prometheus-framework/dist/prometheus-framework/node_modules/axios/lib/platform/browser/index.js +15 -0
  100. package/dist/node_modules/@ozdao/prometheus-framework/dist/prometheus-framework/node_modules/axios/lib/platform/common/utils.cjs +1 -0
  101. package/dist/node_modules/@ozdao/prometheus-framework/dist/prometheus-framework/node_modules/axios/lib/platform/common/utils.js +7 -0
  102. package/dist/node_modules/@ozdao/prometheus-framework/dist/prometheus-framework/node_modules/axios/lib/platform/index.cjs +1 -0
  103. package/dist/node_modules/@ozdao/prometheus-framework/dist/prometheus-framework/node_modules/axios/lib/platform/index.js +9 -0
  104. package/dist/node_modules/@ozdao/prometheus-framework/dist/prometheus-framework/node_modules/axios/lib/utils.cjs +1 -0
  105. package/dist/node_modules/@ozdao/prometheus-framework/dist/prometheus-framework/node_modules/axios/lib/utils.js +224 -0
  106. package/dist/node_modules/@ozdao/prometheus-framework/dist/prometheus-framework/src/modules/auth/store/auth.cjs +1 -0
  107. package/dist/node_modules/@ozdao/prometheus-framework/dist/prometheus-framework/src/modules/auth/store/auth.js +44 -0
  108. package/dist/node_modules/@ozdao/prometheus-framework/dist/prometheus-framework/src/modules/auth/store/twofa.cjs +1 -0
  109. package/dist/node_modules/@ozdao/prometheus-framework/dist/prometheus-framework/src/modules/auth/store/twofa.js +19 -0
  110. package/dist/node_modules/@ozdao/prometheus-framework/dist/prometheus-framework/src/modules/community/store/blogposts.cjs +1 -0
  111. package/dist/node_modules/@ozdao/prometheus-framework/dist/prometheus-framework/src/modules/community/store/blogposts.js +38 -0
  112. package/dist/node_modules/@ozdao/prometheus-framework/dist/prometheus-framework/src/modules/community/store/reactions.cjs +1 -0
  113. package/dist/node_modules/@ozdao/prometheus-framework/dist/prometheus-framework/src/modules/community/store/reactions.js +16 -0
  114. package/dist/node_modules/@ozdao/prometheus-framework/dist/prometheus-framework/src/modules/events/store/events.cjs +1 -0
  115. package/dist/node_modules/@ozdao/prometheus-framework/dist/prometheus-framework/src/modules/events/store/events.js +42 -0
  116. package/dist/node_modules/@ozdao/prometheus-framework/dist/prometheus-framework/src/modules/globals/localization/vue-i18n.cjs +1 -0
  117. package/dist/node_modules/@ozdao/prometheus-framework/dist/prometheus-framework/src/modules/globals/localization/vue-i18n.js +22 -0
  118. package/dist/node_modules/@ozdao/prometheus-framework/dist/prometheus-framework/src/modules/globals/store/globals.cjs +1 -0
  119. package/dist/node_modules/@ozdao/prometheus-framework/dist/prometheus-framework/src/modules/globals/store/globals.js +59 -0
  120. package/dist/node_modules/@ozdao/prometheus-framework/dist/prometheus-framework/src/modules/icons/navigation/IconChevronRight.vue.cjs +1 -0
  121. package/dist/node_modules/@ozdao/prometheus-framework/dist/prometheus-framework/src/modules/icons/navigation/IconChevronRight.vue.js +28 -0
  122. package/dist/node_modules/@ozdao/prometheus-framework/dist/prometheus-framework/src/modules/icons/socials/dribbble.vue.cjs +1 -0
  123. package/dist/node_modules/@ozdao/prometheus-framework/dist/prometheus-framework/src/modules/icons/socials/dribbble.vue.js +21 -0
  124. package/dist/node_modules/@ozdao/prometheus-framework/dist/prometheus-framework/src/modules/icons/socials/facebook.vue.cjs +1 -0
  125. package/dist/node_modules/@ozdao/prometheus-framework/dist/prometheus-framework/src/modules/icons/socials/facebook.vue.js +21 -0
  126. package/dist/node_modules/@ozdao/prometheus-framework/dist/prometheus-framework/src/modules/icons/socials/instagram.vue.cjs +1 -0
  127. package/dist/node_modules/@ozdao/prometheus-framework/dist/prometheus-framework/src/modules/icons/socials/instagram.vue.js +21 -0
  128. package/dist/node_modules/@ozdao/prometheus-framework/dist/prometheus-framework/src/modules/icons/socials/line.vue.cjs +1 -0
  129. package/dist/node_modules/@ozdao/prometheus-framework/dist/prometheus-framework/src/modules/icons/socials/line.vue.js +23 -0
  130. package/dist/node_modules/@ozdao/prometheus-framework/dist/prometheus-framework/src/modules/icons/socials/reddit.vue.cjs +1 -0
  131. package/dist/node_modules/@ozdao/prometheus-framework/dist/prometheus-framework/src/modules/icons/socials/reddit.vue.js +21 -0
  132. package/dist/node_modules/@ozdao/prometheus-framework/dist/prometheus-framework/src/modules/icons/socials/telegram.vue.cjs +1 -0
  133. package/dist/node_modules/@ozdao/prometheus-framework/dist/prometheus-framework/src/modules/icons/socials/telegram.vue.js +29 -0
  134. package/dist/node_modules/@ozdao/prometheus-framework/dist/prometheus-framework/src/modules/icons/socials/twitter.vue.cjs +1 -0
  135. package/dist/node_modules/@ozdao/prometheus-framework/dist/prometheus-framework/src/modules/icons/socials/twitter.vue.js +21 -0
  136. package/dist/node_modules/@ozdao/prometheus-framework/dist/prometheus-framework/src/modules/middlewares/client/auth.validation.cjs +1 -0
  137. package/dist/node_modules/@ozdao/prometheus-framework/dist/prometheus-framework/src/modules/middlewares/client/auth.validation.js +3 -0
  138. package/dist/node_modules/@ozdao/prometheus-framework/dist/prometheus-framework/src/modules/middlewares/client/inputs.validation.cjs +1 -0
  139. package/dist/node_modules/@ozdao/prometheus-framework/dist/prometheus-framework/src/modules/middlewares/client/inputs.validation.js +35 -0
  140. package/dist/node_modules/@ozdao/prometheus-framework/dist/prometheus-framework/src/modules/mobile/components/Menu/MenuItem.vue.cjs +1 -0
  141. package/dist/node_modules/@ozdao/prometheus-framework/dist/prometheus-framework/src/modules/mobile/components/Menu/MenuItem.vue.js +60 -0
  142. package/dist/node_modules/@ozdao/prometheus-framework/dist/prometheus-framework/src/modules/organizations/components/blocks/Socials.vue.cjs +1 -0
  143. package/dist/node_modules/@ozdao/prometheus-framework/dist/prometheus-framework/src/modules/organizations/components/blocks/Socials.vue.js +80 -0
  144. package/dist/node_modules/@ozdao/prometheus-framework/dist/prometheus-framework/src/modules/organizations/store/departments.cjs +1 -0
  145. package/dist/node_modules/@ozdao/prometheus-framework/dist/prometheus-framework/src/modules/organizations/store/departments.js +34 -0
  146. package/dist/node_modules/@ozdao/prometheus-framework/dist/prometheus-framework/src/modules/organizations/store/invites.cjs +1 -0
  147. package/dist/node_modules/@ozdao/prometheus-framework/dist/prometheus-framework/src/modules/organizations/store/invites.js +17 -0
  148. package/dist/node_modules/@ozdao/prometheus-framework/dist/prometheus-framework/src/modules/organizations/store/memberships.cjs +1 -0
  149. package/dist/node_modules/@ozdao/prometheus-framework/dist/prometheus-framework/src/modules/organizations/store/memberships.js +16 -0
  150. package/dist/node_modules/@ozdao/prometheus-framework/dist/prometheus-framework/src/modules/organizations/store/organizations.cjs +1 -0
  151. package/dist/node_modules/@ozdao/prometheus-framework/dist/prometheus-framework/src/modules/organizations/store/organizations.js +42 -0
  152. package/dist/node_modules/@ozdao/prometheus-framework/dist/prometheus-framework/src/modules/products/store/categories.cjs +1 -0
  153. package/dist/node_modules/@ozdao/prometheus-framework/dist/prometheus-framework/src/modules/products/store/categories.js +20 -0
  154. package/dist/node_modules/@ozdao/prometheus-framework/dist/prometheus-framework/src/modules/products/store/products.cjs +1 -0
  155. package/dist/node_modules/@ozdao/prometheus-framework/dist/prometheus-framework/src/modules/products/store/products.js +28 -0
  156. package/dist/node_modules/@ozdao/prometheus-framework/dist/prometheus-framework/src/modules/reports/store/reports.cjs +1 -0
  157. package/dist/node_modules/@ozdao/prometheus-framework/dist/prometheus-framework/src/modules/reports/store/reports.js +28 -0
  158. package/dist/node_modules/@ozdao/prometheus-framework/dist/prometheus-framework/src/modules/spots/store/spots.cjs +1 -0
  159. package/dist/node_modules/@ozdao/prometheus-framework/dist/prometheus-framework/src/modules/spots/store/spots.js +34 -0
  160. package/dist/prometheus-framework/src/components/Checkbox/Checkbox.vue.cjs +1 -1
  161. package/dist/prometheus-framework/src/components/Checkbox/Checkbox.vue.js +2 -61
  162. package/dist/prometheus-framework/src/components/Checkbox/Checkbox.vue2.cjs +1 -1
  163. package/dist/prometheus-framework/src/components/Checkbox/Checkbox.vue2.js +61 -2
  164. package/dist/prometheus-framework/src/components/Countdown/Countdown.vue.cjs +1 -0
  165. package/dist/prometheus-framework/src/components/Countdown/Countdown.vue.js +62 -0
  166. package/dist/prometheus-framework/src/components/Dropdown/Dropdown.vue.cjs +1 -1
  167. package/dist/prometheus-framework/src/components/Dropdown/Dropdown.vue.js +49 -2
  168. package/dist/prometheus-framework/src/components/Dropdown/Dropdown.vue2.cjs +1 -1
  169. package/dist/prometheus-framework/src/components/Dropdown/Dropdown.vue2.js +2 -49
  170. package/dist/prometheus-framework/src/components/EditImages/EditImages.vue.cjs +1 -1
  171. package/dist/prometheus-framework/src/components/EditImages/EditImages.vue.js +42 -34
  172. package/dist/prometheus-framework/src/components/Popup/Popup.vue.cjs +1 -1
  173. package/dist/prometheus-framework/src/components/Popup/Popup.vue.js +2 -70
  174. package/dist/prometheus-framework/src/components/Popup/Popup.vue2.cjs +1 -1
  175. package/dist/prometheus-framework/src/components/Popup/Popup.vue2.js +70 -2
  176. package/dist/prometheus-framework/src/components/Select/Select.vue.cjs +1 -1
  177. package/dist/prometheus-framework/src/components/Select/Select.vue.js +2 -93
  178. package/dist/prometheus-framework/src/components/Select/Select.vue2.cjs +1 -1
  179. package/dist/prometheus-framework/src/components/Select/Select.vue2.js +93 -2
  180. package/dist/prometheus-framework/src/components/Upload/Upload.vue.cjs +1 -1
  181. package/dist/prometheus-framework/src/components/Upload/Upload.vue.js +99 -2
  182. package/dist/prometheus-framework/src/components/Upload/Upload.vue2.cjs +1 -1
  183. package/dist/prometheus-framework/src/components/Upload/Upload.vue2.js +2 -73
  184. package/dist/prometheus-framework/src/components/UploadImage/UploadImage.vue.cjs +1 -1
  185. package/dist/prometheus-framework/src/components/UploadImage/UploadImage.vue.js +30 -28
  186. package/dist/prometheus-framework/src/components/UploadImageMultiple/UploadImageMultiple.vue.cjs +1 -1
  187. package/dist/prometheus-framework/src/components/UploadImageMultiple/UploadImageMultiple.vue.js +25 -24
  188. package/dist/prometheus-framework/src/modules/backoffice/components/pages/Dashboard.vue.cjs +1 -1
  189. package/dist/prometheus-framework/src/modules/backoffice/components/pages/Dashboard.vue.js +1 -1
  190. package/dist/prometheus-framework/src/modules/community/components/layouts/Community.vue.cjs +1 -1
  191. package/dist/prometheus-framework/src/modules/community/components/layouts/Community.vue.js +1 -1
  192. package/dist/prometheus-framework/src/modules/community/components/pages/CreateBlogPost.vue.cjs +1 -1
  193. package/dist/prometheus-framework/src/modules/community/components/pages/CreateBlogPost.vue.js +3 -3
  194. package/dist/prometheus-framework/src/modules/constructor/components/elements/Audio.vue.cjs +1 -1
  195. package/dist/prometheus-framework/src/modules/constructor/components/elements/Audio.vue.js +1 -1
  196. package/dist/prometheus-framework/src/modules/constructor/components/elements/Textarea.vue.cjs +1 -5
  197. package/dist/prometheus-framework/src/modules/constructor/components/elements/Textarea.vue.js +2 -65
  198. package/dist/prometheus-framework/src/modules/constructor/components/elements/Textarea.vue2.cjs +5 -1
  199. package/dist/prometheus-framework/src/modules/constructor/components/elements/Textarea.vue2.js +65 -2
  200. package/dist/prometheus-framework/src/modules/constructor/components/elements/Video.vue.cjs +1 -1
  201. package/dist/prometheus-framework/src/modules/constructor/components/elements/Video.vue.js +1 -1
  202. package/dist/prometheus-framework/src/modules/constructor/components/elements/VideoPlayer.vue.cjs +1 -1
  203. package/dist/prometheus-framework/src/modules/constructor/components/elements/VideoPlayer.vue.js +1 -1
  204. package/dist/prometheus-framework/src/modules/constructor/components/sections/Constructor.vue.cjs +1 -1
  205. package/dist/prometheus-framework/src/modules/constructor/components/sections/Constructor.vue.js +1 -1
  206. package/dist/prometheus-framework/src/modules/events/components/layouts/layoutEvents.vue.cjs +1 -1
  207. package/dist/prometheus-framework/src/modules/events/components/layouts/layoutEvents.vue.js +1 -1
  208. package/dist/prometheus-framework/src/modules/events/components/pages/EditEvent.vue.cjs +1 -1
  209. package/dist/prometheus-framework/src/modules/events/components/pages/EditEvent.vue.js +381 -140
  210. package/dist/prometheus-framework/src/modules/events/components/pages/Event.vue.cjs +4 -1
  211. package/dist/prometheus-framework/src/modules/events/components/pages/Event.vue.js +122 -48
  212. package/dist/prometheus-framework/src/modules/events/components/pages/Events.vue.cjs +1 -1
  213. package/dist/prometheus-framework/src/modules/events/components/pages/Events.vue.js +3 -3
  214. package/dist/prometheus-framework/src/modules/events/components/sections/HeroEvent.vue.cjs +1 -0
  215. package/dist/prometheus-framework/src/modules/events/components/sections/HeroEvent.vue.js +116 -0
  216. package/dist/prometheus-framework/src/modules/events/components/sections/HeroEvent.vue2.cjs +1 -0
  217. package/dist/prometheus-framework/src/modules/events/components/sections/HeroEvent.vue2.js +4 -0
  218. package/dist/prometheus-framework/src/modules/events/components/sections/SectionLineup.vue.cjs +1 -0
  219. package/dist/prometheus-framework/src/modules/events/components/sections/SectionLineup.vue.js +29 -0
  220. package/dist/prometheus-framework/src/modules/events/components/sections/SectionMainGuest.vue.cjs +3 -0
  221. package/dist/prometheus-framework/src/modules/events/components/sections/SectionMainGuest.vue.js +117 -0
  222. package/dist/prometheus-framework/src/modules/events/components/sections/SectionMainGuest.vue2.cjs +1 -0
  223. package/dist/prometheus-framework/src/modules/events/components/sections/SectionMainGuest.vue2.js +4 -0
  224. package/dist/prometheus-framework/src/modules/events/components/sections/SectionPreviousEvents.vue.cjs +1 -0
  225. package/dist/prometheus-framework/src/modules/events/components/sections/SectionPreviousEvents.vue.js +108 -0
  226. package/dist/prometheus-framework/src/modules/events/components/sections/SectionSpecialGuests.vue.cjs +1 -0
  227. package/dist/prometheus-framework/src/modules/events/components/sections/SectionSpecialGuests.vue.js +70 -0
  228. package/dist/prometheus-framework/src/modules/events/store/events.cjs +1 -1
  229. package/dist/prometheus-framework/src/modules/events/store/events.js +20 -16
  230. package/dist/prometheus-framework/src/modules/gallery/components/sections/BackofficeGallery.vue.cjs +1 -1
  231. package/dist/prometheus-framework/src/modules/gallery/components/sections/BackofficeGallery.vue.js +1 -1
  232. package/dist/prometheus-framework/src/modules/gallery/components/sections/GalleryWithCategories.vue.cjs +1 -1
  233. package/dist/prometheus-framework/src/modules/gallery/components/sections/GalleryWithCategories.vue.js +2 -2
  234. package/dist/prometheus-framework/src/modules/globals/components/blocks/CardHeader.vue.cjs +1 -1
  235. package/dist/prometheus-framework/src/modules/globals/components/blocks/CardHeader.vue.js +1 -1
  236. package/dist/prometheus-framework/src/modules/legal/components/pages/Legal.vue.cjs +1 -1
  237. package/dist/prometheus-framework/src/modules/legal/components/pages/Legal.vue.js +1 -1
  238. package/dist/prometheus-framework/src/modules/mobile/components/Menu/Menu.vue.cjs +1 -1
  239. package/dist/prometheus-framework/src/modules/mobile/components/Menu/Menu.vue.js +2 -11
  240. package/dist/prometheus-framework/src/modules/mobile/components/Menu/Menu.vue2.cjs +1 -1
  241. package/dist/prometheus-framework/src/modules/mobile/components/Menu/Menu.vue2.js +11 -2
  242. package/dist/prometheus-framework/src/modules/orders/components/sections/FormOrderDetails.vue.cjs +1 -1
  243. package/dist/prometheus-framework/src/modules/orders/components/sections/FormOrderDetails.vue.js +1 -1
  244. package/dist/prometheus-framework/src/modules/organizations/components/blocks/CardOrganization.vue.cjs +1 -1
  245. package/dist/prometheus-framework/src/modules/organizations/components/blocks/CardOrganization.vue.js +14 -14
  246. package/dist/prometheus-framework/src/modules/organizations/components/blocks/DepartmentMemberModify.vue.cjs +1 -1
  247. package/dist/prometheus-framework/src/modules/organizations/components/blocks/DepartmentMemberModify.vue.js +1 -1
  248. package/dist/prometheus-framework/src/modules/organizations/components/pages/DepartmentEdit.vue.cjs +1 -1
  249. package/dist/prometheus-framework/src/modules/organizations/components/pages/DepartmentEdit.vue.js +3 -3
  250. package/dist/prometheus-framework/src/modules/organizations/components/pages/Members.vue.cjs +1 -1
  251. package/dist/prometheus-framework/src/modules/organizations/components/pages/Members.vue.js +1 -1
  252. package/dist/prometheus-framework/src/modules/organizations/components/pages/Organization.vue.cjs +1 -1
  253. package/dist/prometheus-framework/src/modules/organizations/components/pages/Organization.vue.js +1 -1
  254. package/dist/prometheus-framework/src/modules/organizations/components/pages/OrganizationEdit.vue.cjs +1 -1
  255. package/dist/prometheus-framework/src/modules/organizations/components/pages/OrganizationEdit.vue.js +2 -2
  256. package/dist/prometheus-framework/src/modules/organizations/components/sections/DetailsTab.vue.cjs +1 -1
  257. package/dist/prometheus-framework/src/modules/organizations/components/sections/DetailsTab.vue.js +1 -1
  258. package/dist/prometheus-framework/src/modules/organizations/components/sections/Documents.vue.cjs +1 -1
  259. package/dist/prometheus-framework/src/modules/organizations/components/sections/Documents.vue.js +1 -1
  260. package/dist/prometheus-framework/src/modules/organizations/components/sections/MembersAdd.vue.cjs +1 -1
  261. package/dist/prometheus-framework/src/modules/organizations/components/sections/MembersAdd.vue.js +1 -1
  262. package/dist/prometheus-framework/src/modules/organizations/components/sections/Organizations.vue.cjs +1 -1
  263. package/dist/prometheus-framework/src/modules/organizations/components/sections/Organizations.vue.js +3 -3
  264. package/dist/prometheus-framework/src/modules/products/components/blocks/CardPosition.vue.cjs +1 -1
  265. package/dist/prometheus-framework/src/modules/products/components/blocks/CardPosition.vue.js +1 -1
  266. package/dist/prometheus-framework/src/modules/products/components/blocks/ImagesThumbnails.vue.cjs +1 -1
  267. package/dist/prometheus-framework/src/modules/products/components/blocks/ImagesThumbnails.vue.js +1 -1
  268. package/dist/prometheus-framework/src/modules/products/components/pages/EditLeftover.vue.cjs +1 -1
  269. package/dist/prometheus-framework/src/modules/products/components/pages/EditLeftover.vue.js +1 -1
  270. package/dist/prometheus-framework/src/modules/products/components/pages/ProductEdit.vue.cjs +1 -1
  271. package/dist/prometheus-framework/src/modules/products/components/pages/ProductEdit.vue.js +3 -3
  272. package/dist/prometheus-framework/src/modules/products/components/sections/EditProductInfo.vue.cjs +1 -1
  273. package/dist/prometheus-framework/src/modules/products/components/sections/EditProductInfo.vue.js +1 -1
  274. package/dist/prometheus-framework/src/modules/products/components/sections/FilterProducts.vue.cjs +1 -1
  275. package/dist/prometheus-framework/src/modules/products/components/sections/FilterProducts.vue.js +1 -1
  276. package/dist/prometheus-framework/src/modules/reports/components/sections/FormReport.vue.cjs +1 -1
  277. package/dist/prometheus-framework/src/modules/reports/components/sections/FormReport.vue.js +2 -2
  278. package/dist/prometheus-framework/src/modules/users/components/pages/Profile.vue.cjs +1 -1
  279. package/dist/prometheus-framework/src/modules/users/components/pages/Profile.vue.js +58 -55
  280. package/dist/prometheus-framework/src/modules/wallet/components/pages/Wallet.vue.cjs +1 -1
  281. package/dist/prometheus-framework/src/modules/wallet/components/pages/Wallet.vue.js +3 -3
  282. package/dist/prometheus-framework.cjs.js +13 -14
  283. package/dist/prometheus-framework.es.js +594 -805
  284. package/dist/style.css +1 -1
  285. package/package.json +1 -1
  286. package/src/components/Button/Button.vue +26 -19
  287. package/src/components/FieldBig/FieldBig.vue +1 -1
  288. package/src/components/FieldPhone/FieldPhone.vue +55 -304
  289. package/src/components/FieldPhone/FieldPhone2.vue +671 -0
  290. package/src/components/FieldPhone/click-outside.js +16 -11
  291. package/src/components/Footer/Footer.vue +4 -4
  292. package/src/components/Header/Header.vue +2 -1
  293. package/src/components/Select/Select.vue +2 -1
  294. package/src/modules/chats/components/sections/ChatWindow.vue +3 -1
  295. package/src/modules/chats/store/chat.store.js +1 -3
  296. package/src/modules/events/components/pages/EditEvent.vue +2 -1
  297. package/src/modules/events/components/pages/Event.vue +8 -2
  298. package/src/modules/events/components/sections/SectionMainGuest.vue +1 -1
  299. package/src/modules/events/components/sections/SectionSpecialGuests.vue +0 -1
  300. package/src/modules/events/store/events.js +23 -3
  301. package/src/modules/globals/mixins/mixins.js +33 -2
  302. package/src/modules/globals/store/globals.js +1 -0
  303. package/src/modules/landing/components/sections/HeroGovernance.vue +156 -0
  304. package/src/modules/marketplace/components/sections/Filters.vue +3 -0
  305. package/src/modules/marketplace/router/marketplace.js +1 -0
  306. package/src/modules/orders/components/blocks/StatusHistory.vue +8 -3
  307. package/src/modules/orders/components/pages/EditOrder.vue +9 -11
  308. package/src/modules/orders/components/pages/FormOrder.vue +58 -46
  309. package/src/modules/orders/components/pages/Order.vue +63 -42
  310. package/src/modules/orders/components/sections/FormOrderDetails.vue +50 -18
  311. package/src/modules/orders/controllers/orders.controller.js +10 -1
  312. package/src/modules/orders/models/order.model.js +1 -0
  313. package/src/modules/orders/store/orders.js +21 -27
  314. package/src/modules/orders/store/shopcart.js +14 -2
  315. package/src/modules/organizations/components/sections/DetailsTab.vue +2 -2
  316. package/src/modules/products/components/sections/FilterProducts.vue +3 -4
  317. package/src/modules/products/components/sections/HeroRecommendation.vue +29 -2
  318. package/src/modules/products/components/sections/SectionProduct.vue +14 -9
  319. package/src/modules/products/controllers/products.controller.js +26 -17
  320. package/src/modules/products/routes/products.routes.js +6 -6
  321. package/src/modules/products/store/products.js +10 -10
  322. package/src/styles/config.scss +10 -3
@@ -1,7 +1,9 @@
1
1
  <script>
2
2
  import { defineComponent } from 'vue';
3
3
  import { parsePhoneNumberFromString } from 'libphonenumber-js';
4
+
4
5
  import utils, { getCountry, setCaretPosition } from './utils';
6
+
5
7
  import clickOutside from './click-outside';
6
8
 
7
9
  function getDefault(key) {
@@ -13,241 +15,44 @@
13
15
  }
14
16
 
15
17
  export default /*#__PURE__*/defineComponent({
16
- name: 'Vue3ReactiveTelInput', // vue component name
18
+ name: 'Vue3ReactiveTelInput',
17
19
  directives: {
18
20
  clickOutside,
19
21
  },
20
22
  props: {
21
- /**
22
- * reactive value of the tel input
23
- */
24
- modelValue: {
25
- type: String,
26
- default: '',
27
- },
28
- /**
29
- * class assign to root when the input number is invalid belong to the country code
30
- */
31
- badClass: {
32
- type: [String, Array, Object],
33
- default: '',
34
- },
35
- /**
36
- * class assign to root when the input number is valid belong to the country code
37
- */
38
- goodClass: {
39
- type: [String, Array, Object],
40
- default: '',
41
- },
42
- /**
43
- * style assign to root when the input number is invalid belong to the country code
44
- */
45
- badStyle: {
46
- type: [String, Array, Object],
47
- default: '',
48
- },
49
- /**
50
- * style assign to root when the input number is valid belong to the country code
51
- */
52
- goodStyle: {
53
- type: [String, Array, Object],
54
- default: '',
55
- },
56
- /**
57
- * class assign when the input number is invalid belong to the country code
58
- */
59
- badInputClass: {
60
- type: [String, Array, Object],
61
- default: '',
62
- },
63
- /**
64
- * class assign when the input number is valid belong to the country code
65
- */
66
- goodInputClass: {
67
- type: [String, Array, Object],
68
- default: '',
69
- },
70
- /**
71
- * style assign when the input number is invalid belong to the country code
72
- */
73
- badInputStyle: {
74
- type: [String, Array, Object],
75
- default: '',
76
- },
77
- /**
78
- * style assign when the input number is valid belong to the country code
79
- */
80
- goodInputStyle: {
81
- type: [String, Array, Object],
82
- default: '',
83
- },
84
- /**
85
- * list of all contries
86
- */
87
- allCountries: {
88
- type: Array,
89
- default: () => getDefault('allCountries'),
90
- },
91
- /**
92
- * flag to know if the value will be automatically formatted
93
- */
94
- autoFormat: {
95
- type: Boolean,
96
- default: () => getDefault('autoFormat'),
97
- },
98
- validation: {
99
- type: [Boolean,Object],
100
- default: false,
101
- },
102
- /**
103
- * customized validation RegExp or flag
104
- */
105
- customValidate: {
106
- type: [Boolean, RegExp],
107
- default: () => getDefault('customValidate'),
108
- },
109
- /**
110
- * a default country
111
- */
112
- defaultCountry: {
113
- // Default country code, ie: 'AU'
114
- // Will override the current country of user
115
- type: String,
116
- default: () => getDefault('defaultCountry'),
117
- },
118
- /**
119
- * flag defining whether the input must be disabled
120
- */
121
- disabled: {
122
- type: Boolean,
123
- default: () => getDefault('disabled'),
124
- },
125
- /**
126
- * flag definir if we'll automatically choose a default country
127
- */
128
- autoDefaultCountry: {
129
- type: Boolean,
130
- default: () => getDefault('autoDefaultCountry'),
131
- },
132
- /**
133
- * object of dropdown options
134
- */
135
- dropdownOptions: {
136
- type: Object,
137
- default: () => getDefault('dropdownOptions'),
138
- },
139
- /**
140
- * list of countries to ignore
141
- */
142
- ignoredCountries: {
143
- type: Array,
144
- default: () => getDefault('ignoredCountries'),
145
- },
146
- /**
147
- * object of input options
148
- */
149
- inputOptions: {
150
- type: Object,
151
- default: () => getDefault('inputOptions'),
152
- },
153
- /**
154
- * valid message to display
155
- */
156
- invalidMsg: {
157
- type: String,
158
- default: () => getDefault('invalidMsg'),
159
- },
160
- /**
161
- * the mode of the input
162
- */
163
- mode: {
164
- type: String,
165
- default: () => getDefault('mode'),
166
- },
167
- /**
168
- * limit the giving input to only manage your list of contry
169
- */
170
- onlyCountries: {
171
- type: Array,
172
- default: () => getDefault('onlyCountries'),
173
- },
174
- /**
175
- * the list of preferred countries
176
- */
177
- preferredCountries: {
178
- type: Array,
179
- default: () => getDefault('preferredCountries'),
180
- },
181
- /**
182
- * the flag defining if the input must only content valid characters
183
- */
184
- validCharactersOnly: {
185
- type: Boolean,
186
- default: () => getDefault('validCharactersOnly'),
187
- },
188
- /**
189
- * the root default class
190
- */
191
- rootClass: {
192
- type: [String, Array, Object],
193
- default: () => getDefault('styleClasses'),
194
- },
195
- /**
196
- * the input default class
197
- */
198
- inputClass: {
199
- type: [String, Array, Object],
200
- default: () => {return ''},
201
- },
202
- /**
203
- * the div input default class
204
- */
205
- divInputClass: {
206
- type: [String, Array, Object],
207
- default: () => {return ''},
208
- },
209
- /**
210
- * the root default style
211
- */
212
- rootStyle: {
213
- type: [String, Array, Object],
214
- default: () => {return ''},
215
- },
216
- /**
217
- * the dropdown button style
218
- */
219
- dropdownStyle: {
220
- type: [String, Array, Object],
221
- default: () => {return ''},
222
- },
223
- /**
224
- * the dropdown list style
225
- */
226
- listStyle: {
227
- type: [String, Array, Object],
228
- default: () => {return ''},
229
- },
230
- /**
231
- * the input style
232
- */
233
- inputStyle: {
234
- type: [String, Array, Object],
235
- default: () => {return ''},
236
- },
237
- /**
238
- * the input id
239
- */
240
- inputId: {
241
- type: [String, Array, Object],
242
- default: () => {return ''},
243
- },
244
- /**
245
- * the input placeholder
246
- */
247
- Placeholder: {
248
- type: [String, Object, Function],
249
- default: () => {return ''},
250
- },
23
+ modelValue: { type: String, default: '',},
24
+ badClass: { type: [String, Array, Object], default: '', },
25
+ goodClass: { type: [String, Array, Object], default: '', },
26
+ badStyle: { type: [String, Array, Object], default: '', },
27
+ goodStyle: { type: [String, Array, Object], default: '', },
28
+ badInputClass: { type: [String, Array, Object], default: '', },
29
+ goodInputClass: { type: [String, Array, Object], default: '', },
30
+ badInputStyle: { type: [String, Array, Object], default: '', },
31
+ goodInputStyle: { type: [String, Array, Object], default: '', },
32
+ allCountries: { type: Array, default: () => getDefault('allCountries'), },
33
+ autoFormat: { type: Boolean, default: () => getDefault('autoFormat'), },
34
+ validation: { type: [Boolean, Object], default: false, },
35
+ customValidate: { type: [Boolean, RegExp], default: () => getDefault('customValidate'), },
36
+ defaultCountry: { type: String, default: () => getDefault('defaultCountry'), },
37
+ disabled: { type: Boolean, default: () => getDefault('disabled'), },
38
+ autoDefaultCountry: { type: Boolean, default: () => getDefault('autoDefaultCountry'), },
39
+ dropdownOptions: { type: Object, default: () => getDefault('dropdownOptions'), },
40
+ ignoredCountries: { type: Array, default: () => getDefault('ignoredCountries'), },
41
+ inputOptions: { type: Object, default: () => getDefault('inputOptions'), },
42
+ invalidMsg: { type: String, default: () => getDefault('invalidMsg'), },
43
+ mode: { type: String, default: () => getDefault('mode'), },
44
+ onlyCountries: { type: Array, default: () => getDefault('onlyCountries'), },
45
+ preferredCountries: { type: Array, default: () => getDefault('preferredCountries'), },
46
+ validCharactersOnly: { type: Boolean, default: () => getDefault('validCharactersOnly'), },
47
+ rootClass: { type: [String, Array, Object], default: () => getDefault('styleClasses'), },
48
+ inputClass: { type: [String, Array, Object], default: () => {return ''}, },
49
+ divInputClass: { type: [String, Array, Object], default: () => {return ''}, },
50
+ rootStyle: { type: [String, Array, Object], default: () => {return ''}, },
51
+ dropdownStyle: { type: [String, Array, Object], default: () => {return ''}, },
52
+ listStyle: { type: [String, Array, Object], default: () => {return ''}, },
53
+ inputStyle: { type: [String, Array, Object], default: () => {return ''}, },
54
+ inputId: { type: [String, Array, Object], default: () => {return ''}, },
55
+ Placeholder: { type: [String, Object, Function], default: () => {return ''}, },
251
56
  },
252
57
  data() {
253
58
  return {
@@ -257,7 +62,6 @@
257
62
  action: null,
258
63
  amount: null,
259
64
  },
260
- // vue3-reactive-tel-data
261
65
  phone: this.modelValue ? this.modelValue : '',
262
66
  activeCountryCode: '',
263
67
  open: false,
@@ -311,15 +115,6 @@
311
115
  // console.log(this.phoneObject?this.phoneObject.number !== "":false)
312
116
  this.$nextTick(() => { this.phone = oldValue; this.onInput(); });
313
117
  } else {
314
- // let dataphone;
315
- // console.log(this.phoneObject?this.phoneObject !== "":false)
316
- // if(this.phoneObject?this.phoneObject !== "":false)
317
- // {
318
- // dataphone = this.phoneObject.number
319
- // }
320
- // else{
321
- // dataphone = value
322
- // }
323
118
  this.phone = value;
324
119
  }
325
120
  },
@@ -334,9 +129,9 @@
334
129
  },
335
130
  },
336
131
  mounted() {
337
- // if (this.value) {
338
- // this.phone = this.value;
339
- // }
132
+ if (this.value) {
133
+ this.phone = this.value;
134
+ }
340
135
 
341
136
  this.cleanInvalidCharacters();
342
137
 
@@ -352,7 +147,6 @@
352
147
  .catch(console.error)
353
148
  .then(() => {
354
149
  this.finishMounted = true;
355
- // console.log(123)
356
150
  });
357
151
  },
358
152
  computed: {
@@ -400,18 +194,15 @@
400
194
  },
401
195
  phoneObject() {
402
196
  let result;
197
+
403
198
  if (this.phone?.[0] === '+') {
404
199
  result = parsePhoneNumberFromString(this.phone) || {};
405
200
  } else {
406
201
  result = parsePhoneNumberFromString(this.phone, this.activeCountryCode) || {};
407
202
  }
408
203
 
409
- const {
410
- metadata,
411
- ...phoneObject
412
- } = result;
204
+ const { metadata, ...phoneObject } = result;
413
205
 
414
- // console.log(result.isValid?result.isValid():'loll')
415
206
  let valid = result.isValid?.();
416
207
  let formatted = this.phone;
417
208
 
@@ -483,68 +274,28 @@
483
274
  methods: {
484
275
  resetPlaceholder() {
485
276
  this.parsedPlaceholder = this.inputOptions.placeholder;
486
- // TODO: Fix dynamicPlaceholder
487
- // if (!this.inputOptions.dynamicPlaceholder) {
488
- // return result;
489
- // }
490
- // getExamples()
491
- // .then((results) => {
492
- // examples = results;
493
- // const mode = (!this.mode || this.mode === 'auto') ? 'international' : this.mode;
494
- // const number = getExampleNumber(this.activeCountryCode.toUpperCase(), results);
495
- // this.parsedPlaceholder = number?.format(mode.toUpperCase()) || this.placeholder;
496
- // })
497
- // .catch(console.error);
498
277
  },
499
278
  initializeCountry() {
500
279
  return new Promise((resolve) => {
501
- /**
502
- * 1. If the phone included prefix (i.e. +12), try to get the country and set it
503
- */
504
- if (this.phone?.[0] === '+') {
505
- resolve();
506
- return;
507
- }
508
- /**
509
- * 2. Use default country if passed from parent
510
- */
511
- if (this.defaultCountry) {
512
- this.choose(this.defaultCountry);
513
- resolve();
514
- return;
515
- }
516
-
280
+ // 1. If the phone included prefix (i.e. +12), try to get the country and set it
281
+ if (this.phone?.[0] === '+') { resolve(); return; }
282
+ // 2. Use default country if passed from parent
283
+ if (this.defaultCountry) { this.choose(this.defaultCountry); resolve(); return; }
517
284
  const fallbackCountry = this.preferredCountries[0] || this.filteredCountries[0];
518
- /**
519
- * 3. Check if fetching country based on user's IP is allowed, set it as the default country
520
- */
285
+ // 3. Check if fetching country based on user's IP is allowed, set it as the default country
521
286
  if (this.autoDefaultCountry) {
522
287
  getCountry()
523
- .then((res) => {
524
- this.choose(res || this.activeCountryCode);
525
- })
526
- .catch((error) => {
527
- console.warn(error);
528
- /**
529
- * 4. Use the first country from preferred list (if available) or all countries list
530
- */
531
- this.choose(fallbackCountry);
532
- })
533
- .then(() => {
534
- resolve();
535
- });
288
+ .then((res) => { this.choose(res || this.activeCountryCode); })
289
+ .catch((error) => { console.warn(error); this.choose(fallbackCountry); })
290
+ .then(() => { resolve(); });
536
291
  } else {
537
- /**
538
- * 4. Use the first country from preferred list (if available) or all countries list
539
- */
292
+ // 4. Use the first country from preferred list (if available) or all countries list
540
293
  this.choose(fallbackCountry);
541
294
  resolve();
542
295
  }
543
296
  });
544
297
  },
545
- /**
546
- * Get the list of countries from the list of iso2 code
547
- */
298
+ // Get the list of countries from the list of iso2 code
548
299
  getCountries(list = []) {
549
300
  return list
550
301
  .map((countryCode) => this.findCountry(countryCode))
@@ -628,9 +379,6 @@
628
379
  },
629
380
  onInput() {
630
381
  this.$refs.input.setCustomValidity(this.phoneObject.valid ? '' : this.invalidMsg);
631
- // Returns response.number to assign it to v-model (if being used)
632
- // Returns full response for cases @input is used
633
- // and parent wants to return the whole response.
634
382
  this.emitInput(this.phoneObject);
635
383
  },
636
384
  emitInput(value) {
@@ -787,9 +535,11 @@
787
535
  <!-- <div :class="[divInputClass]" > -->
788
536
  <input
789
537
  v-model="phone"
790
- pattern="[0-9]*"
538
+ inputmode="numeric"
539
+ pattern="\d*"
791
540
  ref="input"
792
541
  :type="inputOptions.type"
542
+
793
543
  :autocomplete="inputOptions.autocomplete"
794
544
  :autofocus="inputOptions.autofocus"
795
545
  :class="['vti__input', inputOptions.styleClasses, inputClass, Iclasses]"
@@ -819,6 +569,7 @@
819
569
  </div>
820
570
  </transition>
821
571
  </template>
572
+
822
573
  <style scoped>
823
574
  .vue3-reactive-tel-input{
824
575
  display:flex