@ozdao/prometheus-framework 0.2.33 → 0.2.35

Sign up to get free protection for your applications and to get access to all the features.
Files changed (296) hide show
  1. package/dist/events.server.js +32 -0
  2. package/dist/events.server.mjs +32 -0
  3. package/dist/files.server.js +99 -78
  4. package/dist/files.server.mjs +99 -78
  5. package/dist/globals.server.js +0 -1
  6. package/dist/globals.server.mjs +0 -1
  7. package/dist/main.css +1 -1
  8. package/dist/node_modules/@ozdao/prometheus-framework/dist/_virtual/_commonjsHelpers.cjs +1 -0
  9. package/dist/node_modules/@ozdao/prometheus-framework/dist/_virtual/_commonjsHelpers.js +6 -0
  10. package/dist/node_modules/@ozdao/prometheus-framework/dist/_virtual/_plugin-vue_export-helper.cjs +1 -0
  11. package/dist/node_modules/@ozdao/prometheus-framework/dist/_virtual/_plugin-vue_export-helper.js +9 -0
  12. package/dist/node_modules/@ozdao/prometheus-framework/dist/_virtual/js.cookie.cjs +1 -0
  13. package/dist/node_modules/@ozdao/prometheus-framework/dist/_virtual/js.cookie.js +4 -0
  14. package/dist/node_modules/@ozdao/prometheus-framework/dist/node_modules/js-cookie/src/js.cookie.cjs +7 -0
  15. package/dist/node_modules/@ozdao/prometheus-framework/dist/node_modules/js-cookie/src/js.cookie.js +97 -0
  16. package/dist/node_modules/@ozdao/prometheus-framework/dist/node_modules/vue-select/dist/vue-select.es.cjs +1 -0
  17. package/dist/node_modules/@ozdao/prometheus-framework/dist/node_modules/vue-select/dist/vue-select.es.js +173 -0
  18. package/dist/node_modules/@ozdao/prometheus-framework/dist/prometheus-framework/node_modules/@capacitor/core/dist/index.cjs +1 -0
  19. package/dist/node_modules/@ozdao/prometheus-framework/dist/prometheus-framework/node_modules/@capacitor/core/dist/index.js +337 -0
  20. package/dist/node_modules/@ozdao/prometheus-framework/dist/prometheus-framework/node_modules/@capacitor/preferences/dist/esm/index.cjs +1 -0
  21. package/dist/node_modules/@ozdao/prometheus-framework/dist/prometheus-framework/node_modules/@capacitor/preferences/dist/esm/index.js +7 -0
  22. package/dist/node_modules/@ozdao/prometheus-framework/dist/prometheus-framework/node_modules/@capacitor/preferences/dist/esm/web.cjs +1 -0
  23. package/dist/node_modules/@ozdao/prometheus-framework/dist/prometheus-framework/node_modules/@capacitor/preferences/dist/esm/web.js +54 -0
  24. package/dist/node_modules/@ozdao/prometheus-framework/dist/prometheus-framework/node_modules/axios/lib/adapters/adapters.cjs +3 -0
  25. package/dist/node_modules/@ozdao/prometheus-framework/dist/prometheus-framework/node_modules/axios/lib/adapters/adapters.js +51 -0
  26. package/dist/node_modules/@ozdao/prometheus-framework/dist/prometheus-framework/node_modules/axios/lib/adapters/xhr.cjs +1 -0
  27. package/dist/node_modules/@ozdao/prometheus-framework/dist/prometheus-framework/node_modules/axios/lib/adapters/xhr.js +109 -0
  28. package/dist/node_modules/@ozdao/prometheus-framework/dist/prometheus-framework/node_modules/axios/lib/axios.cjs +1 -0
  29. package/dist/node_modules/@ozdao/prometheus-framework/dist/prometheus-framework/node_modules/axios/lib/axios.js +47 -0
  30. package/dist/node_modules/@ozdao/prometheus-framework/dist/prometheus-framework/node_modules/axios/lib/cancel/CancelToken.cjs +1 -0
  31. package/dist/node_modules/@ozdao/prometheus-framework/dist/prometheus-framework/node_modules/axios/lib/cancel/CancelToken.js +73 -0
  32. package/dist/node_modules/@ozdao/prometheus-framework/dist/prometheus-framework/node_modules/axios/lib/cancel/CanceledError.cjs +1 -0
  33. package/dist/node_modules/@ozdao/prometheus-framework/dist/prometheus-framework/node_modules/axios/lib/cancel/CanceledError.js +11 -0
  34. package/dist/node_modules/@ozdao/prometheus-framework/dist/prometheus-framework/node_modules/axios/lib/cancel/isCancel.cjs +1 -0
  35. package/dist/node_modules/@ozdao/prometheus-framework/dist/prometheus-framework/node_modules/axios/lib/cancel/isCancel.js +6 -0
  36. package/dist/node_modules/@ozdao/prometheus-framework/dist/prometheus-framework/node_modules/axios/lib/core/Axios.cjs +1 -0
  37. package/dist/node_modules/@ozdao/prometheus-framework/dist/prometheus-framework/node_modules/axios/lib/core/Axios.js +117 -0
  38. package/dist/node_modules/@ozdao/prometheus-framework/dist/prometheus-framework/node_modules/axios/lib/core/AxiosError.cjs +1 -0
  39. package/dist/node_modules/@ozdao/prometheus-framework/dist/prometheus-framework/node_modules/axios/lib/core/AxiosError.js +54 -0
  40. package/dist/node_modules/@ozdao/prometheus-framework/dist/prometheus-framework/node_modules/axios/lib/core/AxiosHeaders.cjs +2 -0
  41. package/dist/node_modules/@ozdao/prometheus-framework/dist/prometheus-framework/node_modules/axios/lib/core/AxiosHeaders.js +165 -0
  42. package/dist/node_modules/@ozdao/prometheus-framework/dist/prometheus-framework/node_modules/axios/lib/core/InterceptorManager.cjs +1 -0
  43. package/dist/node_modules/@ozdao/prometheus-framework/dist/prometheus-framework/node_modules/axios/lib/core/InterceptorManager.js +59 -0
  44. package/dist/node_modules/@ozdao/prometheus-framework/dist/prometheus-framework/node_modules/axios/lib/core/buildFullPath.cjs +1 -0
  45. package/dist/node_modules/@ozdao/prometheus-framework/dist/prometheus-framework/node_modules/axios/lib/core/buildFullPath.js +8 -0
  46. package/dist/node_modules/@ozdao/prometheus-framework/dist/prometheus-framework/node_modules/axios/lib/core/dispatchRequest.cjs +1 -0
  47. package/dist/node_modules/@ozdao/prometheus-framework/dist/prometheus-framework/node_modules/axios/lib/core/dispatchRequest.js +31 -0
  48. package/dist/node_modules/@ozdao/prometheus-framework/dist/prometheus-framework/node_modules/axios/lib/core/mergeConfig.cjs +1 -0
  49. package/dist/node_modules/@ozdao/prometheus-framework/dist/prometheus-framework/node_modules/axios/lib/core/mergeConfig.js +72 -0
  50. package/dist/node_modules/@ozdao/prometheus-framework/dist/prometheus-framework/node_modules/axios/lib/core/settle.cjs +1 -0
  51. package/dist/node_modules/@ozdao/prometheus-framework/dist/prometheus-framework/node_modules/axios/lib/core/settle.js +14 -0
  52. package/dist/node_modules/@ozdao/prometheus-framework/dist/prometheus-framework/node_modules/axios/lib/core/transformData.cjs +1 -0
  53. package/dist/node_modules/@ozdao/prometheus-framework/dist/prometheus-framework/node_modules/axios/lib/core/transformData.js +13 -0
  54. package/dist/node_modules/@ozdao/prometheus-framework/dist/prometheus-framework/node_modules/axios/lib/defaults/index.cjs +1 -0
  55. package/dist/node_modules/@ozdao/prometheus-framework/dist/prometheus-framework/node_modules/axios/lib/defaults/index.js +88 -0
  56. package/dist/node_modules/@ozdao/prometheus-framework/dist/prometheus-framework/node_modules/axios/lib/defaults/transitional.cjs +1 -0
  57. package/dist/node_modules/@ozdao/prometheus-framework/dist/prometheus-framework/node_modules/axios/lib/defaults/transitional.js +8 -0
  58. package/dist/node_modules/@ozdao/prometheus-framework/dist/prometheus-framework/node_modules/axios/lib/env/data.cjs +1 -0
  59. package/dist/node_modules/@ozdao/prometheus-framework/dist/prometheus-framework/node_modules/axios/lib/env/data.js +4 -0
  60. package/dist/node_modules/@ozdao/prometheus-framework/dist/prometheus-framework/node_modules/axios/lib/helpers/AxiosURLSearchParams.cjs +1 -0
  61. package/dist/node_modules/@ozdao/prometheus-framework/dist/prometheus-framework/node_modules/axios/lib/helpers/AxiosURLSearchParams.js +33 -0
  62. package/dist/node_modules/@ozdao/prometheus-framework/dist/prometheus-framework/node_modules/axios/lib/helpers/HttpStatusCode.cjs +1 -0
  63. package/dist/node_modules/@ozdao/prometheus-framework/dist/prometheus-framework/node_modules/axios/lib/helpers/HttpStatusCode.js +72 -0
  64. package/dist/node_modules/@ozdao/prometheus-framework/dist/prometheus-framework/node_modules/axios/lib/helpers/bind.cjs +1 -0
  65. package/dist/node_modules/@ozdao/prometheus-framework/dist/prometheus-framework/node_modules/axios/lib/helpers/bind.js +8 -0
  66. package/dist/node_modules/@ozdao/prometheus-framework/dist/prometheus-framework/node_modules/axios/lib/helpers/buildURL.cjs +1 -0
  67. package/dist/node_modules/@ozdao/prometheus-framework/dist/prometheus-framework/node_modules/axios/lib/helpers/buildURL.js +19 -0
  68. package/dist/node_modules/@ozdao/prometheus-framework/dist/prometheus-framework/node_modules/axios/lib/helpers/combineURLs.cjs +1 -0
  69. package/dist/node_modules/@ozdao/prometheus-framework/dist/prometheus-framework/node_modules/axios/lib/helpers/combineURLs.js +6 -0
  70. package/dist/node_modules/@ozdao/prometheus-framework/dist/prometheus-framework/node_modules/axios/lib/helpers/cookies.cjs +1 -0
  71. package/dist/node_modules/@ozdao/prometheus-framework/dist/prometheus-framework/node_modules/axios/lib/helpers/cookies.js +32 -0
  72. package/dist/node_modules/@ozdao/prometheus-framework/dist/prometheus-framework/node_modules/axios/lib/helpers/formDataToJSON.cjs +1 -0
  73. package/dist/node_modules/@ozdao/prometheus-framework/dist/prometheus-framework/node_modules/axios/lib/helpers/formDataToJSON.js +30 -0
  74. package/dist/node_modules/@ozdao/prometheus-framework/dist/prometheus-framework/node_modules/axios/lib/helpers/isAbsoluteURL.cjs +1 -0
  75. package/dist/node_modules/@ozdao/prometheus-framework/dist/prometheus-framework/node_modules/axios/lib/helpers/isAbsoluteURL.js +6 -0
  76. package/dist/node_modules/@ozdao/prometheus-framework/dist/prometheus-framework/node_modules/axios/lib/helpers/isAxiosError.cjs +1 -0
  77. package/dist/node_modules/@ozdao/prometheus-framework/dist/prometheus-framework/node_modules/axios/lib/helpers/isAxiosError.js +7 -0
  78. package/dist/node_modules/@ozdao/prometheus-framework/dist/prometheus-framework/node_modules/axios/lib/helpers/isURLSameOrigin.cjs +1 -0
  79. package/dist/node_modules/@ozdao/prometheus-framework/dist/prometheus-framework/node_modules/axios/lib/helpers/isURLSameOrigin.js +37 -0
  80. package/dist/node_modules/@ozdao/prometheus-framework/dist/prometheus-framework/node_modules/axios/lib/helpers/null.cjs +1 -0
  81. package/dist/node_modules/@ozdao/prometheus-framework/dist/prometheus-framework/node_modules/axios/lib/helpers/null.js +4 -0
  82. package/dist/node_modules/@ozdao/prometheus-framework/dist/prometheus-framework/node_modules/axios/lib/helpers/parseHeaders.cjs +2 -0
  83. package/dist/node_modules/@ozdao/prometheus-framework/dist/prometheus-framework/node_modules/axios/lib/helpers/parseHeaders.js +30 -0
  84. package/dist/node_modules/@ozdao/prometheus-framework/dist/prometheus-framework/node_modules/axios/lib/helpers/parseProtocol.cjs +1 -0
  85. package/dist/node_modules/@ozdao/prometheus-framework/dist/prometheus-framework/node_modules/axios/lib/helpers/parseProtocol.js +7 -0
  86. package/dist/node_modules/@ozdao/prometheus-framework/dist/prometheus-framework/node_modules/axios/lib/helpers/speedometer.cjs +1 -0
  87. package/dist/node_modules/@ozdao/prometheus-framework/dist/prometheus-framework/node_modules/axios/lib/helpers/speedometer.js +19 -0
  88. package/dist/node_modules/@ozdao/prometheus-framework/dist/prometheus-framework/node_modules/axios/lib/helpers/spread.cjs +1 -0
  89. package/dist/node_modules/@ozdao/prometheus-framework/dist/prometheus-framework/node_modules/axios/lib/helpers/spread.js +8 -0
  90. package/dist/node_modules/@ozdao/prometheus-framework/dist/prometheus-framework/node_modules/axios/lib/helpers/toFormData.cjs +1 -0
  91. package/dist/node_modules/@ozdao/prometheus-framework/dist/prometheus-framework/node_modules/axios/lib/helpers/toFormData.js +84 -0
  92. package/dist/node_modules/@ozdao/prometheus-framework/dist/prometheus-framework/node_modules/axios/lib/helpers/toURLEncodedForm.cjs +1 -0
  93. package/dist/node_modules/@ozdao/prometheus-framework/dist/prometheus-framework/node_modules/axios/lib/helpers/toURLEncodedForm.js +13 -0
  94. package/dist/node_modules/@ozdao/prometheus-framework/dist/prometheus-framework/node_modules/axios/lib/helpers/validator.cjs +1 -0
  95. package/dist/node_modules/@ozdao/prometheus-framework/dist/prometheus-framework/node_modules/axios/lib/helpers/validator.js +51 -0
  96. package/dist/node_modules/@ozdao/prometheus-framework/dist/prometheus-framework/node_modules/axios/lib/platform/browser/classes/Blob.cjs +1 -0
  97. package/dist/node_modules/@ozdao/prometheus-framework/dist/prometheus-framework/node_modules/axios/lib/platform/browser/classes/Blob.js +4 -0
  98. package/dist/node_modules/@ozdao/prometheus-framework/dist/prometheus-framework/node_modules/axios/lib/platform/browser/classes/FormData.cjs +1 -0
  99. package/dist/node_modules/@ozdao/prometheus-framework/dist/prometheus-framework/node_modules/axios/lib/platform/browser/classes/FormData.js +4 -0
  100. package/dist/node_modules/@ozdao/prometheus-framework/dist/prometheus-framework/node_modules/axios/lib/platform/browser/classes/URLSearchParams.cjs +1 -0
  101. package/dist/node_modules/@ozdao/prometheus-framework/dist/prometheus-framework/node_modules/axios/lib/platform/browser/classes/URLSearchParams.js +5 -0
  102. package/dist/node_modules/@ozdao/prometheus-framework/dist/prometheus-framework/node_modules/axios/lib/platform/browser/index.cjs +1 -0
  103. package/dist/node_modules/@ozdao/prometheus-framework/dist/prometheus-framework/node_modules/axios/lib/platform/browser/index.js +15 -0
  104. package/dist/node_modules/@ozdao/prometheus-framework/dist/prometheus-framework/node_modules/axios/lib/platform/common/utils.cjs +1 -0
  105. package/dist/node_modules/@ozdao/prometheus-framework/dist/prometheus-framework/node_modules/axios/lib/platform/common/utils.js +7 -0
  106. package/dist/node_modules/@ozdao/prometheus-framework/dist/prometheus-framework/node_modules/axios/lib/platform/index.cjs +1 -0
  107. package/dist/node_modules/@ozdao/prometheus-framework/dist/prometheus-framework/node_modules/axios/lib/platform/index.js +9 -0
  108. package/dist/node_modules/@ozdao/prometheus-framework/dist/prometheus-framework/node_modules/axios/lib/utils.cjs +1 -0
  109. package/dist/node_modules/@ozdao/prometheus-framework/dist/prometheus-framework/node_modules/axios/lib/utils.js +224 -0
  110. package/dist/node_modules/@ozdao/prometheus-framework/dist/prometheus-framework/src/modules/auth/store/auth.cjs +1 -0
  111. package/dist/node_modules/@ozdao/prometheus-framework/dist/prometheus-framework/src/modules/auth/store/auth.js +44 -0
  112. package/dist/node_modules/@ozdao/prometheus-framework/dist/prometheus-framework/src/modules/auth/store/twofa.cjs +1 -0
  113. package/dist/node_modules/@ozdao/prometheus-framework/dist/prometheus-framework/src/modules/auth/store/twofa.js +19 -0
  114. package/dist/node_modules/@ozdao/prometheus-framework/dist/prometheus-framework/src/modules/community/store/blogposts.cjs +1 -0
  115. package/dist/node_modules/@ozdao/prometheus-framework/dist/prometheus-framework/src/modules/community/store/blogposts.js +38 -0
  116. package/dist/node_modules/@ozdao/prometheus-framework/dist/prometheus-framework/src/modules/community/store/reactions.cjs +1 -0
  117. package/dist/node_modules/@ozdao/prometheus-framework/dist/prometheus-framework/src/modules/community/store/reactions.js +16 -0
  118. package/dist/node_modules/@ozdao/prometheus-framework/dist/prometheus-framework/src/modules/events/store/events.cjs +1 -0
  119. package/dist/node_modules/@ozdao/prometheus-framework/dist/prometheus-framework/src/modules/events/store/events.js +42 -0
  120. package/dist/node_modules/@ozdao/prometheus-framework/dist/prometheus-framework/src/modules/globals/localization/vue-i18n.cjs +1 -0
  121. package/dist/node_modules/@ozdao/prometheus-framework/dist/prometheus-framework/src/modules/globals/localization/vue-i18n.js +22 -0
  122. package/dist/node_modules/@ozdao/prometheus-framework/dist/prometheus-framework/src/modules/globals/store/globals.cjs +1 -0
  123. package/dist/node_modules/@ozdao/prometheus-framework/dist/prometheus-framework/src/modules/globals/store/globals.js +59 -0
  124. package/dist/node_modules/@ozdao/prometheus-framework/dist/prometheus-framework/src/modules/icons/navigation/IconChevronRight.vue.cjs +1 -0
  125. package/dist/node_modules/@ozdao/prometheus-framework/dist/prometheus-framework/src/modules/icons/navigation/IconChevronRight.vue.js +28 -0
  126. package/dist/node_modules/@ozdao/prometheus-framework/dist/prometheus-framework/src/modules/icons/socials/dribbble.vue.cjs +1 -0
  127. package/dist/node_modules/@ozdao/prometheus-framework/dist/prometheus-framework/src/modules/icons/socials/dribbble.vue.js +21 -0
  128. package/dist/node_modules/@ozdao/prometheus-framework/dist/prometheus-framework/src/modules/icons/socials/facebook.vue.cjs +1 -0
  129. package/dist/node_modules/@ozdao/prometheus-framework/dist/prometheus-framework/src/modules/icons/socials/facebook.vue.js +21 -0
  130. package/dist/node_modules/@ozdao/prometheus-framework/dist/prometheus-framework/src/modules/icons/socials/instagram.vue.cjs +1 -0
  131. package/dist/node_modules/@ozdao/prometheus-framework/dist/prometheus-framework/src/modules/icons/socials/instagram.vue.js +21 -0
  132. package/dist/node_modules/@ozdao/prometheus-framework/dist/prometheus-framework/src/modules/icons/socials/line.vue.cjs +1 -0
  133. package/dist/node_modules/@ozdao/prometheus-framework/dist/prometheus-framework/src/modules/icons/socials/line.vue.js +23 -0
  134. package/dist/node_modules/@ozdao/prometheus-framework/dist/prometheus-framework/src/modules/icons/socials/reddit.vue.cjs +1 -0
  135. package/dist/node_modules/@ozdao/prometheus-framework/dist/prometheus-framework/src/modules/icons/socials/reddit.vue.js +21 -0
  136. package/dist/node_modules/@ozdao/prometheus-framework/dist/prometheus-framework/src/modules/icons/socials/telegram.vue.cjs +1 -0
  137. package/dist/node_modules/@ozdao/prometheus-framework/dist/prometheus-framework/src/modules/icons/socials/telegram.vue.js +29 -0
  138. package/dist/node_modules/@ozdao/prometheus-framework/dist/prometheus-framework/src/modules/icons/socials/twitter.vue.cjs +1 -0
  139. package/dist/node_modules/@ozdao/prometheus-framework/dist/prometheus-framework/src/modules/icons/socials/twitter.vue.js +21 -0
  140. package/dist/node_modules/@ozdao/prometheus-framework/dist/prometheus-framework/src/modules/middlewares/client/auth.validation.cjs +1 -0
  141. package/dist/node_modules/@ozdao/prometheus-framework/dist/prometheus-framework/src/modules/middlewares/client/auth.validation.js +3 -0
  142. package/dist/node_modules/@ozdao/prometheus-framework/dist/prometheus-framework/src/modules/middlewares/client/inputs.validation.cjs +1 -0
  143. package/dist/node_modules/@ozdao/prometheus-framework/dist/prometheus-framework/src/modules/middlewares/client/inputs.validation.js +35 -0
  144. package/dist/node_modules/@ozdao/prometheus-framework/dist/prometheus-framework/src/modules/mobile/components/Menu/MenuItem.vue.cjs +1 -0
  145. package/dist/node_modules/@ozdao/prometheus-framework/dist/prometheus-framework/src/modules/mobile/components/Menu/MenuItem.vue.js +60 -0
  146. package/dist/node_modules/@ozdao/prometheus-framework/dist/prometheus-framework/src/modules/organizations/components/blocks/Socials.vue.cjs +1 -0
  147. package/dist/node_modules/@ozdao/prometheus-framework/dist/prometheus-framework/src/modules/organizations/components/blocks/Socials.vue.js +80 -0
  148. package/dist/node_modules/@ozdao/prometheus-framework/dist/prometheus-framework/src/modules/organizations/store/departments.cjs +1 -0
  149. package/dist/node_modules/@ozdao/prometheus-framework/dist/prometheus-framework/src/modules/organizations/store/departments.js +34 -0
  150. package/dist/node_modules/@ozdao/prometheus-framework/dist/prometheus-framework/src/modules/organizations/store/invites.cjs +1 -0
  151. package/dist/node_modules/@ozdao/prometheus-framework/dist/prometheus-framework/src/modules/organizations/store/invites.js +17 -0
  152. package/dist/node_modules/@ozdao/prometheus-framework/dist/prometheus-framework/src/modules/organizations/store/memberships.cjs +1 -0
  153. package/dist/node_modules/@ozdao/prometheus-framework/dist/prometheus-framework/src/modules/organizations/store/memberships.js +16 -0
  154. package/dist/node_modules/@ozdao/prometheus-framework/dist/prometheus-framework/src/modules/organizations/store/organizations.cjs +1 -0
  155. package/dist/node_modules/@ozdao/prometheus-framework/dist/prometheus-framework/src/modules/organizations/store/organizations.js +42 -0
  156. package/dist/node_modules/@ozdao/prometheus-framework/dist/prometheus-framework/src/modules/products/store/categories.cjs +1 -0
  157. package/dist/node_modules/@ozdao/prometheus-framework/dist/prometheus-framework/src/modules/products/store/categories.js +20 -0
  158. package/dist/node_modules/@ozdao/prometheus-framework/dist/prometheus-framework/src/modules/products/store/products.cjs +1 -0
  159. package/dist/node_modules/@ozdao/prometheus-framework/dist/prometheus-framework/src/modules/products/store/products.js +28 -0
  160. package/dist/node_modules/@ozdao/prometheus-framework/dist/prometheus-framework/src/modules/reports/store/reports.cjs +1 -0
  161. package/dist/node_modules/@ozdao/prometheus-framework/dist/prometheus-framework/src/modules/reports/store/reports.js +28 -0
  162. package/dist/node_modules/@ozdao/prometheus-framework/dist/prometheus-framework/src/modules/spots/store/spots.cjs +1 -0
  163. package/dist/node_modules/@ozdao/prometheus-framework/dist/prometheus-framework/src/modules/spots/store/spots.js +34 -0
  164. package/dist/prometheus-framework/src/components/Checkbox/Checkbox.vue.cjs +1 -1
  165. package/dist/prometheus-framework/src/components/Checkbox/Checkbox.vue.js +2 -61
  166. package/dist/prometheus-framework/src/components/Checkbox/Checkbox.vue2.cjs +1 -1
  167. package/dist/prometheus-framework/src/components/Checkbox/Checkbox.vue2.js +61 -2
  168. package/dist/prometheus-framework/src/components/Countdown/Countdown.vue.cjs +1 -0
  169. package/dist/prometheus-framework/src/components/Countdown/Countdown.vue.js +62 -0
  170. package/dist/prometheus-framework/src/components/Dropdown/Dropdown.vue.cjs +1 -1
  171. package/dist/prometheus-framework/src/components/Dropdown/Dropdown.vue.js +49 -2
  172. package/dist/prometheus-framework/src/components/Dropdown/Dropdown.vue2.cjs +1 -1
  173. package/dist/prometheus-framework/src/components/Dropdown/Dropdown.vue2.js +2 -49
  174. package/dist/prometheus-framework/src/components/EditImages/EditImages.vue.cjs +1 -1
  175. package/dist/prometheus-framework/src/components/EditImages/EditImages.vue.js +42 -34
  176. package/dist/prometheus-framework/src/components/Popup/Popup.vue.cjs +1 -1
  177. package/dist/prometheus-framework/src/components/Popup/Popup.vue.js +2 -70
  178. package/dist/prometheus-framework/src/components/Popup/Popup.vue2.cjs +1 -1
  179. package/dist/prometheus-framework/src/components/Popup/Popup.vue2.js +70 -2
  180. package/dist/prometheus-framework/src/components/Select/Select.vue.cjs +1 -1
  181. package/dist/prometheus-framework/src/components/Select/Select.vue.js +2 -93
  182. package/dist/prometheus-framework/src/components/Select/Select.vue2.cjs +1 -1
  183. package/dist/prometheus-framework/src/components/Select/Select.vue2.js +93 -2
  184. package/dist/prometheus-framework/src/components/Upload/Upload.vue.cjs +1 -1
  185. package/dist/prometheus-framework/src/components/Upload/Upload.vue.js +99 -2
  186. package/dist/prometheus-framework/src/components/Upload/Upload.vue2.cjs +1 -1
  187. package/dist/prometheus-framework/src/components/Upload/Upload.vue2.js +2 -73
  188. package/dist/prometheus-framework/src/components/UploadImage/UploadImage.vue.cjs +1 -1
  189. package/dist/prometheus-framework/src/components/UploadImage/UploadImage.vue.js +30 -28
  190. package/dist/prometheus-framework/src/components/UploadImageMultiple/UploadImageMultiple.vue.cjs +1 -1
  191. package/dist/prometheus-framework/src/components/UploadImageMultiple/UploadImageMultiple.vue.js +25 -24
  192. package/dist/prometheus-framework/src/modules/backoffice/components/pages/Dashboard.vue.cjs +1 -1
  193. package/dist/prometheus-framework/src/modules/backoffice/components/pages/Dashboard.vue.js +1 -1
  194. package/dist/prometheus-framework/src/modules/community/components/layouts/Community.vue.cjs +1 -1
  195. package/dist/prometheus-framework/src/modules/community/components/layouts/Community.vue.js +1 -1
  196. package/dist/prometheus-framework/src/modules/community/components/pages/CreateBlogPost.vue.cjs +1 -1
  197. package/dist/prometheus-framework/src/modules/community/components/pages/CreateBlogPost.vue.js +3 -3
  198. package/dist/prometheus-framework/src/modules/constructor/components/elements/Audio.vue.cjs +1 -1
  199. package/dist/prometheus-framework/src/modules/constructor/components/elements/Audio.vue.js +1 -1
  200. package/dist/prometheus-framework/src/modules/constructor/components/elements/Textarea.vue.cjs +1 -5
  201. package/dist/prometheus-framework/src/modules/constructor/components/elements/Textarea.vue.js +2 -65
  202. package/dist/prometheus-framework/src/modules/constructor/components/elements/Textarea.vue2.cjs +5 -1
  203. package/dist/prometheus-framework/src/modules/constructor/components/elements/Textarea.vue2.js +65 -2
  204. package/dist/prometheus-framework/src/modules/constructor/components/elements/Video.vue.cjs +1 -1
  205. package/dist/prometheus-framework/src/modules/constructor/components/elements/Video.vue.js +1 -1
  206. package/dist/prometheus-framework/src/modules/constructor/components/elements/VideoPlayer.vue.cjs +1 -1
  207. package/dist/prometheus-framework/src/modules/constructor/components/elements/VideoPlayer.vue.js +1 -1
  208. package/dist/prometheus-framework/src/modules/constructor/components/sections/Constructor.vue.cjs +1 -1
  209. package/dist/prometheus-framework/src/modules/constructor/components/sections/Constructor.vue.js +1 -1
  210. package/dist/prometheus-framework/src/modules/events/components/layouts/layoutEvents.vue.cjs +1 -1
  211. package/dist/prometheus-framework/src/modules/events/components/layouts/layoutEvents.vue.js +1 -1
  212. package/dist/prometheus-framework/src/modules/events/components/pages/EditEvent.vue.cjs +1 -1
  213. package/dist/prometheus-framework/src/modules/events/components/pages/EditEvent.vue.js +381 -140
  214. package/dist/prometheus-framework/src/modules/events/components/pages/Event.vue.cjs +4 -1
  215. package/dist/prometheus-framework/src/modules/events/components/pages/Event.vue.js +122 -48
  216. package/dist/prometheus-framework/src/modules/events/components/pages/Events.vue.cjs +1 -1
  217. package/dist/prometheus-framework/src/modules/events/components/pages/Events.vue.js +3 -3
  218. package/dist/prometheus-framework/src/modules/events/components/sections/HeroEvent.vue.cjs +1 -0
  219. package/dist/prometheus-framework/src/modules/events/components/sections/HeroEvent.vue.js +116 -0
  220. package/dist/prometheus-framework/src/modules/events/components/sections/HeroEvent.vue2.cjs +1 -0
  221. package/dist/prometheus-framework/src/modules/events/components/sections/HeroEvent.vue2.js +4 -0
  222. package/dist/prometheus-framework/src/modules/events/components/sections/SectionLineup.vue.cjs +1 -0
  223. package/dist/prometheus-framework/src/modules/events/components/sections/SectionLineup.vue.js +29 -0
  224. package/dist/prometheus-framework/src/modules/events/components/sections/SectionMainGuest.vue.cjs +3 -0
  225. package/dist/prometheus-framework/src/modules/events/components/sections/SectionMainGuest.vue.js +117 -0
  226. package/dist/prometheus-framework/src/modules/events/components/sections/SectionMainGuest.vue2.cjs +1 -0
  227. package/dist/prometheus-framework/src/modules/events/components/sections/SectionMainGuest.vue2.js +4 -0
  228. package/dist/prometheus-framework/src/modules/events/components/sections/SectionPreviousEvents.vue.cjs +1 -0
  229. package/dist/prometheus-framework/src/modules/events/components/sections/SectionPreviousEvents.vue.js +108 -0
  230. package/dist/prometheus-framework/src/modules/events/components/sections/SectionSpecialGuests.vue.cjs +1 -0
  231. package/dist/prometheus-framework/src/modules/events/components/sections/SectionSpecialGuests.vue.js +70 -0
  232. package/dist/prometheus-framework/src/modules/events/store/events.cjs +1 -1
  233. package/dist/prometheus-framework/src/modules/events/store/events.js +20 -16
  234. package/dist/prometheus-framework/src/modules/gallery/components/sections/BackofficeGallery.vue.cjs +1 -1
  235. package/dist/prometheus-framework/src/modules/gallery/components/sections/BackofficeGallery.vue.js +1 -1
  236. package/dist/prometheus-framework/src/modules/gallery/components/sections/GalleryWithCategories.vue.cjs +1 -1
  237. package/dist/prometheus-framework/src/modules/gallery/components/sections/GalleryWithCategories.vue.js +2 -2
  238. package/dist/prometheus-framework/src/modules/globals/components/blocks/CardHeader.vue.cjs +1 -1
  239. package/dist/prometheus-framework/src/modules/globals/components/blocks/CardHeader.vue.js +1 -1
  240. package/dist/prometheus-framework/src/modules/legal/components/pages/Legal.vue.cjs +1 -1
  241. package/dist/prometheus-framework/src/modules/legal/components/pages/Legal.vue.js +1 -1
  242. package/dist/prometheus-framework/src/modules/mobile/components/Menu/Menu.vue.cjs +1 -1
  243. package/dist/prometheus-framework/src/modules/mobile/components/Menu/Menu.vue.js +2 -11
  244. package/dist/prometheus-framework/src/modules/mobile/components/Menu/Menu.vue2.cjs +1 -1
  245. package/dist/prometheus-framework/src/modules/mobile/components/Menu/Menu.vue2.js +11 -2
  246. package/dist/prometheus-framework/src/modules/orders/components/sections/FormOrderDetails.vue.cjs +1 -1
  247. package/dist/prometheus-framework/src/modules/orders/components/sections/FormOrderDetails.vue.js +1 -1
  248. package/dist/prometheus-framework/src/modules/organizations/components/blocks/CardOrganization.vue.cjs +1 -1
  249. package/dist/prometheus-framework/src/modules/organizations/components/blocks/CardOrganization.vue.js +14 -14
  250. package/dist/prometheus-framework/src/modules/organizations/components/blocks/DepartmentMemberModify.vue.cjs +1 -1
  251. package/dist/prometheus-framework/src/modules/organizations/components/blocks/DepartmentMemberModify.vue.js +1 -1
  252. package/dist/prometheus-framework/src/modules/organizations/components/pages/DepartmentEdit.vue.cjs +1 -1
  253. package/dist/prometheus-framework/src/modules/organizations/components/pages/DepartmentEdit.vue.js +3 -3
  254. package/dist/prometheus-framework/src/modules/organizations/components/pages/Members.vue.cjs +1 -1
  255. package/dist/prometheus-framework/src/modules/organizations/components/pages/Members.vue.js +1 -1
  256. package/dist/prometheus-framework/src/modules/organizations/components/pages/Organization.vue.cjs +1 -1
  257. package/dist/prometheus-framework/src/modules/organizations/components/pages/Organization.vue.js +1 -1
  258. package/dist/prometheus-framework/src/modules/organizations/components/pages/OrganizationEdit.vue.cjs +1 -1
  259. package/dist/prometheus-framework/src/modules/organizations/components/pages/OrganizationEdit.vue.js +2 -2
  260. package/dist/prometheus-framework/src/modules/organizations/components/sections/DetailsTab.vue.cjs +1 -1
  261. package/dist/prometheus-framework/src/modules/organizations/components/sections/DetailsTab.vue.js +1 -1
  262. package/dist/prometheus-framework/src/modules/organizations/components/sections/Documents.vue.cjs +1 -1
  263. package/dist/prometheus-framework/src/modules/organizations/components/sections/Documents.vue.js +1 -1
  264. package/dist/prometheus-framework/src/modules/organizations/components/sections/MembersAdd.vue.cjs +1 -1
  265. package/dist/prometheus-framework/src/modules/organizations/components/sections/MembersAdd.vue.js +1 -1
  266. package/dist/prometheus-framework/src/modules/organizations/components/sections/Organizations.vue.cjs +1 -1
  267. package/dist/prometheus-framework/src/modules/organizations/components/sections/Organizations.vue.js +3 -3
  268. package/dist/prometheus-framework/src/modules/products/components/blocks/CardPosition.vue.cjs +1 -1
  269. package/dist/prometheus-framework/src/modules/products/components/blocks/CardPosition.vue.js +1 -1
  270. package/dist/prometheus-framework/src/modules/products/components/blocks/ImagesThumbnails.vue.cjs +1 -1
  271. package/dist/prometheus-framework/src/modules/products/components/blocks/ImagesThumbnails.vue.js +1 -1
  272. package/dist/prometheus-framework/src/modules/products/components/pages/EditLeftover.vue.cjs +1 -1
  273. package/dist/prometheus-framework/src/modules/products/components/pages/EditLeftover.vue.js +1 -1
  274. package/dist/prometheus-framework/src/modules/products/components/pages/ProductEdit.vue.cjs +1 -1
  275. package/dist/prometheus-framework/src/modules/products/components/pages/ProductEdit.vue.js +3 -3
  276. package/dist/prometheus-framework/src/modules/products/components/sections/EditProductInfo.vue.cjs +1 -1
  277. package/dist/prometheus-framework/src/modules/products/components/sections/EditProductInfo.vue.js +1 -1
  278. package/dist/prometheus-framework/src/modules/products/components/sections/FilterProducts.vue.cjs +1 -1
  279. package/dist/prometheus-framework/src/modules/products/components/sections/FilterProducts.vue.js +1 -1
  280. package/dist/prometheus-framework/src/modules/reports/components/sections/FormReport.vue.cjs +1 -1
  281. package/dist/prometheus-framework/src/modules/reports/components/sections/FormReport.vue.js +2 -2
  282. package/dist/prometheus-framework/src/modules/users/components/pages/Profile.vue.cjs +1 -1
  283. package/dist/prometheus-framework/src/modules/users/components/pages/Profile.vue.js +58 -55
  284. package/dist/prometheus-framework/src/modules/wallet/components/pages/Wallet.vue.cjs +1 -1
  285. package/dist/prometheus-framework/src/modules/wallet/components/pages/Wallet.vue.js +3 -3
  286. package/dist/prometheus-framework.cjs.js +19 -19
  287. package/dist/prometheus-framework.es.js +390 -376
  288. package/dist/style.css +1 -1
  289. package/package.json +1 -1
  290. package/src/modules/events/components/pages/EditEvent.vue +20 -5
  291. package/src/modules/events/components/pages/Event.vue +5 -2
  292. package/src/modules/events/components/sections/SectionPreviousEvents.vue +1 -1
  293. package/src/modules/events/models/event.model.js +2 -1
  294. package/src/modules/marketplace/components/pages/Catalog.vue +1 -0
  295. package/src/modules/organizations/components/blocks/CardOrganization.vue +1 -1
  296. package/src/modules/users/components/pages/Profile.vue +1 -1
@@ -0,0 +1,337 @@
1
+ /*! Capacitor: https://capacitorjs.com/ - MIT License */
2
+ const Y = (n) => {
3
+ const e = /* @__PURE__ */ new Map();
4
+ e.set("web", { name: "web" });
5
+ const t = n.CapacitorPlatforms || {
6
+ currentPlatform: { name: "web" },
7
+ platforms: e
8
+ }, r = (o, a) => {
9
+ t.platforms.set(o, a);
10
+ }, s = (o) => {
11
+ t.platforms.has(o) && (t.currentPlatform = t.platforms.get(o));
12
+ };
13
+ return t.addPlatform = r, t.setPlatform = s, t;
14
+ }, Z = (n) => n.CapacitorPlatforms = Y(n), W = /* @__PURE__ */ Z(typeof globalThis < "u" ? globalThis : typeof self < "u" ? self : typeof window < "u" ? window : typeof global < "u" ? global : {});
15
+ W.addPlatform;
16
+ W.setPlatform;
17
+ var L;
18
+ (function(n) {
19
+ n.Unimplemented = "UNIMPLEMENTED", n.Unavailable = "UNAVAILABLE";
20
+ })(L || (L = {}));
21
+ class A extends Error {
22
+ constructor(e, t, r) {
23
+ super(e), this.message = e, this.code = t, this.data = r;
24
+ }
25
+ }
26
+ const ee = (n) => {
27
+ var e, t;
28
+ return n != null && n.androidBridge ? "android" : !((t = (e = n == null ? void 0 : n.webkit) === null || e === void 0 ? void 0 : e.messageHandlers) === null || t === void 0) && t.bridge ? "ios" : "web";
29
+ }, te = (n) => {
30
+ var e, t, r, s, o;
31
+ const a = n.CapacitorCustomPlatform || null, i = n.Capacitor || {}, f = i.Plugins = i.Plugins || {}, p = n.CapacitorPlatforms, E = () => a !== null ? a.name : ee(n), y = ((e = p == null ? void 0 : p.currentPlatform) === null || e === void 0 ? void 0 : e.getPlatform) || E, O = () => y() !== "web", H = ((t = p == null ? void 0 : p.currentPlatform) === null || t === void 0 ? void 0 : t.isNativePlatform) || O, M = (l) => {
32
+ const c = k.get(l);
33
+ return !!(c != null && c.platforms.has(y()) || S(l));
34
+ }, B = ((r = p == null ? void 0 : p.currentPlatform) === null || r === void 0 ? void 0 : r.isPluginAvailable) || M, G = (l) => {
35
+ var c;
36
+ return (c = i.PluginHeaders) === null || c === void 0 ? void 0 : c.find((P) => P.name === l);
37
+ }, S = ((s = p == null ? void 0 : p.currentPlatform) === null || s === void 0 ? void 0 : s.getPluginHeader) || G, J = (l) => n.console.error(l), K = (l, c, P) => Promise.reject(`${P} does not have an implementation of "${c}".`), k = /* @__PURE__ */ new Map(), _ = (l, c = {}) => {
38
+ const P = k.get(l);
39
+ if (P)
40
+ return console.warn(`Capacitor plugin "${l}" already registered. Cannot register plugins twice.`), P.proxy;
41
+ const b = y(), C = S(l);
42
+ let h;
43
+ const z = async () => (!h && b in c ? h = typeof c[b] == "function" ? h = await c[b]() : h = c[b] : a !== null && !h && "web" in c && (h = typeof c.web == "function" ? h = await c.web() : h = c.web), h), Q = (d, u) => {
44
+ var w, g;
45
+ if (C) {
46
+ const v = C == null ? void 0 : C.methods.find((m) => u === m.name);
47
+ if (v)
48
+ return v.rtype === "promise" ? (m) => i.nativePromise(l, u.toString(), m) : (m, j) => i.nativeCallback(l, u.toString(), m, j);
49
+ if (d)
50
+ return (w = d[u]) === null || w === void 0 ? void 0 : w.bind(d);
51
+ } else {
52
+ if (d)
53
+ return (g = d[u]) === null || g === void 0 ? void 0 : g.bind(d);
54
+ throw new A(`"${l}" plugin is not implemented on ${b}`, L.Unimplemented);
55
+ }
56
+ }, x = (d) => {
57
+ let u;
58
+ const w = (...g) => {
59
+ const v = z().then((m) => {
60
+ const j = Q(m, d);
61
+ if (j) {
62
+ const N = j(...g);
63
+ return u = N == null ? void 0 : N.remove, N;
64
+ } else
65
+ throw new A(`"${l}.${d}()" is not implemented on ${b}`, L.Unimplemented);
66
+ });
67
+ return d === "addListener" && (v.remove = async () => u()), v;
68
+ };
69
+ return w.toString = () => `${d.toString()}() { [capacitor code] }`, Object.defineProperty(w, "name", {
70
+ value: d,
71
+ writable: !1,
72
+ configurable: !1
73
+ }), w;
74
+ }, T = x("addListener"), I = x("removeListener"), X = (d, u) => {
75
+ const w = T({ eventName: d }, u), g = async () => {
76
+ const m = await w;
77
+ I({
78
+ eventName: d,
79
+ callbackId: m
80
+ }, u);
81
+ }, v = new Promise((m) => w.then(() => m({ remove: g })));
82
+ return v.remove = async () => {
83
+ console.warn("Using addListener() without 'await' is deprecated."), await g();
84
+ }, v;
85
+ }, U = new Proxy({}, {
86
+ get(d, u) {
87
+ switch (u) {
88
+ case "$$typeof":
89
+ return;
90
+ case "toJSON":
91
+ return () => ({});
92
+ case "addListener":
93
+ return C ? X : T;
94
+ case "removeListener":
95
+ return I;
96
+ default:
97
+ return x(u);
98
+ }
99
+ }
100
+ });
101
+ return f[l] = U, k.set(l, {
102
+ name: l,
103
+ proxy: U,
104
+ platforms: /* @__PURE__ */ new Set([
105
+ ...Object.keys(c),
106
+ ...C ? [b] : []
107
+ ])
108
+ }), U;
109
+ }, V = ((o = p == null ? void 0 : p.currentPlatform) === null || o === void 0 ? void 0 : o.registerPlugin) || _;
110
+ return i.convertFileSrc || (i.convertFileSrc = (l) => l), i.getPlatform = y, i.handleError = J, i.isNativePlatform = H, i.isPluginAvailable = B, i.pluginMethodNoop = K, i.registerPlugin = V, i.Exception = A, i.DEBUG = !!i.DEBUG, i.isLoggingEnabled = !!i.isLoggingEnabled, i.platform = i.getPlatform(), i.isNative = i.isNativePlatform(), i;
111
+ }, ne = (n) => n.Capacitor = te(n), $ = /* @__PURE__ */ ne(typeof globalThis < "u" ? globalThis : typeof self < "u" ? self : typeof window < "u" ? window : typeof global < "u" ? global : {}), q = $.registerPlugin;
112
+ $.Plugins;
113
+ class F {
114
+ constructor(e) {
115
+ this.listeners = {}, this.windowListeners = {}, e && (console.warn(`Capacitor WebPlugin "${e.name}" config object was deprecated in v3 and will be removed in v4.`), this.config = e);
116
+ }
117
+ addListener(e, t) {
118
+ this.listeners[e] || (this.listeners[e] = []), this.listeners[e].push(t);
119
+ const r = this.windowListeners[e];
120
+ r && !r.registered && this.addWindowListener(r);
121
+ const s = async () => this.removeListener(e, t), o = Promise.resolve({ remove: s });
122
+ return Object.defineProperty(o, "remove", {
123
+ value: async () => {
124
+ console.warn("Using addListener() without 'await' is deprecated."), await s();
125
+ }
126
+ }), o;
127
+ }
128
+ async removeAllListeners() {
129
+ this.listeners = {};
130
+ for (const e in this.windowListeners)
131
+ this.removeWindowListener(this.windowListeners[e]);
132
+ this.windowListeners = {};
133
+ }
134
+ notifyListeners(e, t) {
135
+ const r = this.listeners[e];
136
+ r && r.forEach((s) => s(t));
137
+ }
138
+ hasListeners(e) {
139
+ return !!this.listeners[e].length;
140
+ }
141
+ registerWindowListener(e, t) {
142
+ this.windowListeners[t] = {
143
+ registered: !1,
144
+ windowEventName: e,
145
+ pluginEventName: t,
146
+ handler: (r) => {
147
+ this.notifyListeners(t, r);
148
+ }
149
+ };
150
+ }
151
+ unimplemented(e = "not implemented") {
152
+ return new $.Exception(e, L.Unimplemented);
153
+ }
154
+ unavailable(e = "not available") {
155
+ return new $.Exception(e, L.Unavailable);
156
+ }
157
+ async removeListener(e, t) {
158
+ const r = this.listeners[e];
159
+ if (!r)
160
+ return;
161
+ const s = r.indexOf(t);
162
+ this.listeners[e].splice(s, 1), this.listeners[e].length || this.removeWindowListener(this.windowListeners[e]);
163
+ }
164
+ addWindowListener(e) {
165
+ window.addEventListener(e.windowEventName, e.handler), e.registered = !0;
166
+ }
167
+ removeWindowListener(e) {
168
+ e && (window.removeEventListener(e.windowEventName, e.handler), e.registered = !1);
169
+ }
170
+ }
171
+ const R = (n) => encodeURIComponent(n).replace(/%(2[346B]|5E|60|7C)/g, decodeURIComponent).replace(/[()]/g, escape), D = (n) => n.replace(/(%[\dA-F]{2})+/gi, decodeURIComponent);
172
+ class re extends F {
173
+ async getCookies() {
174
+ const e = document.cookie, t = {};
175
+ return e.split(";").forEach((r) => {
176
+ if (r.length <= 0)
177
+ return;
178
+ let [s, o] = r.replace(/=/, "CAP_COOKIE").split("CAP_COOKIE");
179
+ s = D(s).trim(), o = D(o).trim(), t[s] = o;
180
+ }), t;
181
+ }
182
+ async setCookie(e) {
183
+ try {
184
+ const t = R(e.key), r = R(e.value), s = `; expires=${(e.expires || "").replace("expires=", "")}`, o = (e.path || "/").replace("path=", ""), a = e.url != null && e.url.length > 0 ? `domain=${e.url}` : "";
185
+ document.cookie = `${t}=${r || ""}${s}; path=${o}; ${a};`;
186
+ } catch (t) {
187
+ return Promise.reject(t);
188
+ }
189
+ }
190
+ async deleteCookie(e) {
191
+ try {
192
+ document.cookie = `${e.key}=; Max-Age=0`;
193
+ } catch (t) {
194
+ return Promise.reject(t);
195
+ }
196
+ }
197
+ async clearCookies() {
198
+ try {
199
+ const e = document.cookie.split(";") || [];
200
+ for (const t of e)
201
+ document.cookie = t.replace(/^ +/, "").replace(/=.*/, `=;expires=${(/* @__PURE__ */ new Date()).toUTCString()};path=/`);
202
+ } catch (e) {
203
+ return Promise.reject(e);
204
+ }
205
+ }
206
+ async clearAllCookies() {
207
+ try {
208
+ await this.clearCookies();
209
+ } catch (e) {
210
+ return Promise.reject(e);
211
+ }
212
+ }
213
+ }
214
+ q("CapacitorCookies", {
215
+ web: () => new re()
216
+ });
217
+ const se = async (n) => new Promise((e, t) => {
218
+ const r = new FileReader();
219
+ r.onload = () => {
220
+ const s = r.result;
221
+ e(s.indexOf(",") >= 0 ? s.split(",")[1] : s);
222
+ }, r.onerror = (s) => t(s), r.readAsDataURL(n);
223
+ }), oe = (n = {}) => {
224
+ const e = Object.keys(n);
225
+ return Object.keys(n).map((t) => t.toLocaleLowerCase()).reduce((t, r, s) => (t[r] = n[e[s]], t), {});
226
+ }, ie = (n, e = !0) => n ? Object.entries(n).reduce((t, r) => {
227
+ const [s, o] = r;
228
+ let a, i;
229
+ return Array.isArray(o) ? (i = "", o.forEach((f) => {
230
+ a = e ? encodeURIComponent(f) : f, i += `${s}=${a}&`;
231
+ }), i.slice(0, -1)) : (a = e ? encodeURIComponent(o) : o, i = `${s}=${a}`), `${t}&${i}`;
232
+ }, "").substr(1) : null, ae = (n, e = {}) => {
233
+ const t = Object.assign({ method: n.method || "GET", headers: n.headers }, e), r = oe(n.headers)["content-type"] || "";
234
+ if (typeof n.data == "string")
235
+ t.body = n.data;
236
+ else if (r.includes("application/x-www-form-urlencoded")) {
237
+ const s = new URLSearchParams();
238
+ for (const [o, a] of Object.entries(n.data || {}))
239
+ s.set(o, a);
240
+ t.body = s.toString();
241
+ } else if (r.includes("multipart/form-data")) {
242
+ const s = new FormData();
243
+ if (n.data instanceof FormData)
244
+ n.data.forEach((a, i) => {
245
+ s.append(i, a);
246
+ });
247
+ else
248
+ for (const a of Object.keys(n.data))
249
+ s.append(a, n.data[a]);
250
+ t.body = s;
251
+ const o = new Headers(t.headers);
252
+ o.delete("content-type"), t.headers = o;
253
+ } else
254
+ (r.includes("application/json") || typeof n.data == "object") && (t.body = JSON.stringify(n.data));
255
+ return t;
256
+ };
257
+ class le extends F {
258
+ /**
259
+ * Perform an Http request given a set of options
260
+ * @param options Options to build the HTTP request
261
+ */
262
+ async request(e) {
263
+ const t = ae(e, e.webFetchExtra), r = ie(e.params, e.shouldEncodeUrlParams), s = r ? `${e.url}?${r}` : e.url, o = await fetch(s, t), a = o.headers.get("content-type") || "";
264
+ let { responseType: i = "text" } = o.ok ? e : {};
265
+ a.includes("application/json") && (i = "json");
266
+ let f, p;
267
+ switch (i) {
268
+ case "arraybuffer":
269
+ case "blob":
270
+ p = await o.blob(), f = await se(p);
271
+ break;
272
+ case "json":
273
+ f = await o.json();
274
+ break;
275
+ case "document":
276
+ case "text":
277
+ default:
278
+ f = await o.text();
279
+ }
280
+ const E = {};
281
+ return o.headers.forEach((y, O) => {
282
+ E[O] = y;
283
+ }), {
284
+ data: f,
285
+ headers: E,
286
+ status: o.status,
287
+ url: o.url
288
+ };
289
+ }
290
+ /**
291
+ * Perform an Http GET request given a set of options
292
+ * @param options Options to build the HTTP request
293
+ */
294
+ async get(e) {
295
+ return this.request(Object.assign(Object.assign({}, e), { method: "GET" }));
296
+ }
297
+ /**
298
+ * Perform an Http POST request given a set of options
299
+ * @param options Options to build the HTTP request
300
+ */
301
+ async post(e) {
302
+ return this.request(Object.assign(Object.assign({}, e), { method: "POST" }));
303
+ }
304
+ /**
305
+ * Perform an Http PUT request given a set of options
306
+ * @param options Options to build the HTTP request
307
+ */
308
+ async put(e) {
309
+ return this.request(Object.assign(Object.assign({}, e), { method: "PUT" }));
310
+ }
311
+ /**
312
+ * Perform an Http PATCH request given a set of options
313
+ * @param options Options to build the HTTP request
314
+ */
315
+ async patch(e) {
316
+ return this.request(Object.assign(Object.assign({}, e), { method: "PATCH" }));
317
+ }
318
+ /**
319
+ * Perform an Http DELETE request given a set of options
320
+ * @param options Options to build the HTTP request
321
+ */
322
+ async delete(e) {
323
+ return this.request(Object.assign(Object.assign({}, e), { method: "DELETE" }));
324
+ }
325
+ }
326
+ q("CapacitorHttp", {
327
+ web: () => new le()
328
+ });
329
+ export {
330
+ $ as Capacitor,
331
+ A as CapacitorException,
332
+ W as CapacitorPlatforms,
333
+ L as ExceptionCode,
334
+ F as WebPlugin,
335
+ ae as buildRequestInit,
336
+ q as registerPlugin
337
+ };
@@ -0,0 +1 @@
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const r=require("../../../core/dist/index.cjs"),n=r.registerPlugin("Preferences",{web:()=>Promise.resolve().then(()=>require("./web.cjs")).then(e=>new e.PreferencesWeb)});exports.Preferences=n;
@@ -0,0 +1,7 @@
1
+ import { registerPlugin as r } from "../../../core/dist/index.js";
2
+ const s = r("Preferences", {
3
+ web: () => import("./web.js").then((e) => new e.PreferencesWeb())
4
+ });
5
+ export {
6
+ s as Preferences
7
+ };
@@ -0,0 +1 @@
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const l=require("../../../core/dist/index.cjs");class c extends l.WebPlugin{constructor(){super(...arguments),this.group="CapacitorStorage"}async configure({group:e}){typeof e=="string"&&(this.group=e)}async get(e){return{value:this.impl.getItem(this.applyPrefix(e.key))}}async set(e){this.impl.setItem(this.applyPrefix(e.key),e.value)}async remove(e){this.impl.removeItem(this.applyPrefix(e.key))}async keys(){return{keys:this.rawKeys().map(e=>e.substring(this.prefix.length))}}async clear(){for(const e of this.rawKeys())this.impl.removeItem(e)}async migrate(){var e;const i=[],t=[],n="_cap_",a=Object.keys(this.impl).filter(s=>s.indexOf(n)===0);for(const s of a){const r=s.substring(n.length),o=(e=this.impl.getItem(s))!==null&&e!==void 0?e:"",{value:p}=await this.get({key:r});typeof p=="string"?t.push(r):(await this.set({key:r,value:o}),i.push(r))}return{migrated:i,existing:t}}async removeOld(){const e="_cap_",i=Object.keys(this.impl).filter(t=>t.indexOf(e)===0);for(const t of i)this.impl.removeItem(t)}get impl(){return window.localStorage}get prefix(){return this.group==="NativeStorage"?"":`${this.group}.`}rawKeys(){return Object.keys(this.impl).filter(e=>e.indexOf(this.prefix)===0)}applyPrefix(e){return this.prefix+e}}exports.PreferencesWeb=c;
@@ -0,0 +1,54 @@
1
+ import { WebPlugin as l } from "../../../core/dist/index.js";
2
+ class m extends l {
3
+ constructor() {
4
+ super(...arguments), this.group = "CapacitorStorage";
5
+ }
6
+ async configure({ group: e }) {
7
+ typeof e == "string" && (this.group = e);
8
+ }
9
+ async get(e) {
10
+ return { value: this.impl.getItem(this.applyPrefix(e.key)) };
11
+ }
12
+ async set(e) {
13
+ this.impl.setItem(this.applyPrefix(e.key), e.value);
14
+ }
15
+ async remove(e) {
16
+ this.impl.removeItem(this.applyPrefix(e.key));
17
+ }
18
+ async keys() {
19
+ return { keys: this.rawKeys().map((e) => e.substring(this.prefix.length)) };
20
+ }
21
+ async clear() {
22
+ for (const e of this.rawKeys())
23
+ this.impl.removeItem(e);
24
+ }
25
+ async migrate() {
26
+ var e;
27
+ const s = [], t = [], a = "_cap_", n = Object.keys(this.impl).filter((i) => i.indexOf(a) === 0);
28
+ for (const i of n) {
29
+ const r = i.substring(a.length), o = (e = this.impl.getItem(i)) !== null && e !== void 0 ? e : "", { value: p } = await this.get({ key: r });
30
+ typeof p == "string" ? t.push(r) : (await this.set({ key: r, value: o }), s.push(r));
31
+ }
32
+ return { migrated: s, existing: t };
33
+ }
34
+ async removeOld() {
35
+ const e = "_cap_", s = Object.keys(this.impl).filter((t) => t.indexOf(e) === 0);
36
+ for (const t of s)
37
+ this.impl.removeItem(t);
38
+ }
39
+ get impl() {
40
+ return window.localStorage;
41
+ }
42
+ get prefix() {
43
+ return this.group === "NativeStorage" ? "" : `${this.group}.`;
44
+ }
45
+ rawKeys() {
46
+ return Object.keys(this.impl).filter((e) => e.indexOf(this.prefix) === 0);
47
+ }
48
+ applyPrefix(e) {
49
+ return this.prefix + e;
50
+ }
51
+ }
52
+ export {
53
+ m as PreferencesWeb
54
+ };
@@ -0,0 +1,3 @@
1
+ "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const s=require("../utils.cjs"),p=require("../helpers/null.cjs"),h=require("./xhr.cjs"),u=require("../core/AxiosError.cjs"),o={http:p.default,xhr:h.default};s.default.forEach(o,(e,a)=>{if(e){try{Object.defineProperty(e,"name",{value:a})}catch{}Object.defineProperty(e,"adapterName",{value:a})}});const d=e=>`- ${e}`,b=e=>s.default.isFunction(e)||e===null||e===!1,v={getAdapter:e=>{e=s.default.isArray(e)?e:[e];const{length:a}=e;let i,r;const l={};for(let t=0;t<a;t++){i=e[t];let n;if(r=i,!b(i)&&(r=o[(n=String(i)).toLowerCase()],r===void 0))throw new u.default(`Unknown adapter '${n}'`);if(r)break;l[n||"#"+t]=r}if(!r){const t=Object.entries(l).map(([c,f])=>`adapter ${c} `+(f===!1?"is not supported by the environment":"is not available in the build"));let n=a?t.length>1?`since :
2
+ `+t.map(d).join(`
3
+ `):" "+d(t[0]):"as no adapter specified";throw new u.default("There is no suitable adapter to dispatch the request "+n,"ERR_NOT_SUPPORT")}return r},adapters:o};exports.default=v;
@@ -0,0 +1,51 @@
1
+ import p from "../utils.js";
2
+ import h from "../helpers/null.js";
3
+ import m from "./xhr.js";
4
+ import c from "../core/AxiosError.js";
5
+ const n = {
6
+ http: h,
7
+ xhr: m
8
+ };
9
+ p.forEach(n, (t, o) => {
10
+ if (t) {
11
+ try {
12
+ Object.defineProperty(t, "name", { value: o });
13
+ } catch {
14
+ }
15
+ Object.defineProperty(t, "adapterName", { value: o });
16
+ }
17
+ });
18
+ const d = (t) => `- ${t}`, u = (t) => p.isFunction(t) || t === null || t === !1, O = {
19
+ getAdapter: (t) => {
20
+ t = p.isArray(t) ? t : [t];
21
+ const { length: o } = t;
22
+ let i, r;
23
+ const s = {};
24
+ for (let e = 0; e < o; e++) {
25
+ i = t[e];
26
+ let a;
27
+ if (r = i, !u(i) && (r = n[(a = String(i)).toLowerCase()], r === void 0))
28
+ throw new c(`Unknown adapter '${a}'`);
29
+ if (r)
30
+ break;
31
+ s[a || "#" + e] = r;
32
+ }
33
+ if (!r) {
34
+ const e = Object.entries(s).map(
35
+ ([l, f]) => `adapter ${l} ` + (f === !1 ? "is not supported by the environment" : "is not available in the build")
36
+ );
37
+ let a = o ? e.length > 1 ? `since :
38
+ ` + e.map(d).join(`
39
+ `) : " " + d(e[0]) : "as no adapter specified";
40
+ throw new c(
41
+ "There is no suitable adapter to dispatch the request " + a,
42
+ "ERR_NOT_SUPPORT"
43
+ );
44
+ }
45
+ return r;
46
+ },
47
+ adapters: n
48
+ };
49
+ export {
50
+ O as default
51
+ };
@@ -0,0 +1 @@
1
+ "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const m=require("../utils.cjs"),q=require("../core/settle.cjs"),v=require("../helpers/cookies.cjs"),x=require("../helpers/buildURL.cjs"),y=require("../core/buildFullPath.cjs"),C=require("../helpers/isURLSameOrigin.cjs"),U=require("../defaults/transitional.cjs"),l=require("../core/AxiosError.cjs"),S=require("../cancel/CanceledError.cjs"),k=require("../helpers/parseProtocol.cjs"),E=require("../platform/index.cjs"),b=require("../core/AxiosHeaders.cjs"),L=require("../helpers/speedometer.cjs");function h(e,T){let a=0;const f=L.default(50,250);return r=>{const s=r.loaded,n=r.lengthComputable?r.total:void 0,u=s-a,d=f(u),c=s<=n;a=s;const t={loaded:s,total:n,progress:n?s/n:void 0,bytes:u,rate:d||void 0,estimated:d&&n&&c?(n-s)/d:void 0,event:r};t[T?"download":"upload"]=!0,e(t)}}const N=typeof XMLHttpRequest<"u",O=N&&function(e){return new Promise(function(T,a){let f=e.data;const r=b.default.from(e.headers).normalize();let{responseType:s,withXSRFToken:n}=e,u;function d(){e.cancelToken&&e.cancelToken.unsubscribe(u),e.signal&&e.signal.removeEventListener("abort",u)}let c;if(m.default.isFormData(f)){if(E.default.hasStandardBrowserEnv||E.default.hasStandardBrowserWebWorkerEnv)r.setContentType(!1);else if((c=r.getContentType())!==!1){const[o,...i]=c?c.split(";").map(p=>p.trim()).filter(Boolean):[];r.setContentType([o||"multipart/form-data",...i].join("; "))}}let t=new XMLHttpRequest;if(e.auth){const o=e.auth.username||"",i=e.auth.password?unescape(encodeURIComponent(e.auth.password)):"";r.set("Authorization","Basic "+btoa(o+":"+i))}const g=y.default(e.baseURL,e.url);t.open(e.method.toUpperCase(),x.default(g,e.params,e.paramsSerializer),!0),t.timeout=e.timeout;function w(){if(!t)return;const o=b.default.from("getAllResponseHeaders"in t&&t.getAllResponseHeaders()),i={data:!s||s==="text"||s==="json"?t.responseText:t.response,status:t.status,statusText:t.statusText,headers:o,config:e,request:t};q.default(function(p){T(p),d()},function(p){a(p),d()},i),t=null}if("onloadend"in t?t.onloadend=w:t.onreadystatechange=function(){!t||t.readyState!==4||t.status===0&&!(t.responseURL&&t.responseURL.indexOf("file:")===0)||setTimeout(w)},t.onabort=function(){t&&(a(new l.default("Request aborted",l.default.ECONNABORTED,e,t)),t=null)},t.onerror=function(){a(new l.default("Network Error",l.default.ERR_NETWORK,e,t)),t=null},t.ontimeout=function(){let o=e.timeout?"timeout of "+e.timeout+"ms exceeded":"timeout exceeded";const i=e.transitional||U.default;e.timeoutErrorMessage&&(o=e.timeoutErrorMessage),a(new l.default(o,i.clarifyTimeoutError?l.default.ETIMEDOUT:l.default.ECONNABORTED,e,t)),t=null},E.default.hasStandardBrowserEnv&&(n&&m.default.isFunction(n)&&(n=n(e)),n||n!==!1&&C.default(g))){const o=e.xsrfHeaderName&&e.xsrfCookieName&&v.default.read(e.xsrfCookieName);o&&r.set(e.xsrfHeaderName,o)}f===void 0&&r.setContentType(null),"setRequestHeader"in t&&m.default.forEach(r.toJSON(),function(o,i){t.setRequestHeader(i,o)}),m.default.isUndefined(e.withCredentials)||(t.withCredentials=!!e.withCredentials),s&&s!=="json"&&(t.responseType=e.responseType),typeof e.onDownloadProgress=="function"&&t.addEventListener("progress",h(e.onDownloadProgress,!0)),typeof e.onUploadProgress=="function"&&t.upload&&t.upload.addEventListener("progress",h(e.onUploadProgress)),(e.cancelToken||e.signal)&&(u=o=>{t&&(a(!o||o.type?new S.default(null,e,t):o),t.abort(),t=null)},e.cancelToken&&e.cancelToken.subscribe(u),e.signal&&(e.signal.aborted?u():e.signal.addEventListener("abort",u)));const R=k.default(g);if(R&&E.default.protocols.indexOf(R)===-1){a(new l.default("Unsupported protocol "+R+":",l.default.ERR_BAD_REQUEST,e));return}t.send(f||null)})};exports.default=O;
@@ -0,0 +1,109 @@
1
+ import c from "../utils.js";
2
+ import b from "../core/settle.js";
3
+ import v from "../helpers/cookies.js";
4
+ import x from "../helpers/buildURL.js";
5
+ import C from "../core/buildFullPath.js";
6
+ import k from "../helpers/isURLSameOrigin.js";
7
+ import N from "../defaults/transitional.js";
8
+ import l from "../core/AxiosError.js";
9
+ import U from "../cancel/CanceledError.js";
10
+ import H from "../helpers/parseProtocol.js";
11
+ import E from "../platform/index.js";
12
+ import h from "../core/AxiosHeaders.js";
13
+ import L from "../helpers/speedometer.js";
14
+ function y(t, T) {
15
+ let a = 0;
16
+ const u = L(50, 250);
17
+ return (r) => {
18
+ const s = r.loaded, n = r.lengthComputable ? r.total : void 0, i = s - a, p = u(i), m = s <= n;
19
+ a = s;
20
+ const o = {
21
+ loaded: s,
22
+ total: n,
23
+ progress: n ? s / n : void 0,
24
+ bytes: i,
25
+ rate: p || void 0,
26
+ estimated: p && n && m ? (n - s) / p : void 0,
27
+ event: r
28
+ };
29
+ o[T ? "download" : "upload"] = !0, t(o);
30
+ };
31
+ }
32
+ const O = typeof XMLHttpRequest < "u", _ = O && function(t) {
33
+ return new Promise(function(T, a) {
34
+ let u = t.data;
35
+ const r = h.from(t.headers).normalize();
36
+ let { responseType: s, withXSRFToken: n } = t, i;
37
+ function p() {
38
+ t.cancelToken && t.cancelToken.unsubscribe(i), t.signal && t.signal.removeEventListener("abort", i);
39
+ }
40
+ let m;
41
+ if (c.isFormData(u)) {
42
+ if (E.hasStandardBrowserEnv || E.hasStandardBrowserWebWorkerEnv)
43
+ r.setContentType(!1);
44
+ else if ((m = r.getContentType()) !== !1) {
45
+ const [e, ...d] = m ? m.split(";").map((f) => f.trim()).filter(Boolean) : [];
46
+ r.setContentType([e || "multipart/form-data", ...d].join("; "));
47
+ }
48
+ }
49
+ let o = new XMLHttpRequest();
50
+ if (t.auth) {
51
+ const e = t.auth.username || "", d = t.auth.password ? unescape(encodeURIComponent(t.auth.password)) : "";
52
+ r.set("Authorization", "Basic " + btoa(e + ":" + d));
53
+ }
54
+ const g = C(t.baseURL, t.url);
55
+ o.open(t.method.toUpperCase(), x(g, t.params, t.paramsSerializer), !0), o.timeout = t.timeout;
56
+ function R() {
57
+ if (!o)
58
+ return;
59
+ const e = h.from(
60
+ "getAllResponseHeaders" in o && o.getAllResponseHeaders()
61
+ ), d = {
62
+ data: !s || s === "text" || s === "json" ? o.responseText : o.response,
63
+ status: o.status,
64
+ statusText: o.statusText,
65
+ headers: e,
66
+ config: t,
67
+ request: o
68
+ };
69
+ b(function(f) {
70
+ T(f), p();
71
+ }, function(f) {
72
+ a(f), p();
73
+ }, d), o = null;
74
+ }
75
+ if ("onloadend" in o ? o.onloadend = R : o.onreadystatechange = function() {
76
+ !o || o.readyState !== 4 || o.status === 0 && !(o.responseURL && o.responseURL.indexOf("file:") === 0) || setTimeout(R);
77
+ }, o.onabort = function() {
78
+ o && (a(new l("Request aborted", l.ECONNABORTED, t, o)), o = null);
79
+ }, o.onerror = function() {
80
+ a(new l("Network Error", l.ERR_NETWORK, t, o)), o = null;
81
+ }, o.ontimeout = function() {
82
+ let e = t.timeout ? "timeout of " + t.timeout + "ms exceeded" : "timeout exceeded";
83
+ const d = t.transitional || N;
84
+ t.timeoutErrorMessage && (e = t.timeoutErrorMessage), a(new l(
85
+ e,
86
+ d.clarifyTimeoutError ? l.ETIMEDOUT : l.ECONNABORTED,
87
+ t,
88
+ o
89
+ )), o = null;
90
+ }, E.hasStandardBrowserEnv && (n && c.isFunction(n) && (n = n(t)), n || n !== !1 && k(g))) {
91
+ const e = t.xsrfHeaderName && t.xsrfCookieName && v.read(t.xsrfCookieName);
92
+ e && r.set(t.xsrfHeaderName, e);
93
+ }
94
+ u === void 0 && r.setContentType(null), "setRequestHeader" in o && c.forEach(r.toJSON(), function(e, d) {
95
+ o.setRequestHeader(d, e);
96
+ }), c.isUndefined(t.withCredentials) || (o.withCredentials = !!t.withCredentials), s && s !== "json" && (o.responseType = t.responseType), typeof t.onDownloadProgress == "function" && o.addEventListener("progress", y(t.onDownloadProgress, !0)), typeof t.onUploadProgress == "function" && o.upload && o.upload.addEventListener("progress", y(t.onUploadProgress)), (t.cancelToken || t.signal) && (i = (e) => {
97
+ o && (a(!e || e.type ? new U(null, t, o) : e), o.abort(), o = null);
98
+ }, t.cancelToken && t.cancelToken.subscribe(i), t.signal && (t.signal.aborted ? i() : t.signal.addEventListener("abort", i)));
99
+ const w = H(g);
100
+ if (w && E.protocols.indexOf(w) === -1) {
101
+ a(new l("Unsupported protocol " + w + ":", l.ERR_BAD_REQUEST, t));
102
+ return;
103
+ }
104
+ o.send(u || null);
105
+ });
106
+ };
107
+ export {
108
+ _ as default
109
+ };
@@ -0,0 +1 @@
1
+ "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const u=require("./utils.cjs"),d=require("./helpers/bind.cjs"),o=require("./core/Axios.cjs"),n=require("./core/mergeConfig.cjs"),i=require("./defaults/index.cjs"),c=require("./helpers/formDataToJSON.cjs"),f=require("./cancel/CanceledError.cjs"),q=require("./cancel/CancelToken.cjs"),p=require("./cancel/isCancel.cjs"),C=require("./env/data.cjs"),x=require("./helpers/toFormData.cjs"),m=require("./core/AxiosError.cjs"),A=require("./helpers/spread.cjs"),E=require("./helpers/isAxiosError.cjs"),g=require("./core/AxiosHeaders.cjs"),S=require("./adapters/adapters.cjs"),O=require("./helpers/HttpStatusCode.cjs");function s(r){const a=new o.default(r),t=d.default(o.default.prototype.request,a);return u.default.extend(t,o.default.prototype,a,{allOwnKeys:!0}),u.default.extend(t,a,null,{allOwnKeys:!0}),t.create=function(l){return s(n.default(r,l))},t}const e=s(i.default);e.Axios=o.default;e.CanceledError=f.default;e.CancelToken=q.default;e.isCancel=p.default;e.VERSION=C.VERSION;e.toFormData=x.default;e.AxiosError=m.default;e.Cancel=e.CanceledError;e.all=function(r){return Promise.all(r)};e.spread=A.default;e.isAxiosError=E.default;e.mergeConfig=n.default;e.AxiosHeaders=g.default;e.formToJSON=r=>c.default(u.default.isHTMLForm(r)?new FormData(r):r);e.getAdapter=S.default.getAdapter;e.HttpStatusCode=O.default;e.default=e;const T=e;exports.default=T;
@@ -0,0 +1,47 @@
1
+ import i from "./utils.js";
2
+ import f from "./helpers/bind.js";
3
+ import e from "./core/Axios.js";
4
+ import n from "./core/mergeConfig.js";
5
+ import s from "./defaults/index.js";
6
+ import l from "./helpers/formDataToJSON.js";
7
+ import u from "./cancel/CanceledError.js";
8
+ import c from "./cancel/CancelToken.js";
9
+ import d from "./cancel/isCancel.js";
10
+ import { VERSION as C } from "./env/data.js";
11
+ import x from "./helpers/toFormData.js";
12
+ import A from "./core/AxiosError.js";
13
+ import E from "./helpers/spread.js";
14
+ import O from "./helpers/isAxiosError.js";
15
+ import g from "./core/AxiosHeaders.js";
16
+ import w from "./adapters/adapters.js";
17
+ import y from "./helpers/HttpStatusCode.js";
18
+ function p(o) {
19
+ const m = new e(o), t = f(e.prototype.request, m);
20
+ return i.extend(t, e.prototype, m, { allOwnKeys: !0 }), i.extend(t, m, null, { allOwnKeys: !0 }), t.create = function(a) {
21
+ return p(n(o, a));
22
+ }, t;
23
+ }
24
+ const r = p(s);
25
+ r.Axios = e;
26
+ r.CanceledError = u;
27
+ r.CancelToken = c;
28
+ r.isCancel = d;
29
+ r.VERSION = C;
30
+ r.toFormData = x;
31
+ r.AxiosError = A;
32
+ r.Cancel = r.CanceledError;
33
+ r.all = function(o) {
34
+ return Promise.all(o);
35
+ };
36
+ r.spread = E;
37
+ r.isAxiosError = O;
38
+ r.mergeConfig = n;
39
+ r.AxiosHeaders = g;
40
+ r.formToJSON = (o) => l(i.isHTMLForm(o) ? new FormData(o) : o);
41
+ r.getAdapter = w.getAdapter;
42
+ r.HttpStatusCode = y;
43
+ r.default = r;
44
+ const M = r;
45
+ export {
46
+ M as default
47
+ };
@@ -0,0 +1 @@
1
+ "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const c=require("./CanceledError.cjs");class o{constructor(e){if(typeof e!="function")throw new TypeError("executor must be a function.");let t;this.promise=new Promise(function(n){t=n});const s=this;this.promise.then(n=>{if(!s._listeners)return;let r=s._listeners.length;for(;r-- >0;)s._listeners[r](n);s._listeners=null}),this.promise.then=n=>{let r;const i=new Promise(u=>{s.subscribe(u),r=u}).then(n);return i.cancel=function(){s.unsubscribe(r)},i},e(function(n,r,i){s.reason||(s.reason=new c.default(n,r,i),t(s.reason))})}throwIfRequested(){if(this.reason)throw this.reason}subscribe(e){if(this.reason){e(this.reason);return}this._listeners?this._listeners.push(e):this._listeners=[e]}unsubscribe(e){if(!this._listeners)return;const t=this._listeners.indexOf(e);t!==-1&&this._listeners.splice(t,1)}static source(){let e;return{token:new o(function(t){e=t}),cancel:e}}}const l=o;exports.default=l;